18:11:57 Started by timer 18:11:57 Running as SYSTEM 18:11:57 [EnvInject] - Loading node environment variables. 18:11:57 Building remotely on prd-ubuntu1804-docker-8c-8g-20796 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:11:57 [ssh-agent] Looking for ssh-agent implementation... 18:11:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:57 $ ssh-agent 18:11:57 SSH_AUTH_SOCK=/tmp/ssh-ilu77smQtWCx/agent.2056 18:11:57 SSH_AGENT_PID=2058 18:11:57 [ssh-agent] Started. 18:11:57 Running ssh-add (command line suppressed) 18:11:57 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_4721843966961027626.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_4721843966961027626.key) 18:11:57 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:11:57 The recommended git tool is: NONE 18:11:59 using credential onap-jenkins-ssh 18:11:59 Wiping out workspace first. 18:11:59 Cloning the remote Git repository 18:11:59 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:11:59 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:11:59 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:11:59 > git --version # timeout=10 18:11:59 > git --version # 'git version 2.17.1' 18:11:59 using GIT_SSH to set credentials Gerrit user 18:11:59 Verifying host key using manually-configured host key entries 18:11:59 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:11:59 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:11:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:00 Avoid second fetch 18:12:00 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:12:00 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:12:00 > git config core.sparsecheckout # timeout=10 18:12:00 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:12:00 Commit message: "Set Montreal default branch" 18:12:00 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:12:00 provisioning config files... 18:12:00 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:12:00 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:12:00 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9150172259116115917.sh 18:12:00 ---> python-tools-install.sh 18:12:00 Setup pyenv: 18:12:00 * system (set by /opt/pyenv/version) 18:12:00 * 3.8.13 (set by /opt/pyenv/version) 18:12:00 * 3.9.13 (set by /opt/pyenv/version) 18:12:00 * 3.10.6 (set by /opt/pyenv/version) 18:12:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FI8O 18:12:05 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:08 lf-activate-venv(): INFO: Installing: lftools 18:12:45 lf-activate-venv(): INFO: Adding /tmp/venv-FI8O/bin to PATH 18:12:45 Generating Requirements File 18:13:13 Python 3.10.6 18:13:13 pip 24.0 from /tmp/venv-FI8O/lib/python3.10/site-packages/pip (python 3.10) 18:13:14 appdirs==1.4.4 18:13:14 argcomplete==3.2.3 18:13:14 aspy.yaml==1.3.0 18:13:14 attrs==23.2.0 18:13:14 autopage==0.5.2 18:13:14 beautifulsoup4==4.12.3 18:13:14 boto3==1.34.78 18:13:14 botocore==1.34.78 18:13:14 bs4==0.0.2 18:13:14 cachetools==5.3.3 18:13:14 certifi==2024.2.2 18:13:14 cffi==1.16.0 18:13:14 cfgv==3.4.0 18:13:14 chardet==5.2.0 18:13:14 charset-normalizer==3.3.2 18:13:14 click==8.1.7 18:13:14 cliff==4.6.0 18:13:14 cmd2==2.4.3 18:13:14 cryptography==3.3.2 18:13:14 debtcollector==3.0.0 18:13:14 decorator==5.1.1 18:13:14 defusedxml==0.7.1 18:13:14 Deprecated==1.2.14 18:13:14 distlib==0.3.8 18:13:14 dnspython==2.6.1 18:13:14 docker==4.2.2 18:13:14 dogpile.cache==1.3.2 18:13:14 email_validator==2.1.1 18:13:14 filelock==3.13.3 18:13:14 future==1.0.0 18:13:14 gitdb==4.0.11 18:13:14 GitPython==3.1.43 18:13:14 google-auth==2.29.0 18:13:14 httplib2==0.22.0 18:13:14 identify==2.5.35 18:13:14 idna==3.6 18:13:14 importlib-resources==1.5.0 18:13:14 iso8601==2.1.0 18:13:14 Jinja2==3.1.3 18:13:14 jmespath==1.0.1 18:13:14 jsonpatch==1.33 18:13:14 jsonpointer==2.4 18:13:14 jsonschema==4.21.1 18:13:14 jsonschema-specifications==2023.12.1 18:13:14 keystoneauth1==5.6.0 18:13:14 kubernetes==29.0.0 18:13:14 lftools==0.37.10 18:13:14 lxml==5.2.1 18:13:14 MarkupSafe==2.1.5 18:13:14 msgpack==1.0.8 18:13:14 multi_key_dict==2.0.3 18:13:14 munch==4.0.0 18:13:14 netaddr==1.2.1 18:13:14 netifaces==0.11.0 18:13:14 niet==1.4.2 18:13:14 nodeenv==1.8.0 18:13:14 oauth2client==4.1.3 18:13:14 oauthlib==3.2.2 18:13:14 openstacksdk==3.0.0 18:13:14 os-client-config==2.1.0 18:13:14 os-service-types==1.7.0 18:13:14 osc-lib==3.0.1 18:13:14 oslo.config==9.4.0 18:13:14 oslo.context==5.5.0 18:13:14 oslo.i18n==6.3.0 18:13:14 oslo.log==5.5.1 18:13:14 oslo.serialization==5.4.0 18:13:14 oslo.utils==7.1.0 18:13:14 packaging==24.0 18:13:14 pbr==6.0.0 18:13:14 platformdirs==4.2.0 18:13:14 prettytable==3.10.0 18:13:14 pyasn1==0.6.0 18:13:14 pyasn1_modules==0.4.0 18:13:14 pycparser==2.22 18:13:14 pygerrit2==2.0.15 18:13:14 PyGithub==2.3.0 18:13:14 pyinotify==0.9.6 18:13:14 PyJWT==2.8.0 18:13:14 PyNaCl==1.5.0 18:13:14 pyparsing==2.4.7 18:13:14 pyperclip==1.8.2 18:13:14 pyrsistent==0.20.0 18:13:14 python-cinderclient==9.5.0 18:13:14 python-dateutil==2.9.0.post0 18:13:14 python-heatclient==3.5.0 18:13:14 python-jenkins==1.8.2 18:13:14 python-keystoneclient==5.4.0 18:13:14 python-magnumclient==4.4.0 18:13:14 python-novaclient==18.6.0 18:13:14 python-openstackclient==6.6.0 18:13:14 python-swiftclient==4.5.0 18:13:14 PyYAML==6.0.1 18:13:14 referencing==0.34.0 18:13:14 requests==2.31.0 18:13:14 requests-oauthlib==2.0.0 18:13:14 requestsexceptions==1.4.0 18:13:14 rfc3986==2.0.0 18:13:14 rpds-py==0.18.0 18:13:14 rsa==4.9 18:13:14 ruamel.yaml==0.18.6 18:13:14 ruamel.yaml.clib==0.2.8 18:13:14 s3transfer==0.10.1 18:13:14 simplejson==3.19.2 18:13:14 six==1.16.0 18:13:14 smmap==5.0.1 18:13:14 soupsieve==2.5 18:13:14 stevedore==5.2.0 18:13:14 tabulate==0.9.0 18:13:14 toml==0.10.2 18:13:14 tomlkit==0.12.4 18:13:14 tqdm==4.66.2 18:13:14 typing_extensions==4.11.0 18:13:14 tzdata==2024.1 18:13:14 urllib3==1.26.18 18:13:14 virtualenv==20.25.1 18:13:14 wcwidth==0.2.13 18:13:14 websocket-client==1.7.0 18:13:14 wrapt==1.16.0 18:13:14 xdg==6.0.0 18:13:14 xmltodict==0.13.0 18:13:14 yq==3.2.3 18:13:14 [EnvInject] - Injecting environment variables from a build step. 18:13:14 [EnvInject] - Injecting as environment variables the properties content 18:13:14 SET_JDK_VERSION=openjdk17 18:13:14 GIT_URL="git://cloud.onap.org/mirror" 18:13:14 18:13:14 [EnvInject] - Variables injected successfully. 18:13:14 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins9503104080693391666.sh 18:13:14 ---> update-java-alternatives.sh 18:13:14 ---> Updating Java version 18:13:14 ---> Ubuntu/Debian system detected 18:13:14 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:14 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:14 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:15 openjdk version "17.0.4" 2022-07-19 18:13:15 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:15 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:15 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:15 [EnvInject] - Injecting environment variables from a build step. 18:13:15 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:15 [EnvInject] - Variables injected successfully. 18:13:15 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins11979283902069658822.sh 18:13:15 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:15 + set +u 18:13:15 + save_set 18:13:15 + RUN_CSIT_SAVE_SET=ehxB 18:13:15 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:15 + '[' 1 -eq 0 ']' 18:13:15 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:15 + 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:15 + 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:15 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:15 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:15 + export ROBOT_VARIABLES= 18:13:15 + ROBOT_VARIABLES= 18:13:15 + export PROJECT=api 18:13:15 + PROJECT=api 18:13:15 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:15 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:15 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:15 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:15 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:15 + relax_set 18:13:15 + set +e 18:13:15 + set +o pipefail 18:13:15 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:15 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:15 +++ mktemp -d 18:13:15 ++ ROBOT_VENV=/tmp/tmp.GICrZYoAIE 18:13:15 ++ echo ROBOT_VENV=/tmp/tmp.GICrZYoAIE 18:13:15 +++ python3 --version 18:13:15 ++ echo 'Python version is: Python 3.6.9' 18:13:15 Python version is: Python 3.6.9 18:13:15 ++ python3 -m venv --clear /tmp/tmp.GICrZYoAIE 18:13:16 ++ source /tmp/tmp.GICrZYoAIE/bin/activate 18:13:16 +++ deactivate nondestructive 18:13:16 +++ '[' -n '' ']' 18:13:16 +++ '[' -n '' ']' 18:13:16 +++ '[' -n /bin/bash -o -n '' ']' 18:13:16 +++ hash -r 18:13:16 +++ '[' -n '' ']' 18:13:16 +++ unset VIRTUAL_ENV 18:13:16 +++ '[' '!' nondestructive = nondestructive ']' 18:13:16 +++ VIRTUAL_ENV=/tmp/tmp.GICrZYoAIE 18:13:16 +++ export VIRTUAL_ENV 18:13:16 +++ _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:16 +++ PATH=/tmp/tmp.GICrZYoAIE/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:16 +++ export PATH 18:13:16 +++ '[' -n '' ']' 18:13:16 +++ '[' -z '' ']' 18:13:16 +++ _OLD_VIRTUAL_PS1= 18:13:16 +++ '[' 'x(tmp.GICrZYoAIE) ' '!=' x ']' 18:13:16 +++ PS1='(tmp.GICrZYoAIE) ' 18:13:16 +++ export PS1 18:13:16 +++ '[' -n /bin/bash -o -n '' ']' 18:13:16 +++ hash -r 18:13:16 ++ set -exu 18:13:16 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:20 ++ echo 'Installing Python Requirements' 18:13:20 Installing Python Requirements 18:13:20 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:39 ++ python3 -m pip -qq freeze 18:13:39 bcrypt==4.0.1 18:13:39 beautifulsoup4==4.12.3 18:13:39 bitarray==2.9.2 18:13:39 certifi==2024.2.2 18:13:39 cffi==1.15.1 18:13:39 charset-normalizer==2.0.12 18:13:39 cryptography==40.0.2 18:13:39 decorator==5.1.1 18:13:39 elasticsearch==7.17.9 18:13:39 elasticsearch-dsl==7.4.1 18:13:39 enum34==1.1.10 18:13:39 idna==3.6 18:13:39 importlib-resources==5.4.0 18:13:39 ipaddr==2.2.0 18:13:39 isodate==0.6.1 18:13:39 jmespath==0.10.0 18:13:39 jsonpatch==1.32 18:13:39 jsonpath-rw==1.4.0 18:13:39 jsonpointer==2.3 18:13:39 lxml==5.2.1 18:13:39 netaddr==0.8.0 18:13:39 netifaces==0.11.0 18:13:39 odltools==0.1.28 18:13:39 paramiko==3.4.0 18:13:39 pkg_resources==0.0.0 18:13:39 ply==3.11 18:13:39 pyang==2.6.0 18:13:39 pyangbind==0.8.1 18:13:39 pycparser==2.21 18:13:39 pyhocon==0.3.60 18:13:39 PyNaCl==1.5.0 18:13:39 pyparsing==3.1.2 18:13:39 python-dateutil==2.9.0.post0 18:13:39 regex==2023.8.8 18:13:39 requests==2.27.1 18:13:39 robotframework==6.1.1 18:13:39 robotframework-httplibrary==0.4.2 18:13:39 robotframework-pythonlibcore==3.0.0 18:13:39 robotframework-requests==0.9.4 18:13:39 robotframework-selenium2library==3.0.0 18:13:39 robotframework-seleniumlibrary==5.1.3 18:13:39 robotframework-sshlibrary==3.8.0 18:13:39 scapy==2.5.0 18:13:39 scp==0.14.5 18:13:39 selenium==3.141.0 18:13:39 six==1.16.0 18:13:39 soupsieve==2.3.2.post1 18:13:39 urllib3==1.26.18 18:13:39 waitress==2.0.0 18:13:39 WebOb==1.8.7 18:13:39 WebTest==3.0.0 18:13:39 zipp==3.6.0 18:13:39 ++ mkdir -p /tmp/tmp.GICrZYoAIE/src/onap 18:13:39 ++ rm -rf /tmp/tmp.GICrZYoAIE/src/onap/testsuite 18:13:39 ++ 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:46 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:46 Uninstall docker-py and reinstall docker. 18:13:46 ++ python3 -m pip uninstall -y -qq docker 18:13:46 ++ python3 -m pip install -U -qq docker 18:13:47 ++ python3 -m pip -qq freeze 18:13:48 bcrypt==4.0.1 18:13:48 beautifulsoup4==4.12.3 18:13:48 bitarray==2.9.2 18:13:48 certifi==2024.2.2 18:13:48 cffi==1.15.1 18:13:48 charset-normalizer==2.0.12 18:13:48 cryptography==40.0.2 18:13:48 decorator==5.1.1 18:13:48 deepdiff==5.7.0 18:13:48 dnspython==2.2.1 18:13:48 docker==5.0.3 18:13:48 elasticsearch==7.17.9 18:13:48 elasticsearch-dsl==7.4.1 18:13:48 enum34==1.1.10 18:13:48 future==1.0.0 18:13:48 idna==3.6 18:13:48 importlib-resources==5.4.0 18:13:48 ipaddr==2.2.0 18:13:48 isodate==0.6.1 18:13:48 Jinja2==3.0.3 18:13:48 jmespath==0.10.0 18:13:48 jsonpatch==1.32 18:13:48 jsonpath-rw==1.4.0 18:13:48 jsonpointer==2.3 18:13:48 kafka-python==2.0.2 18:13:48 lxml==5.2.1 18:13:48 MarkupSafe==2.0.1 18:13:48 more-itertools==5.0.0 18:13:48 netaddr==0.8.0 18:13:48 netifaces==0.11.0 18:13:48 odltools==0.1.28 18:13:48 ordered-set==4.0.2 18:13:48 paramiko==3.4.0 18:13:48 pbr==6.0.0 18:13:48 pkg_resources==0.0.0 18:13:48 ply==3.11 18:13:48 protobuf==3.19.6 18:13:48 pyang==2.6.0 18:13:48 pyangbind==0.8.1 18:13:48 pycparser==2.21 18:13:48 pyhocon==0.3.60 18:13:48 PyNaCl==1.5.0 18:13:48 pyparsing==3.1.2 18:13:48 python-dateutil==2.9.0.post0 18:13:48 PyYAML==6.0.1 18:13:48 regex==2023.8.8 18:13:48 requests==2.27.1 18:13:48 robotframework==6.1.1 18:13:48 robotframework-httplibrary==0.4.2 18:13:48 robotframework-onap==0.6.0.dev105 18:13:48 robotframework-pythonlibcore==3.0.0 18:13:48 robotframework-requests==0.9.4 18:13:48 robotframework-selenium2library==3.0.0 18:13:48 robotframework-seleniumlibrary==5.1.3 18:13:48 robotframework-sshlibrary==3.8.0 18:13:48 robotlibcore-temp==1.0.2 18:13:48 scapy==2.5.0 18:13:48 scp==0.14.5 18:13:48 selenium==3.141.0 18:13:48 six==1.16.0 18:13:48 soupsieve==2.3.2.post1 18:13:48 urllib3==1.26.18 18:13:48 waitress==2.0.0 18:13:48 WebOb==1.8.7 18:13:48 websocket-client==1.3.1 18:13:48 WebTest==3.0.0 18:13:48 zipp==3.6.0 18:13:48 ++ uname 18:13:48 ++ grep -q Linux 18:13:48 ++ sudo apt-get -y -qq install libxml2-utils 18:13:48 + load_set 18:13:48 + _setopts=ehuxB 18:13:48 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:48 ++ tr : ' ' 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o braceexpand 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o hashall 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o interactive-comments 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o nounset 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o xtrace 18:13:48 ++ echo ehuxB 18:13:48 ++ sed 's/./& /g' 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +e 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +h 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +u 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +x 18:13:48 + source_safely /tmp/tmp.GICrZYoAIE/bin/activate 18:13:48 + '[' -z /tmp/tmp.GICrZYoAIE/bin/activate ']' 18:13:48 + relax_set 18:13:48 + set +e 18:13:48 + set +o pipefail 18:13:48 + . /tmp/tmp.GICrZYoAIE/bin/activate 18:13:48 ++ deactivate nondestructive 18:13:48 ++ '[' -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:48 ++ 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:48 ++ export PATH 18:13:48 ++ unset _OLD_VIRTUAL_PATH 18:13:48 ++ '[' -n '' ']' 18:13:48 ++ '[' -n /bin/bash -o -n '' ']' 18:13:48 ++ hash -r 18:13:48 ++ '[' -n '' ']' 18:13:48 ++ unset VIRTUAL_ENV 18:13:48 ++ '[' '!' nondestructive = nondestructive ']' 18:13:48 ++ VIRTUAL_ENV=/tmp/tmp.GICrZYoAIE 18:13:48 ++ export VIRTUAL_ENV 18:13:48 ++ _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:48 ++ PATH=/tmp/tmp.GICrZYoAIE/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:48 ++ export PATH 18:13:48 ++ '[' -n '' ']' 18:13:48 ++ '[' -z '' ']' 18:13:48 ++ _OLD_VIRTUAL_PS1='(tmp.GICrZYoAIE) ' 18:13:48 ++ '[' 'x(tmp.GICrZYoAIE) ' '!=' x ']' 18:13:48 ++ PS1='(tmp.GICrZYoAIE) (tmp.GICrZYoAIE) ' 18:13:48 ++ export PS1 18:13:48 ++ '[' -n /bin/bash -o -n '' ']' 18:13:48 ++ hash -r 18:13:48 + load_set 18:13:48 + _setopts=hxB 18:13:48 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:48 ++ tr : ' ' 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o braceexpand 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o hashall 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o interactive-comments 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o xtrace 18:13:48 ++ echo hxB 18:13:48 ++ sed 's/./& /g' 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +h 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +x 18:13:48 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:48 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:48 + export TEST_OPTIONS= 18:13:48 + TEST_OPTIONS= 18:13:48 ++ mktemp -d 18:13:48 + WORKDIR=/tmp/tmp.sp0llUKIlP 18:13:48 + cd /tmp/tmp.sp0llUKIlP 18:13:48 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:48 Configure a credential helper to remove this warning. See 18:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:48 18:13:48 Login Succeeded 18:13:48 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:48 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:48 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:48 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:48 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:48 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:48 + relax_set 18:13:48 + set +e 18:13:48 + set +o pipefail 18:13:48 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:48 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:48 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:48 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:48 +++ GERRIT_BRANCH=montreal 18:13:48 +++ echo GERRIT_BRANCH=montreal 18:13:48 GERRIT_BRANCH=montreal 18:13:48 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:48 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:48 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:48 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:49 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:49 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:49 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:49 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:49 +++ 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:49 +++ 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:49 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:49 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:49 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:49 +++ grafana=false 18:13:49 +++ gui=false 18:13:49 +++ [[ 2 -gt 0 ]] 18:13:49 +++ key=api 18:13:49 +++ case $key in 18:13:49 +++ echo api 18:13:49 api 18:13:49 +++ component=api 18:13:49 +++ shift 18:13:49 +++ [[ 1 -gt 0 ]] 18:13:49 +++ key=--grafana 18:13:49 +++ case $key in 18:13:49 +++ grafana=true 18:13:49 +++ shift 18:13:49 +++ [[ 0 -gt 0 ]] 18:13:49 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:49 +++ echo 'Configuring docker compose...' 18:13:49 Configuring docker compose... 18:13:49 +++ source export-ports.sh 18:13:49 +++ source get-versions.sh 18:13:52 +++ '[' -z api ']' 18:13:52 +++ '[' -n api ']' 18:13:52 +++ '[' api == logs ']' 18:13:52 +++ '[' true = true ']' 18:13:52 +++ echo 'Starting api application with Grafana' 18:13:52 Starting api application with Grafana 18:13:52 +++ docker-compose up -d api grafana 18:13:53 Creating network "compose_default" with the default driver 18:13:53 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:13:53 10.10.2: Pulling from mariadb 18:13:58 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:13:58 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:13:58 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:13:58 3.0.2: Pulling from onap/policy-db-migrator 18:14:02 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:14:02 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:14:02 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:14:02 3.0.2: Pulling from onap/policy-api 18:14:04 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:14:04 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:14:04 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:04 latest: Pulling from prom/prometheus 18:14:07 Digest: sha256:dec2018ae55885fed717f25c289b8c9cff0bf5fbb9e619fb49b6161ac493c016 18:14:07 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:07 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:08 latest: Pulling from grafana/grafana 18:14:13 Digest: sha256:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 18:14:13 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:13 Creating mariadb ... 18:14:13 Creating prometheus ... 18:14:25 Creating prometheus ... done 18:14:25 Creating grafana ... 18:14:26 Creating grafana ... done 18:14:27 Creating mariadb ... done 18:14:27 Creating policy-db-migrator ... 18:14:28 Creating policy-db-migrator ... done 18:14:28 Creating policy-api ... 18:14:29 Creating policy-api ... done 18:14:29 +++ echo 'Prometheus server: http://localhost:30259' 18:14:29 Prometheus server: http://localhost:30259 18:14:29 +++ echo 'Grafana server: http://localhost:30269' 18:14:29 Grafana server: http://localhost:30269 18:14:29 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:29 ++ sleep 10 18:14:39 ++ unset http_proxy https_proxy 18:14:39 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:39 Waiting for REST to come up on localhost port 30002... 18:14:39 NAMES STATUS 18:14:39 policy-api Up 10 seconds 18:14:39 policy-db-migrator Up 11 seconds 18:14:39 grafana Up 13 seconds 18:14:39 prometheus Up 14 seconds 18:14:39 mariadb Up 11 seconds 18:14:44 NAMES STATUS 18:14:44 policy-api Up 15 seconds 18:14:44 grafana Up 18 seconds 18:14:44 prometheus Up 19 seconds 18:14:44 mariadb Up 17 seconds 18:14:49 NAMES STATUS 18:14:49 policy-api Up 20 seconds 18:14:49 grafana Up 23 seconds 18:14:49 prometheus Up 24 seconds 18:14:49 mariadb Up 22 seconds 18:14:54 NAMES STATUS 18:14:54 policy-api Up 25 seconds 18:14:54 grafana Up 28 seconds 18:14:54 prometheus Up 29 seconds 18:14:54 mariadb Up 27 seconds 18:14:54 ++ export 'SUITES=api-test.robot 18:14:54 api-slas.robot' 18:14:54 ++ SUITES='api-test.robot 18:14:54 api-slas.robot' 18:14:54 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:54 -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:14:54 + load_set 18:14:54 + _setopts=hxB 18:14:54 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:14:54 ++ tr : ' ' 18:14:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:54 + set +o braceexpand 18:14:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:54 + set +o hashall 18:14:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:54 + set +o interactive-comments 18:14:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:54 + set +o xtrace 18:14:54 ++ echo hxB 18:14:54 ++ sed 's/./& /g' 18:14:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:54 + set +h 18:14:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:54 + set +x 18:14:54 + docker_stats 18:14:54 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:14:54 ++ uname -s 18:14:54 + '[' Linux == Darwin ']' 18:14:54 + sh -c 'top -bn1 | head -3' 18:14:55 top - 18:14:55 up 3 min, 0 users, load average: 2.48, 1.07, 0.42 18:14:55 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 18:14:55 %Cpu(s): 10.7 us, 2.2 sy, 0.0 ni, 83.3 id, 3.7 wa, 0.0 hi, 0.1 si, 0.0 st 18:14:55 + echo 18:14:55 18:14:55 + sh -c 'free -h' 18:14:55 total used free shared buff/cache available 18:14:55 Mem: 31G 1.5G 25G 1.0M 3.9G 29G 18:14:55 Swap: 1.0G 0B 1.0G 18:14:55 + echo 18:14:55 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:14:55 18:14:55 NAMES STATUS 18:14:55 policy-api Up 25 seconds 18:14:55 grafana Up 28 seconds 18:14:55 prometheus Up 29 seconds 18:14:55 mariadb Up 27 seconds 18:14:55 + echo 18:14:55 + docker stats --no-stream 18:14:55 18:14:57 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:14:57 0a0aa3404d86 policy-api 0.53% 567.2MiB / 31.41GiB 1.76% 999kB / 710kB 0B / 0B 55 18:14:57 bf1e812c5217 grafana 0.06% 52.42MiB / 31.41GiB 0.16% 18.3kB / 3.12kB 0B / 24.6MB 18 18:14:57 46c892b4382e prometheus 0.00% 18.97MiB / 31.41GiB 0.06% 1.52kB / 158B 102kB / 0B 13 18:14:57 93db390fd1e0 mariadb 0.02% 100.2MiB / 31.41GiB 0.31% 985kB / 1.18MB 11MB / 67.8MB 26 18:14:57 + echo 18:14:57 18:14:57 + cd /tmp/tmp.sp0llUKIlP 18:14:57 + echo 'Reading the testplan:' 18:14:57 Reading the testplan: 18:14:57 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:14:57 + echo 'api-test.robot 18:14:57 api-slas.robot' 18:14:57 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:14:57 + cat testplan.txt 18:14:57 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:14:57 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:14:57 ++ xargs 18:14:57 + 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:14:57 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:57 -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:14:57 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:57 -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:14:57 + 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:14:57 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:14:57 + relax_set 18:14:57 + set +e 18:14:57 + set +o pipefail 18:14:57 + 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:14:57 ============================================================================== 18:14:57 api 18:14:57 ============================================================================== 18:14:58 api.Api-Test 18:14:58 ============================================================================== 18:14:58 Healthcheck :: Verify policy api health check | PASS | 18:14:58 ------------------------------------------------------------------------------ 18:15:00 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:00 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:01 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:01 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:01 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:02 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:15:02 ------------------------------------------------------------------------------ 18:15:02 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:15:02 ------------------------------------------------------------------------------ 18:15:02 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:15:02 ------------------------------------------------------------------------------ 18:15:02 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:15:02 ------------------------------------------------------------------------------ 18:15:03 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:15:03 ------------------------------------------------------------------------------ 18:15:03 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:15:03 ------------------------------------------------------------------------------ 18:15:03 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:15:03 ------------------------------------------------------------------------------ 18:15:03 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:15:03 ------------------------------------------------------------------------------ 18:15:04 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:15:04 ------------------------------------------------------------------------------ 18:15:04 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:15:04 ------------------------------------------------------------------------------ 18:15:04 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:15:04 ------------------------------------------------------------------------------ 18:15:04 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:15:04 ------------------------------------------------------------------------------ 18:15:05 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:05 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:05 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:05 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:05 api.Api-Test | PASS | 18:15:05 22 tests, 22 passed, 0 failed 18:15:05 ============================================================================== 18:15:05 api.Api-Slas 18:15:05 ============================================================================== 18:16:05 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:16:05 ------------------------------------------------------------------------------ 18:16:05 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:16:05 ------------------------------------------------------------------------------ 18:16:05 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:16:05 ------------------------------------------------------------------------------ 18:16:05 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:16:05 ------------------------------------------------------------------------------ 18:16:05 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:16:05 ------------------------------------------------------------------------------ 18:16:05 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:16:05 ------------------------------------------------------------------------------ 18:16:05 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:16:05 ------------------------------------------------------------------------------ 18:16:05 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:16:05 ------------------------------------------------------------------------------ 18:16:05 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:16:05 ------------------------------------------------------------------------------ 18:16:05 api.Api-Slas | PASS | 18:16:05 9 tests, 9 passed, 0 failed 18:16:05 ============================================================================== 18:16:05 api | PASS | 18:16:05 31 tests, 31 passed, 0 failed 18:16:05 ============================================================================== 18:16:05 Output: /tmp/tmp.sp0llUKIlP/output.xml 18:16:05 Log: /tmp/tmp.sp0llUKIlP/log.html 18:16:05 Report: /tmp/tmp.sp0llUKIlP/report.html 18:16:05 + RESULT=0 18:16:05 + load_set 18:16:05 + _setopts=hxB 18:16:05 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:05 ++ tr : ' ' 18:16:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:05 + set +o braceexpand 18:16:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:05 + set +o hashall 18:16:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:05 + set +o interactive-comments 18:16:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:05 + set +o xtrace 18:16:05 ++ echo hxB 18:16:05 ++ sed 's/./& /g' 18:16:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:05 + set +h 18:16:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:05 + set +x 18:16:05 + echo 'RESULT: 0' 18:16:05 RESULT: 0 18:16:05 + exit 0 18:16:05 + on_exit 18:16:05 + rc=0 18:16:05 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:16:05 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:05 NAMES STATUS 18:16:05 policy-api Up About a minute 18:16:05 grafana Up About a minute 18:16:05 prometheus Up About a minute 18:16:05 mariadb Up About a minute 18:16:05 + docker_stats 18:16:05 ++ uname -s 18:16:05 + '[' Linux == Darwin ']' 18:16:05 + sh -c 'top -bn1 | head -3' 18:16:06 top - 18:16:06 up 4 min, 0 users, load average: 1.28, 1.06, 0.46 18:16:06 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 18:16:06 %Cpu(s): 9.1 us, 1.7 sy, 0.0 ni, 86.1 id, 3.0 wa, 0.0 hi, 0.0 si, 0.0 st 18:16:06 + echo 18:16:06 18:16:06 + sh -c 'free -h' 18:16:06 total used free shared buff/cache available 18:16:06 Mem: 31G 1.8G 25G 1.0M 3.9G 29G 18:16:06 Swap: 1.0G 0B 1.0G 18:16:06 + echo 18:16:06 18:16:06 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:06 NAMES STATUS 18:16:06 policy-api Up About a minute 18:16:06 grafana Up About a minute 18:16:06 prometheus Up About a minute 18:16:06 mariadb Up About a minute 18:16:06 + echo 18:16:06 18:16:06 + docker stats --no-stream 18:16:08 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:16:08 0a0aa3404d86 policy-api 0.11% 886.1MiB / 31.41GiB 2.75% 7MB / 2.55MB 0B / 0B 55 18:16:08 bf1e812c5217 grafana 0.03% 54.95MiB / 31.41GiB 0.17% 19.4kB / 4.43kB 0B / 24.6MB 18 18:16:08 46c892b4382e prometheus 0.00% 24.77MiB / 31.41GiB 0.08% 55.5kB / 6.57kB 102kB / 0B 13 18:16:08 93db390fd1e0 mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 11MB / 68.1MB 18 18:16:08 + echo 18:16:08 18:16:08 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:08 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:16:08 + relax_set 18:16:08 + set +e 18:16:08 + set +o pipefail 18:16:08 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:08 ++ echo 'Shut down started!' 18:16:08 Shut down started! 18:16:08 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:08 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:16:08 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:16:08 ++ source export-ports.sh 18:16:08 ++ source get-versions.sh 18:16:11 ++ echo 'Collecting logs from docker compose containers...' 18:16:11 Collecting logs from docker compose containers... 18:16:11 ++ docker-compose logs 18:16:12 ++ cat docker_compose.log 18:16:12 Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.679796464Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-04-05T18:14:26Z 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68021116Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68022378Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.6802297Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68023366Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68023768Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68024124Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68024456Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68025285Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68025662Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68025978Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68026413Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68026824Z level=info msg=Target target=[all] 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68027427Z level=info msg="Path Home" path=/usr/share/grafana 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68027821Z level=info msg="Path Data" path=/var/lib/grafana 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68028527Z level=info msg="Path Logs" path=/var/log/grafana 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.68028981Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.6802936Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:12 grafana | logger=settings t=2024-04-05T18:14:26.6802982Z level=info msg="App mode production" 18:16:12 grafana | logger=sqlstore t=2024-04-05T18:14:26.680921128Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:12 grafana | logger=sqlstore t=2024-04-05T18:14:26.680940788Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.682369884Z level=info msg="Starting DB migrations" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.683983773Z level=info msg="Executing migration" id="create migration_log table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.685178187Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.194404ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.690909343Z level=info msg="Executing migration" id="create user table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.691643111Z level=info msg="Migration successfully executed" id="create user table" duration=733.628µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.696528307Z level=info msg="Executing migration" id="add unique index user.login" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.697686551Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.158363ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.704081164Z level=info msg="Executing migration" id="add unique index user.email" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.705372429Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.290695ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.710358996Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.711337478Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=978.152µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.715174962Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.716177213Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.001621ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.720667295Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.7228864Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.218645ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.72639256Z level=info msg="Executing migration" id="create user table v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.727157839Z level=info msg="Migration successfully executed" id="create user table v2" duration=765.319µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.730510748Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.731184446Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=671.778µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.736000861Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.736690109Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=686.468µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.742403455Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.742980441Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=577.016µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.746551842Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.747014808Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=462.836µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.782974351Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.784728791Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.753109ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.789420645Z level=info msg="Executing migration" id="Update user table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.789461645Z level=info msg="Migration successfully executed" id="Update user table charset" duration=41.87µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.792257857Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.79331214Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.053123ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.796533256Z level=info msg="Executing migration" id="Add missing user data" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.796741649Z level=info msg="Migration successfully executed" id="Add missing user data" duration=208.353µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.800058917Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.801100129Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.040742ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.805169386Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.805851664Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=680.348µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.808380523Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.809467386Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.085853ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.813036736Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.820819146Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.78211ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.825116655Z level=info msg="Executing migration" id="Add uid column to user" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.826196328Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.079523ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.829445725Z level=info msg="Executing migration" id="Update uid column values for users" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.829621997Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=176.352µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.832261197Z level=info msg="Executing migration" id="Add unique index user_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.832954475Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=693.818µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.836728719Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.837022872Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=294.143µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.841063898Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.841834157Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=768.309µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.845537309Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.846589492Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.051303ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.850693269Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.851748421Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.054542ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.856576517Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.857653949Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.076862ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.861627824Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.862308432Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=680.178µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.866135797Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.866161337Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.07µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.870414406Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.871380376Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=965.54µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.874807156Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.875857189Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.049163ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.879433889Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.880069857Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=634.328µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.883978991Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.884605898Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=627.377µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.887911177Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.892686472Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.774485ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.897250524Z level=info msg="Executing migration" id="create temp_user v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.898078443Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=827.309µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.902261171Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.903070181Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=807.109µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.90652897Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.907618323Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.088603ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.910953752Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.912077374Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.122432ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.915574774Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.916286242Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=710.968µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.920773424Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.921364351Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=589.457µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.924888122Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.92563055Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=742.508µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.929158031Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.929704576Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=545.865µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.934059777Z level=info msg="Executing migration" id="create star table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.934665784Z level=info msg="Migration successfully executed" id="create star table" duration=603.807µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.93779545Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.938595469Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=799.319µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.944416896Z level=info msg="Executing migration" id="create org table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.945556609Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.139193ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.950191213Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.950900191Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=708.198µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.954111747Z level=info msg="Executing migration" id="create org_user table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.954808645Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=695.458µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.958362446Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.959528629Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.165213ms 18:16:12 mariadb | 2024-04-05 18:14:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:12 mariadb | 2024-04-05 18:14:27+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:12 mariadb | 2024-04-05 18:14:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:12 mariadb | 2024-04-05 18:14:28+00:00 [Note] [Entrypoint]: Initializing database files 18:16:12 mariadb | 2024-04-05 18:14:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:12 mariadb | 2024-04-05 18:14:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:12 mariadb | 2024-04-05 18:14:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:12 mariadb | 18:16:12 mariadb | 18:16:12 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:12 mariadb | To do so, start the server, then issue the following command: 18:16:12 mariadb | 18:16:12 mariadb | '/usr/bin/mysql_secure_installation' 18:16:12 mariadb | 18:16:12 mariadb | which will also give you the option of removing the test 18:16:12 mariadb | databases and anonymous user created by default. This is 18:16:12 mariadb | strongly recommended for production servers. 18:16:12 mariadb | 18:16:12 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:12 mariadb | 18:16:12 mariadb | Please report any problems at https://mariadb.org/jira 18:16:12 mariadb | 18:16:12 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:12 mariadb | 18:16:12 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:12 mariadb | https://mariadb.org/get-involved/ 18:16:12 mariadb | 18:16:12 mariadb | 2024-04-05 18:14:29+00:00 [Note] [Entrypoint]: Database files initialized 18:16:12 mariadb | 2024-04-05 18:14:29+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:12 mariadb | 2024-04-05 18:14:29+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.96307178Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.964120053Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.048233ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.96827431Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.968987229Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=712.129µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.972075684Z level=info msg="Executing migration" id="Update org table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.972100824Z level=info msg="Migration successfully executed" id="Update org table charset" duration=24.44µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.975355172Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.975384952Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=31.81µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.978795281Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.978954803Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=159.532µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.983085631Z level=info msg="Executing migration" id="create dashboard table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.984261683Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.175412ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.987853975Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.989100449Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.245544ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.992285306Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.993529471Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.241105ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.996998951Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:26.997634677Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=635.166µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.001725674Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.002492333Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=766.019µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.005448734Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.006088584Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=639.46µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.009244491Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.014072364Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.827113ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.018192597Z level=info msg="Executing migration" id="create dashboard v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.018932418Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=740.651µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.021903633Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.022581153Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=675.56µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.025794032Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.026575574Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=781.492µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.032133888Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.032491353Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=357.565µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.035835644Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.036632306Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=796.232µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.040061208Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.040163409Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=102.591µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.044517935Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.047322957Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.802072ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.050995364Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.054047299Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.051885ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.057606023Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.060834142Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.226749ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.065395421Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.066360256Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=965.155µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.069390842Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.071366062Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.97496ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.074637541Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.075464204Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=826.483µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.079641927Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: Number of transaction pools: 1 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: 128 rollback segments are active. 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:12 mariadb | 2024-04-05 18:14:29 0 [Note] mariadbd: ready for connections. 18:16:12 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:12 mariadb | 2024-04-05 18:14:30+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:12 mariadb | 2024-04-05 18:14:32+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:12 mariadb | 2024-04-05 18:14:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:12 mariadb | 18:16:12 mariadb | 18:16:12 mariadb | 2024-04-05 18:14:32+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:12 mariadb | 2024-04-05 18:14:32+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:12 mariadb | #!/bin/bash -xv 18:16:12 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:12 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:12 mariadb | # 18:16:12 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:12 mariadb | # you may not use this file except in compliance with the License. 18:16:12 mariadb | # You may obtain a copy of the License at 18:16:12 mariadb | # 18:16:12 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:12 mariadb | # 18:16:12 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:12 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:12 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:12 mariadb | # See the License for the specific language governing permissions and 18:16:12 mariadb | # limitations under the License. 18:16:12 mariadb | 18:16:12 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:12 mariadb | do 18:16:12 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:12 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:12 mariadb | done 18:16:12 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:12 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:12 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:12 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:12 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:12 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:12 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:12 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:12 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:12 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:12 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:12 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:12 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:12 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:12 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:12 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:12 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:12 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:12 mariadb | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.08047762Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=835.953µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.083953042Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.083998273Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=46.051µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.087635998Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.087681119Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=47.451µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.091139621Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.094637224Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.497443ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.098969339Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.101522768Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.553919ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.105625081Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.108953182Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.32588ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.11280785Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.114706509Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.900819ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.118836192Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.119039475Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=203.293µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.122245353Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.122963015Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=717.352µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.126452028Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.127121998Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=668.92µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.131162399Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.131197119Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=35.74µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.134605122Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.13579591Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.190219ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.139107041Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.140100266Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=993.024µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.143818392Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.14891591Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.096918ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.15223352Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.152933871Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=700.13µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.156041548Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.15682973Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=787.652µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.16075682Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.161482041Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=724.682µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.164677689Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.164967354Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=289.545µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.167907429Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.168403606Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=495.777µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.171647725Z level=info msg="Executing migration" id="Add check_sum column" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.173649626Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.000261ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.177636537Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.178384088Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=747.131µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.181263922Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.181427175Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=163.203µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.18379903Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.184058465Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=259.815µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.188297299Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.189492998Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.195269ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.192844408Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.19491647Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.071112ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.234683505Z level=info msg="Executing migration" id="create data_source table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.236183818Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.500123ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.240803909Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.242037498Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.232828ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.245577361Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.246355793Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=777.922µs 18:16:12 policy-db-migrator | Waiting for mariadb port 3306... 18:16:12 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:12 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:12 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:12 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:12 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:12 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:12 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 18:16:12 policy-db-migrator | 321 blocks 18:16:12 policy-db-migrator | Preparing upgrade release version: 0800 18:16:12 policy-db-migrator | Preparing upgrade release version: 0900 18:16:12 policy-db-migrator | Preparing upgrade release version: 1000 18:16:12 policy-db-migrator | Preparing upgrade release version: 1100 18:16:12 policy-db-migrator | Preparing upgrade release version: 1200 18:16:12 policy-db-migrator | Preparing upgrade release version: 1300 18:16:12 policy-db-migrator | Done 18:16:12 policy-db-migrator | name version 18:16:12 policy-db-migrator | policyadmin 0 18:16:12 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:12 policy-db-migrator | upgrade: 0 -> 1300 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:12 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:12 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:12 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:12 mariadb | 18:16:12 mariadb | 2024-04-05 18:14:33+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Starting shutdown... 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 240405 18:14:33 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Shutdown completed; log sequence number 323605; transaction id 298 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] mariadbd: Shutdown complete 18:16:12 mariadb | 18:16:12 mariadb | 2024-04-05 18:14:33+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:12 mariadb | 18:16:12 mariadb | 2024-04-05 18:14:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:12 mariadb | 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Number of transaction pools: 1 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: 128 rollback segments are active. 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: log sequence number 323605; transaction id 299 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] Server socket created on IP: '::'. 18:16:12 mariadb | 2024-04-05 18:14:33 0 [Note] mariadbd: ready for connections. 18:16:12 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:12 mariadb | 2024-04-05 18:14:33 0 [Note] InnoDB: Buffer pool(s) load completed at 240405 18:14:33 18:16:12 mariadb | 2024-04-05 18:14:34 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 18:16:12 mariadb | 2024-04-05 18:14:34 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.2494389Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.25013036Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=688.85µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.25406441Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.255150456Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.085776ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.258442747Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.266602402Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.160024ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.269991133Z level=info msg="Executing migration" id="create data_source table v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.270891056Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=899.603µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.274911548Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.27568682Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=774.972µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.278759256Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.279540308Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=777.482µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.283049351Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.283543409Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=493.788µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.2875211Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.291110584Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.588174ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.294573207Z level=info msg="Executing migration" id="Add secure json data column" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.296832101Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.258574ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.299943948Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.299966478Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=23.03µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.303797967Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.30401709Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=219.393µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.307301861Z level=info msg="Executing migration" id="Add read_only data column" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.310074973Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.771522ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.313618687Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.313926661Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=307.684µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.318029324Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.318179796Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=150.172µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.321248153Z level=info msg="Executing migration" id="Add uid column" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.323483667Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.235144ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.327525269Z level=info msg="Executing migration" id="Update uid value" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.327706541Z level=info msg="Migration successfully executed" id="Update uid value" duration=181.942µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.331071083Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.331852104Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=780.281µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.33617997Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.336924641Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=744.291µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.34009873Z level=info msg="Executing migration" id="create api_key table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.340928102Z level=info msg="Migration successfully executed" id="create api_key table" duration=829.032µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.34407059Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.345329639Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.258389ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.349464552Z level=info msg="Executing migration" id="add index api_key.key" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.35062675Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.161378ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.355503985Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.356816285Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.308661ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.360185135Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.360947227Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=762.032µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.36506877Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:12 policy-api | Waiting for mariadb port 3306... 18:16:12 policy-api | mariadb (172.17.0.3:3306) open 18:16:12 policy-api | Waiting for policy-db-migrator port 6824... 18:16:12 policy-api | policy-db-migrator (172.17.0.5:6824) open 18:16:12 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:12 policy-api | 18:16:12 policy-api | . ____ _ __ _ _ 18:16:12 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:12 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:12 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:12 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:12 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:12 policy-api | :: Spring Boot :: (v3.1.4) 18:16:12 policy-api | 18:16:12 policy-api | [2024-04-05T18:14:42.944+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:12 policy-api | [2024-04-05T18:14:42.945+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:12 policy-api | [2024-04-05T18:14:44.609+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:12 policy-api | [2024-04-05T18:14:44.692+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 74 ms. Found 6 JPA repository interfaces. 18:16:12 policy-api | [2024-04-05T18:14:45.084+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:12 policy-api | [2024-04-05T18:14:45.084+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:12 policy-api | [2024-04-05T18:14:45.660+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:12 policy-api | [2024-04-05T18:14:45.668+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:12 policy-api | [2024-04-05T18:14:45.670+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:12 policy-api | [2024-04-05T18:14:45.670+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:12 policy-api | [2024-04-05T18:14:45.754+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:12 policy-api | [2024-04-05T18:14:45.754+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2744 ms 18:16:12 policy-api | [2024-04-05T18:14:46.147+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:12 policy-api | [2024-04-05T18:14:46.216+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:12 policy-api | [2024-04-05T18:14:46.219+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:12 policy-api | [2024-04-05T18:14:46.257+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:12 policy-api | [2024-04-05T18:14:46.589+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:12 policy-api | [2024-04-05T18:14:46.611+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:12 policy-api | [2024-04-05T18:14:46.722+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b 18:16:12 policy-api | [2024-04-05T18:14:46.724+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.36575761Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=686.65µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.368294739Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.369405116Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.109797ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.373786353Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.382879351Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.094158ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.386353924Z level=info msg="Executing migration" id="create api_key table v2" 18:16:12 policy-api | [2024-04-05T18:14:46.748+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:12 policy-api | [2024-04-05T18:14:46.750+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:12 policy-api | [2024-04-05T18:14:48.544+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:12 policy-api | [2024-04-05T18:14:48.548+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:12 policy-api | [2024-04-05T18:14:49.749+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:12 policy-api | [2024-04-05T18:14:50.508+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:12 policy-api | [2024-04-05T18:14:51.597+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:12 policy-api | [2024-04-05T18:14:51.779+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:12 policy-api | [2024-04-05T18:14:52.591+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:12 policy-api | [2024-04-05T18:14:52.645+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:12 policy-api | [2024-04-05T18:14:52.685+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:12 policy-api | [2024-04-05T18:14:52.701+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.451 seconds (process running for 11.035) 18:16:12 policy-api | [2024-04-05T18:14:58.071+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:12 policy-api | [2024-04-05T18:14:58.072+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' 18:16:12 policy-api | [2024-04-05T18:14:58.073+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms 18:16:12 policy-api | [2024-04-05T18:15:00.745+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: 18:16:12 policy-api | [] 18:16:12 policy-api | [2024-04-05T18:15:00.886+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 18:16:12 policy-api | [2024-04-05T18:15:01.147+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 18:16:12 policy-api | [2024-04-05T18:15:02.334+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 18:16:12 policy-api | [2024-04-05T18:15:04.249+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:12 policy-api | [2024-04-05T18:15:04.548+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:12 policy-api | [2024-04-05T18:15:04.761+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 18:16:12 policy-api | [2024-04-05T18:15:05.002+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:12 policy-api | [2024-04-05T18:15:05.227+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:12 policy-api | [2024-04-05T18:15:05.446+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.387088955Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=734.721µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.390472477Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.391181388Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=708.831µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.395314781Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.396060302Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=745.581µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.399559715Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.400341697Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=840.083µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.403911181Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.404223316Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=313.205µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.408136435Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.408947468Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=810.723µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.412670284Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.412708865Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=40.561µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.41629096Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.420218519Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.926919ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.424758199Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.427359228Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.600689ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.432010889Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.432247532Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=234.653µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.436335794Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.440686231Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=4.349526ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.444450609Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.447102939Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.65311ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.451261521Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.452103015Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=841.014µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.455555328Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.456176436Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=618.458µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.460618825Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.461510548Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=890.913µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.46495514Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.466345581Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.389731ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.469996497Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.471478739Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.481842ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.476282453Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.477146486Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=863.823µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.480621788Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.480789872Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=166.154µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.48465113Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.484758112Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=105.771µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.488694932Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.492966277Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.274365ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.497582207Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.5003529Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.770013ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.503870423Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.504030756Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=159.672µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.50762466Z level=info msg="Executing migration" id="create quota table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.508483153Z level=info msg="Migration successfully executed" id="create quota table v1" duration=858.053µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.513064663Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.514287061Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.221978ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.517904047Z level=info msg="Executing migration" id="Update quota table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.517927837Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=24.35µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.521273777Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.522002989Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=729.142µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.525231218Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.526222063Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=989.895µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.530277995Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.533096717Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.818412ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.536262456Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.536289226Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=27.6µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.539965132Z level=info msg="Executing migration" id="create session table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.540793744Z level=info msg="Migration successfully executed" id="create session table" duration=828.212µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.545265053Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.545384135Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=121.682µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.548806927Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.548926308Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=119.741µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.552396351Z level=info msg="Executing migration" id="create playlist table v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.553441377Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.045686ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.557491069Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.558573656Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.082187ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.563305478Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.563329908Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=25.181µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.566254073Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.566278153Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=24.52µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.569511722Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.574346005Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.825723ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.579583585Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.58252313Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.939555ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.585445094Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.585522345Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=79.171µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.587890042Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.587963203Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=73.441µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.59111743Z level=info msg="Executing migration" id="create preferences table v3" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.591915513Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=797.742µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.595930384Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.595968525Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=37.36µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.599570599Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.604415593Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.843614ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.607561281Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.607702693Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=141.522µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.613194477Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.616282033Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.087916ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.619541344Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.622655501Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.113267ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.625997572Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.626065783Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=67.711µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.629773869Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.630673803Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=899.934µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.634898187Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.637398975Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=2.431367ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.642561194Z level=info msg="Executing migration" id="create alert table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.643756161Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.195627ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.6482315Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.649267646Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.036306ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.652910881Z level=info msg="Executing migration" id="add index alert state" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.654506406Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.598195ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.658268723Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.659723885Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.452032ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.664268245Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.664991526Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=723.411µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.668477799Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.66988645Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.407011ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.673402603Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.674876896Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.474093ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.679280333Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.688606924Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.326091ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.717639967Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.718902366Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.247589ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.725572597Z 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:12 grafana | logger=migrator t=2024-04-05T18:14:27.727337924Z 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.764297ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.73229088Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.732829658Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=538.228µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.736515164Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.737383497Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=867.653µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.743209175Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.745023513Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.814268ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.749045815Z level=info msg="Executing migration" id="Add column is_default" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.752607779Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.562314ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.755860389Z level=info msg="Executing migration" id="Add column frequency" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.760238475Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.377216ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.766069784Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.770014704Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.94412ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.774164477Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.777868994Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.703997ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.793943158Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.794822042Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=879.114µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.800024361Z level=info msg="Executing migration" id="Update alert table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.800162673Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=158.722µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.806925736Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.806945957Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=21.121µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.809601236Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.810421299Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=819.893µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.813102589Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.81380346Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=700.811µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.820529053Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.821850053Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.32065ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.825065642Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.826500083Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.433991ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.837701744Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.841622034Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=3.91348ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.847714577Z level=info msg="Executing migration" id="Add for to alert table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.853597796Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.881649ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.856626252Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.860452481Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.826369ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.863455496Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.863745031Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=288.565µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.87090653Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.872927191Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=2.020091ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.87817777Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.879191696Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.014026ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.882246542Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.885943518Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.696596ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.890260065Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.890423847Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=163.512µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.897815499Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.899263281Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.465392ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.906256988Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.907303514Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.049756ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.915937055Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.916104677Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=171.412µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.920388274Z level=info msg="Executing migration" id="create annotation table v5" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.921839746Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.450192ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.926229462Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.927951108Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.721496ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.934670691Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.935577014Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=906.113µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.93857866Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.940027542Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.448062ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.94318341Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.945008018Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.824518ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.951122401Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.952080996Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=957.975µs 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.954804847Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.954834588Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=27.401µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.95759534Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.96161003Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.01472ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.965560751Z level=info msg="Executing migration" id="Drop category_id index" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.966400193Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=839.402µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.968499685Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.972484056Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.983591ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.975191448Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.975968149Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=773.371µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.980618011Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.981687046Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.069805ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.984479079Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.985359002Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=879.333µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.987911221Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:27.99965607Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.745159ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.004498221Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.005055907Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=557.786µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.007646937Z 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:12 grafana | logger=migrator t=2024-04-05T18:14:28.008272474Z 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=625.007µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.011111757Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.011371091Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=261.224µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.015212985Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.015732301Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=519.406µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.018533333Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.018726075Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=191.722µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.02171227Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.025680846Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.968226ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.030087436Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.034082673Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.995517ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.03727028Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.03817573Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=904.81µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.040877532Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.041789532Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=913.81µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.046324004Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.046594078Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=270.974µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.04941796Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.053815811Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.397961ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.056809865Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.057781927Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=970.522µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.060582719Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.060782672Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=200.172µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.064878919Z level=info msg="Executing migration" id="Move region to single row" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.065329655Z level=info msg="Migration successfully executed" id="Move region to single row" duration=450.996µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.069080988Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.069999688Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=919.12µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.07277235Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.073831933Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.060873ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.079018832Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.080507339Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.486597ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.083293802Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.084333454Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.039242ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.087110786Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.088041497Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=930.301µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.093429679Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.094609712Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.182713ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.100039935Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.100108296Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=69.441µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.102991319Z level=info msg="Executing migration" id="create test_data table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.10388804Z level=info msg="Migration successfully executed" id="create test_data table" duration=896.991µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.109224181Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.110266454Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.044143ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.115750977Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.116783989Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.033082ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.119958376Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.120903107Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=944.331µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.123868211Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.124056253Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=188.152µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.126923747Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.12729309Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=369.083µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.132645413Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.132715073Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=70.13µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.136056792Z level=info msg="Executing migration" id="create team table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.13763133Z level=info msg="Migration successfully executed" id="create team table" duration=1.574158ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.140879478Z level=info msg="Executing migration" id="add index team.org_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.14193207Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.054103ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.147505004Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.148462305Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=956.751µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.151345458Z level=info msg="Executing migration" id="Add column uid in team" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.155838801Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.492863ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.196805934Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.197164138Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=358.484µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.203566192Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.204587615Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.022173ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.208770822Z level=info msg="Executing migration" id="create team member table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.209504871Z level=info msg="Migration successfully executed" id="create team member table" duration=735.609µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.212685768Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.213522027Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=835.989µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.221674102Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.223806836Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=2.131854ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.2327124Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.233801172Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.090802ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.236571874Z level=info msg="Executing migration" id="Add column email to team table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.240036224Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=3.46318ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.244549767Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.249007978Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.457021ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.254658673Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.25957967Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.920617ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.265046093Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.266063705Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.017002ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.270389084Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.271468917Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.078693ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.275722846Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.276983191Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.256805ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.281914828Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.282824008Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=908.74µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.290000302Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.290867252Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=866.54µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.294044088Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.294887968Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=842.99µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.299134818Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.300014098Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=878.5µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.304382628Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.305477681Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.095253ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.309146053Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.309946022Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=800.229µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.315374095Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.315602968Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=223.122µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.320629345Z level=info msg="Executing migration" id="create tag table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.321637548Z level=info msg="Migration successfully executed" id="create tag table" duration=1.006603ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.3262522Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.327647757Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.394987ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.331614173Z level=info msg="Executing migration" id="create login attempt table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.333015959Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.401996ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.338410362Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.339578554Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.167752ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.34437384Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.34527675Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=902.31µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.349149375Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.363864826Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.714721ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.366403345Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.367074553Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=671.038µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.370388181Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.371132649Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=744.158µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.374969364Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.375248887Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=279.173µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.37893982Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.37984262Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=903.85µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.383074487Z level=info msg="Executing migration" id="create user auth table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.384281231Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.208344ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.387981824Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.389565603Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.582889ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.393324176Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.393443337Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=119.721µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.397256162Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.40232582Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.069108ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.406012883Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.41094472Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.930867ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.414972866Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.420012814Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.041248ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.42387183Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.429205451Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.334001ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.431509368Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.432166076Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=656.778µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.43602542Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.441292461Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.266611ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.445689722Z level=info msg="Executing migration" id="create server_lock table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.446668123Z level=info msg="Migration successfully executed" id="create server_lock table" duration=978.241µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.450634039Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.452614312Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.988933ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.458223367Z level=info msg="Executing migration" id="create user auth token table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.459060726Z level=info msg="Migration successfully executed" id="create user auth token table" duration=837.469µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.465547781Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.46714975Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.601519ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.471573881Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.473311851Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.722289ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.477329057Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.478474051Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.145444ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.483087174Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.488491026Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.403652ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.491704114Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.492693285Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=988.891µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.497629712Z level=info msg="Executing migration" id="create cache_data table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.499034298Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.402846ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.504673113Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.50615689Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.482937ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.512669096Z level=info msg="Executing migration" id="create short_url table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.513346274Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=676.688µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.516800883Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.518359332Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.557669ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.521757201Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.521824522Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=68.101µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.526137402Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.526231903Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=94.521µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.532024469Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.533119733Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.095414ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.537126189Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.538657947Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.531379ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.543254599Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.544904759Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.65232ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.548216347Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.54841838Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=203.804µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.552195993Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.553151324Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=955.381µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.555919416Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.556818157Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=898.561µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.559503887Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.560514509Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.010212ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.564152221Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.565158833Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.006242ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.567886124Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.573471478Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.584644ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.5762263Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.577177602Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=951.032µs 18:16:12 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.579704821Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.579858913Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=152.932µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.583793288Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.584728168Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=935.06µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.587862435Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.589420383Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.557348ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.592274646Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.59344362Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.169324ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.597050931Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.597114902Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=63.901µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.599878754Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.600742824Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=865.2µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.603713289Z level=info msg="Executing migration" id="create alert_instance table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.60557157Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.857211ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.609421445Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.610489177Z 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.068311ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.613923046Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.615160491Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.236975ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.617768191Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.625706383Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.937142ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.628198332Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.629144903Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=946.361µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.632922516Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.634014479Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.091903ms 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.637818482Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.663089735Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=25.270422ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.680621677Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.713088563Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=32.467316ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.718821619Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.719597528Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=775.979µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.726389367Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.728086286Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.696029ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.787415792Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.795386564Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.971682ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.799723515Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.805472171Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.749796ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.810850463Z level=info msg="Executing migration" id="create alert_rule table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.811940596Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.087183ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.816109784Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.817216887Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.106683ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.821570067Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.823269107Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.70224ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.832849778Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.834656298Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.8066ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.841301935Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.841486547Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=188.392µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.845818307Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.855514289Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.695722ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.861391768Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.866021511Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.628443ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.870183509Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.876760686Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.574267ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.88321647Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.885623427Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=2.406037ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.889062367Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.89011169Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.048763ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.894179517Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.903515715Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.334928ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.909591025Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.917617888Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=8.025643ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.921500603Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.922441623Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=940.7µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.926720773Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.932635731Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.914808ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.939125156Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.94641959Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=7.291314ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.950514597Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.950565758Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=51.451µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.957194735Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.959056566Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.861451ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.9645597Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.965648613Z 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.089543ms 18:16:12 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:12 policy-db-migrator | JOIN pdpstatistics b 18:16:12 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:12 policy-db-migrator | SET a.id = b.id 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:12 policy-db-migrator | -------------- 18:16:12 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:12 grafana | logger=migrator t=2024-04-05T18:14:28.970093084Z 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:12 policy-db-migrator | -------------- 18:16:12 prometheus | ts=2024-04-05T18:14:25.728Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.971166596Z 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.072962ms 18:16:12 policy-db-migrator | 18:16:12 prometheus | ts=2024-04-05T18:14:25.729Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.1, branch=HEAD, revision=855b5ac4b80956874eb1790a04c92327f2f99e38)" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.975040211Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:12 policy-db-migrator | 18:16:12 prometheus | ts=2024-04-05T18:14:25.729Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@d3785d7783f2, date=20240328-09:27:30, tags=netgo,builtinassets,stringlabels)" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.975107992Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=68.491µs 18:16:12 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:12 prometheus | ts=2024-04-05T18:14:25.729Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.979397371Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:12 policy-db-migrator | -------------- 18:16:12 prometheus | ts=2024-04-05T18:14:25.729Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.985896347Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.498606ms 18:16:12 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:12 prometheus | ts=2024-04-05T18:14:25.729Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.989963393Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:12 policy-db-migrator | -------------- 18:16:12 prometheus | ts=2024-04-05T18:14:25.735Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.996099994Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.134691ms 18:16:12 policy-db-migrator | 18:16:12 prometheus | ts=2024-04-05T18:14:25.736Z caller=main.go:1129 level=info msg="Starting TSDB ..." 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:28.999828927Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:12 policy-db-migrator | 18:16:12 prometheus | ts=2024-04-05T18:14:25.739Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.005977425Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.147557ms 18:16:12 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:12 prometheus | ts=2024-04-05T18:14:25.739Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.011066469Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:12 policy-db-migrator | -------------- 18:16:12 prometheus | ts=2024-04-05T18:14:25.743Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.018582515Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.514586ms 18:16:12 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:12 prometheus | ts=2024-04-05T18:14:25.743Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=4.46µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.022433875Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:12 policy-db-migrator | -------------- 18:16:12 prometheus | ts=2024-04-05T18:14:25.743Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.028581288Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.147113ms 18:16:12 policy-db-migrator | 18:16:12 prometheus | ts=2024-04-05T18:14:25.743Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.031318821Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:12 policy-db-migrator | 18:16:12 prometheus | ts=2024-04-05T18:14:25.743Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=33.231µs wal_replay_duration=342.035µs wbl_replay_duration=470ns total_replay_duration=452.767µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.031384082Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.64µs 18:16:12 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:12 prometheus | ts=2024-04-05T18:14:25.745Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.034219266Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:12 policy-db-migrator | -------------- 18:16:12 prometheus | ts=2024-04-05T18:14:25.745Z caller=main.go:1153 level=info msg="TSDB started" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.035016018Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=794.492µs 18:16:12 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:12 prometheus | ts=2024-04-05T18:14:25.745Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.039988164Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:12 policy-db-migrator | -------------- 18:16:12 prometheus | ts=2024-04-05T18:14:25.747Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.396014ms db_storage=1.79µs remote_storage=2.26µs web_handler=940ns query_engine=1.44µs scrape=229.044µs scrape_sd=129.672µs notify=38.39µs notify_sd=10.93µs rules=2.36µs tracing=6.911µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.047470639Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=7.485285ms 18:16:12 policy-db-migrator | 18:16:12 prometheus | ts=2024-04-05T18:14:25.747Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.052955413Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:12 policy-db-migrator | 18:16:12 prometheus | ts=2024-04-05T18:14:25.747Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.053007754Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=53.111µs 18:16:12 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.056537258Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.062020563Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=5.480245ms 18:16:12 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:12 grafana | logger=migrator t=2024-04-05T18:14:29.065956084Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.067451507Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.495022ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.073268086Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.080422396Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=7.1571ms 18:16:12 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.084875795Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.085807689Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=929.894µs 18:16:12 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:12 grafana | logger=migrator t=2024-04-05T18:14:29.091193732Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.092244667Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.051165ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.096394461Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.102731579Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.336528ms 18:16:12 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.107847158Z level=info msg="Executing migration" id="create provenance_type table" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.108703691Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=856.033µs 18:16:12 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.113951771Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.115594397Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.641946ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.156562526Z level=info msg="Executing migration" id="create alert_image table" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.157835016Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.27252ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.162996385Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:12 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.165159429Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=2.162644ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.170599382Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:12 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.170769916Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=171.164µs 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.175088162Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.176144778Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.056285ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.180695188Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:12 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.182378003Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.682305ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.186843773Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:12 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.18734003Z 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:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.190067202Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.19058618Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=518.408µs 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.194722004Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:12 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.196789555Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.067031ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.201291684Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:12 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.209216427Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.925263ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.213745036Z level=info msg="Executing migration" id="create library_element table v1" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.214861223Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.116127ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.222166455Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:12 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.224148896Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.981771ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.228244309Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.229189213Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=943.894µs 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.233050823Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.23419489Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.144427ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.238370634Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:12 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.239692635Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.319881ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.245435863Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.245618486Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=183.873µs 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.248760174Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:12 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.249017608Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=258.024µs 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.252939129Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:12 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.253354745Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=415.726µs 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.262187351Z level=info msg="Executing migration" id="create data_keys table" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.263865567Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.678276ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.269770937Z level=info msg="Executing migration" id="create secrets table" 18:16:12 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.270699871Z level=info msg="Migration successfully executed" id="create secrets table" duration=928.914µs 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.276580922Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.307699222Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.11816ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.313131046Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:12 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.318908945Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.776599ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.322291307Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:12 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.322532851Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=241.334µs 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.326054205Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.356975134Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=30.919289ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.359797057Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:12 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.388152995Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=28.355498ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.392394Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.393294144Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=899.214µs 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.39619302Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:12 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.397376067Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.182857ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.401649243Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:12 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.401980879Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=331.276µs 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.406016141Z level=info msg="Executing migration" id="create permission table" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.406982376Z level=info msg="Migration successfully executed" id="create permission table" duration=965.475µs 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.409964122Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:12 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.41108522Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.120488ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.414059295Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:12 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.415236954Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.175479ms 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.419687612Z level=info msg="Executing migration" id="create role table" 18:16:12 policy-db-migrator | 18:16:12 policy-db-migrator | msg 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.420673708Z level=info msg="Migration successfully executed" id="create role table" duration=985.786µs 18:16:12 policy-db-migrator | upgrade to 1100 completed 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.423576683Z level=info msg="Executing migration" id="add column display_name" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.43115703Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.581457ms 18:16:12 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.43441217Z level=info msg="Executing migration" id="add column group_name" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.44158759Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.17554ms 18:16:12 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.446142581Z level=info msg="Executing migration" id="add index role.org_id" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.448092722Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.953661ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.45126626Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.452345777Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.079077ms 18:16:12 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.457639349Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.458678745Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.042646ms 18:16:12 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.46157057Z level=info msg="Executing migration" id="create team role table" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.462421283Z level=info msg="Migration successfully executed" id="create team role table" duration=850.323µs 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.465213146Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.466277183Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.063347ms 18:16:12 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.47129725Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.472434077Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.135897ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.475059928Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.476083174Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.022526ms 18:16:12 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.47906714Z level=info msg="Executing migration" id="create user role table" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.479923323Z level=info msg="Migration successfully executed" id="create user role table" duration=855.863µs 18:16:12 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:12 grafana | logger=migrator t=2024-04-05T18:14:29.485218656Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.486768369Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.549204ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.490926973Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.493119187Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.193604ms 18:16:12 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.497700349Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.498787065Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.086716ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.501658239Z level=info msg="Executing migration" id="create builtin role table" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.502581984Z level=info msg="Migration successfully executed" id="create builtin role table" duration=923.125µs 18:16:12 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.506586155Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.507693383Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.107458ms 18:16:12 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:12 grafana | logger=migrator t=2024-04-05T18:14:29.510581177Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.511690775Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.109518ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.515363031Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.523216492Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.852541ms 18:16:12 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.527462798Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.528264Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=799.672µs 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.530945012Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.531747034Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=799.572µs 18:16:12 policy-db-migrator | TRUNCATE TABLE sequence 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.534685839Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.536417676Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.731547ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.541275162Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.542352118Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.077166ms 18:16:12 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.545406405Z level=info msg="Executing migration" id="create seed assignment table" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.546227478Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=820.703µs 18:16:12 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.549339946Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.550453603Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.112917ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.555203187Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.564147905Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.944218ms 18:16:12 policy-db-migrator | DROP TABLE pdpstatistics 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.571857195Z level=info msg="Executing migration" id="permission kind migration" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.579793777Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.935942ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.5890377Z level=info msg="Executing migration" id="permission attribute migration" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.601234378Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=12.196428ms 18:16:12 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.647144338Z level=info msg="Executing migration" id="permission identifier migration" 18:16:12 policy-db-migrator | -------------- 18:16:12 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.655175932Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.032564ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.660390612Z level=info msg="Executing migration" id="add permission identifier index" 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.661764273Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.374901ms 18:16:12 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.66540679Z level=info msg="Executing migration" id="add permission action scope role_id index" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.666954743Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.546993ms 18:16:12 policy-db-migrator | DROP TABLE statistics_sequence 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.673346032Z level=info msg="Executing migration" id="remove permission role_id action scope index" 18:16:12 policy-db-migrator | -------------- 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.675254592Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.90866ms 18:16:12 policy-db-migrator | 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.678911768Z level=info msg="Executing migration" id="create query_history table v1" 18:16:12 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.681108223Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=2.197505ms 18:16:12 policy-db-migrator | name version 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.685295737Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:12 policy-db-migrator | policyadmin 1300 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.686434054Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.138117ms 18:16:12 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.691425902Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:12 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.691640026Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=214.724µs 18:16:12 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.694408328Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:12 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.69454091Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=133.342µs 18:16:12 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.697354494Z level=info msg="Executing migration" id="teams permissions migration" 18:16:12 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.697961853Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=607.009µs 18:16:12 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.700321749Z level=info msg="Executing migration" id="dashboard permissions" 18:16:12 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.701064741Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=743.932µs 18:16:12 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.707554571Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:12 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.708860841Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.271849ms 18:16:12 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.713827198Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:12 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.714426797Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=595.959µs 18:16:12 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.717938041Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:12 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.718557961Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=619.98µs 18:16:12 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.721577557Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:12 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.722483262Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=905.285µs 18:16:12 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.728083599Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:12 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.729309667Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.225748ms 18:16:12 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.733888228Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:12 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.742008334Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.119786ms 18:16:12 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.745363675Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:12 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.745507278Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=140.853µs 18:16:12 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.749839055Z level=info msg="Executing migration" id="create correlation table v1" 18:16:12 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.750698978Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=859.673µs 18:16:12 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.756888654Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:12 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:35 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.75927345Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.384876ms 18:16:12 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.768623225Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:12 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.769837203Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.214228ms 18:16:12 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.775750816Z level=info msg="Executing migration" id="add correlation config column" 18:16:12 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.787840442Z level=info msg="Migration successfully executed" id="add correlation config column" duration=12.090067ms 18:16:12 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.79224482Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:12 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.793363557Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.118997ms 18:16:12 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.797913197Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:12 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.799069616Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.156419ms 18:16:12 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.804591881Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:12 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.827294701Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.70218ms 18:16:12 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.830840756Z level=info msg="Executing migration" id="create correlation v2" 18:16:12 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.832131866Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.2899ms 18:16:12 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.836575635Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:12 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.837687822Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.109807ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.840996973Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:12 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.842222893Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.22539ms 18:16:12 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.845790998Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:12 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.846937645Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.146227ms 18:16:12 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.851112229Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:12 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.851453035Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=340.336µs 18:16:12 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.854845978Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:12 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.8556623Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=816.092µs 18:16:12 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.859082483Z level=info msg="Executing migration" id="add provisioning column" 18:16:12 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:36 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.869475324Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.393611ms 18:16:12 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.87378519Z level=info msg="Executing migration" id="create entity_events table" 18:16:12 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.874759025Z level=info msg="Migration successfully executed" id="create entity_events table" duration=973.015µs 18:16:12 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.8782994Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:12 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.879367077Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.067057ms 18:16:12 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.882734909Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:12 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.883242356Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:12 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.887204598Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:12 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.887713346Z 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:12 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.891177069Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:12 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.892552721Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.374332ms 18:16:12 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.896237617Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:12 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.898136027Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.89793ms 18:16:12 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.902437493Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:12 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.903599791Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.160248ms 18:16:12 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.907020483Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:12 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.908245323Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.224009ms 18:16:12 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.911454113Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:12 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.91260292Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.150897ms 18:16:12 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.916735354Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:12 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.91841523Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.678666ms 18:16:12 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.921936855Z level=info msg="Executing migration" id="Drop public config table" 18:16:12 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.923282885Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.34497ms 18:16:12 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.927709074Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:12 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.928969623Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.257989ms 18:16:12 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:37 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.932057421Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:12 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.933228679Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.171299ms 18:16:12 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.936484599Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:12 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.937669697Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.184768ms 18:16:12 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.941862752Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:12 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.943077131Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.214309ms 18:16:12 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.946453424Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:12 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.970807249Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=24.353365ms 18:16:12 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.974196792Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:12 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.980511269Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.313667ms 18:16:12 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.984958459Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:12 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.993362928Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.403839ms 18:16:12 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.996989344Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:12 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:29.997290289Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=300.535µs 18:16:12 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.000823773Z level=info msg="Executing migration" id="add share column" 18:16:12 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.00958793Z level=info msg="Migration successfully executed" id="add share column" duration=8.765547ms 18:16:12 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.014252111Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:12 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:38 18:16:12 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.014535486Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=282.985µs 18:16:12 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.01802137Z level=info msg="Executing migration" id="create file table" 18:16:12 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0504241814340800u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.019055416Z level=info msg="Migration successfully executed" id="create file table" duration=1.033716ms 18:16:12 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.022428008Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:12 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.023585577Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.157239ms 18:16:12 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.027972105Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:12 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.029342886Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.371841ms 18:16:12 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.032667818Z level=info msg="Executing migration" id="create file_meta table" 18:16:12 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.033611412Z level=info msg="Migration successfully executed" id="create file_meta table" duration=942.874µs 18:16:12 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.037036645Z level=info msg="Executing migration" id="file table idx: path key" 18:16:12 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.038280545Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.24308ms 18:16:12 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.043253892Z level=info msg="Executing migration" id="set path collation in file table" 18:16:12 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.043402804Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=148.672µs 18:16:12 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.0476378Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:12 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.047889173Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=250.943µs 18:16:12 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0504241814340900u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.051555701Z level=info msg="Executing migration" id="managed permissions migration" 18:16:12 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0504241814341000u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.052607197Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.050896ms 18:16:12 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0504241814341000u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.056342005Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:12 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0504241814341000u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.056786312Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=443.877µs 18:16:12 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0504241814341000u 1 2024-04-05 18:14:39 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.060460018Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:12 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0504241814341000u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.06184546Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.385022ms 18:16:12 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0504241814341000u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.066560313Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.075375861Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.815088ms 18:16:12 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0504241814341000u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.078865375Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:12 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0504241814341000u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.079111898Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=246.153µs 18:16:12 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0504241814341000u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.11212522Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:12 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0504241814341100u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.113795217Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.667657ms 18:16:12 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0504241814341200u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.118805774Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:12 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0504241814341200u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.119270781Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=465.887µs 18:16:12 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0504241814341200u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.122563432Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:12 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0504241814341200u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.122853797Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=288.675µs 18:16:12 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0504241814341300u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.126001036Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:12 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0504241814341300u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.126554434Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=553.148µs 18:16:12 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0504241814341300u 1 2024-04-05 18:14:40 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.129707973Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:12 policy-db-migrator | policyadmin: OK @ 1300 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.142977589Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=13.271596ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.152234273Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.163501468Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=11.270175ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.16690172Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.167887516Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=985.426µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.170910452Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.243367827Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=72.455235ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.247349858Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.248560477Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.210889ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.251589394Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.252823293Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.233079ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.256100445Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.278938658Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=22.838273ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.282957021Z level=info msg="Executing migration" id="add origin column to seed_assignment" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.290945946Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.989525ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.294164965Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.29444257Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=277.125µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.298069306Z level=info msg="Executing migration" id="prevent seeding OnCall access" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.298249298Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=179.882µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.301182304Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.301619381Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=436.317µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.305204386Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.305659954Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=458.358µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.310372646Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.310676241Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=303.385µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.314828206Z level=info msg="Executing migration" id="create folder table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.315816691Z level=info msg="Migration successfully executed" id="create folder table" duration=987.895µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.31891889Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.321141274Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.221744ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.32476833Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.3266683Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.89988ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.330872145Z level=info msg="Executing migration" id="Update folder title length" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.330969986Z level=info msg="Migration successfully executed" id="Update folder title length" duration=73.021µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.334254488Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.335462336Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.207018ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.338732257Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.339846393Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.112216ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.344144341Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.345853987Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.707946ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.349591775Z level=info msg="Executing migration" id="Sync dashboard and folder table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.350464349Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=873.035µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.353946303Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.354271467Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=326.124µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.358536074Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.359635631Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.098077ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.363166776Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.365089726Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.92243ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.368845334Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.370612971Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.767877ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.374693154Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.375935014Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.23907ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.379038782Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.380149479Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.110457ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.38336266Z level=info msg="Executing migration" id="create anon_device table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.384385665Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.022365ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.3885604Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.389822289Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.260449ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.393156681Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.394343899Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.187038ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.398936761Z level=info msg="Executing migration" id="create signing_key table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.400054078Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.115216ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.403988979Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.405839558Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.850209ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.409731858Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.411672318Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.94027ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.416095586Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.416705176Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=610.54µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.420312802Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.429607277Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.294115ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.43301135Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.433755091Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=744.601µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.437206295Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.438380272Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.173427ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.442804062Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.443939939Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.134987ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.44720019Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.448355367Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.154657ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.454136338Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.456350502Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.222955ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.460922742Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.462764511Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.841309ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.466220735Z level=info msg="Executing migration" id="create sso_setting table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.467392613Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.171268ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.473200173Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.474518124Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.317181ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.478263141Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.4787837Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=521.679µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.482529167Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.48267035Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=140.793µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.486952127Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.496637166Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.684389ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.500000469Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.509003338Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.002329ms 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.512609214Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.512911549Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=301.725µs 18:16:12 grafana | logger=migrator t=2024-04-05T18:14:30.517126265Z level=info msg="migrations completed" performed=548 skipped=0 duration=3.833190703s 18:16:12 grafana | logger=sqlstore t=2024-04-05T18:14:30.524736193Z level=info msg="Created default admin" user=admin 18:16:12 grafana | logger=sqlstore t=2024-04-05T18:14:30.525083578Z level=info msg="Created default organization" 18:16:12 grafana | logger=secrets t=2024-04-05T18:14:30.528766655Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:12 grafana | logger=plugin.store t=2024-04-05T18:14:30.549387775Z level=info msg="Loading plugins..." 18:16:12 grafana | logger=local.finder t=2024-04-05T18:14:30.598568408Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:12 grafana | logger=plugin.store t=2024-04-05T18:14:30.598606219Z level=info msg="Plugins loaded" count=55 duration=49.218294ms 18:16:12 grafana | logger=query_data t=2024-04-05T18:14:30.605634398Z level=info msg="Query Service initialization" 18:16:12 grafana | logger=live.push_http t=2024-04-05T18:14:30.61087573Z level=info msg="Live Push Gateway initialization" 18:16:12 grafana | logger=ngalert.migration t=2024-04-05T18:14:30.628030725Z level=info msg=Starting 18:16:12 grafana | logger=ngalert.migration t=2024-04-05T18:14:30.628754867Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 18:16:12 grafana | logger=ngalert.migration orgID=1 t=2024-04-05T18:14:30.629426257Z level=info msg="Migrating alerts for organisation" 18:16:12 grafana | logger=ngalert.migration orgID=1 t=2024-04-05T18:14:30.630383453Z level=info msg="Alerts found to migrate" alerts=0 18:16:12 grafana | logger=ngalert.migration t=2024-04-05T18:14:30.633186296Z level=info msg="Completed alerting migration" 18:16:12 grafana | logger=ngalert.state.manager t=2024-04-05T18:14:30.65799517Z level=info msg="Running in alternative execution of Error/NoData mode" 18:16:12 grafana | logger=infra.usagestats.collector t=2024-04-05T18:14:30.659618205Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:12 grafana | logger=provisioning.datasources t=2024-04-05T18:14:30.661512615Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:16:12 grafana | logger=provisioning.alerting t=2024-04-05T18:14:30.677127287Z level=info msg="starting to provision alerting" 18:16:12 grafana | logger=provisioning.alerting t=2024-04-05T18:14:30.677162978Z level=info msg="finished to provision alerting" 18:16:12 grafana | logger=ngalert.state.manager t=2024-04-05T18:14:30.678384797Z level=info msg="Warming state cache for startup" 18:16:12 grafana | logger=grafanaStorageLogger t=2024-04-05T18:14:30.679115178Z level=info msg="Storage starting" 18:16:12 grafana | logger=ngalert.multiorg.alertmanager t=2024-04-05T18:14:30.67924619Z level=info msg="Starting MultiOrg Alertmanager" 18:16:12 grafana | logger=http.server t=2024-04-05T18:14:30.681384873Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:12 grafana | logger=ngalert.state.manager t=2024-04-05T18:14:30.697049177Z level=info msg="State cache has been initialized" states=0 duration=18.66027ms 18:16:12 grafana | logger=ngalert.scheduler t=2024-04-05T18:14:30.697096277Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 18:16:12 grafana | logger=ticker t=2024-04-05T18:14:30.697324591Z level=info msg=starting first_tick=2024-04-05T18:14:40Z 18:16:12 grafana | logger=provisioning.dashboard t=2024-04-05T18:14:30.756382126Z level=info msg="starting to provision dashboards" 18:16:12 grafana | logger=grafana.update.checker t=2024-04-05T18:14:30.764248789Z level=info msg="Update check succeeded" duration=86.134776ms 18:16:12 grafana | logger=plugins.update.checker t=2024-04-05T18:14:30.765237064Z level=info msg="Update check succeeded" duration=86.157897ms 18:16:12 grafana | logger=provisioning.dashboard t=2024-04-05T18:14:30.96018173Z level=info msg="finished to provision dashboards" 18:16:12 grafana | logger=grafana-apiserver t=2024-04-05T18:14:31.028544208Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 18:16:12 grafana | logger=grafana-apiserver t=2024-04-05T18:14:31.028958713Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 18:16:12 grafana | logger=infra.usagestats t=2024-04-05T18:15:41.689956222Z level=info msg="Usage stats are ready to report" 18:16:12 ++ echo 'Tearing down containers...' 18:16:12 Tearing down containers... 18:16:12 ++ docker-compose down -v --remove-orphans 18:16:13 Stopping policy-api ... 18:16:13 Stopping grafana ... 18:16:13 Stopping prometheus ... 18:16:13 Stopping mariadb ... 18:16:13 Stopping grafana ... done 18:16:14 Stopping prometheus ... done 18:16:14 Stopping mariadb ... done 18:16:23 Stopping policy-api ... done 18:16:23 Removing policy-api ... 18:16:23 Removing policy-db-migrator ... 18:16:23 Removing grafana ... 18:16:23 Removing prometheus ... 18:16:23 Removing mariadb ... 18:16:23 Removing policy-db-migrator ... done 18:16:23 Removing policy-api ... done 18:16:23 Removing grafana ... done 18:16:23 Removing mariadb ... done 18:16:23 Removing prometheus ... done 18:16:23 Removing network compose_default 18:16:23 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:23 + load_set 18:16:23 + _setopts=hxB 18:16:23 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:23 ++ tr : ' ' 18:16:23 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:23 + set +o braceexpand 18:16:23 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:23 + set +o hashall 18:16:23 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:23 + set +o interactive-comments 18:16:23 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:23 + set +o xtrace 18:16:23 ++ echo hxB 18:16:23 ++ sed 's/./& /g' 18:16:23 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:23 + set +h 18:16:23 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:23 + set +x 18:16:23 + [[ -n /tmp/tmp.sp0llUKIlP ]] 18:16:23 + rsync -av /tmp/tmp.sp0llUKIlP/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:23 sending incremental file list 18:16:23 ./ 18:16:23 log.html 18:16:23 output.xml 18:16:23 report.html 18:16:23 testplan.txt 18:16:23 18:16:23 sent 1,345,323 bytes received 95 bytes 2,690,836.00 bytes/sec 18:16:23 total size is 1,344,673 speedup is 1.00 18:16:23 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:23 + exit 0 18:16:23 $ ssh-agent -k 18:16:23 unset SSH_AUTH_SOCK; 18:16:23 unset SSH_AGENT_PID; 18:16:23 echo Agent pid 2058 killed; 18:16:23 [ssh-agent] Stopped. 18:16:24 Robot results publisher started... 18:16:24 INFO: Checking test criticality is deprecated and will be dropped in a future release! 18:16:24 -Parsing output xml: 18:16:24 Done! 18:16:24 WARNING! Could not find file: **/log.html 18:16:24 WARNING! Could not find file: **/report.html 18:16:24 -Copying log files to build dir: 18:16:24 Done! 18:16:24 -Assigning results to build: 18:16:24 Done! 18:16:24 -Checking thresholds: 18:16:24 Done! 18:16:24 Done publishing Robot results. 18:16:24 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:24 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11764748972775522197.sh 18:16:24 ---> sysstat.sh 18:16:25 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14372298601397645127.sh 18:16:25 ---> package-listing.sh 18:16:25 ++ tr '[:upper:]' '[:lower:]' 18:16:25 ++ facter osfamily 18:16:25 + OS_FAMILY=debian 18:16:25 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:25 + START_PACKAGES=/tmp/packages_start.txt 18:16:25 + END_PACKAGES=/tmp/packages_end.txt 18:16:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:25 + PACKAGES=/tmp/packages_start.txt 18:16:25 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:25 + PACKAGES=/tmp/packages_end.txt 18:16:25 + case "${OS_FAMILY}" in 18:16:25 + dpkg -l 18:16:25 + grep '^ii' 18:16:25 + '[' -f /tmp/packages_start.txt ']' 18:16:25 + '[' -f /tmp/packages_end.txt ']' 18:16:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:25 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:25 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:25 + 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:25 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5528191952062158381.sh 18:16:25 ---> capture-instance-metadata.sh 18:16:25 Setup pyenv: 18:16:25 system 18:16:25 3.8.13 18:16:25 3.9.13 18:16:25 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:25 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FI8O from file:/tmp/.os_lf_venv 18:16:26 lf-activate-venv(): INFO: Installing: lftools 18:16:36 lf-activate-venv(): INFO: Adding /tmp/venv-FI8O/bin to PATH 18:16:36 INFO: Running in OpenStack, capturing instance metadata 18:16:36 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1146122635762203480.sh 18:16:36 provisioning config files... 18:16:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config6577132668625457346tmp 18:16:36 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:36 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:36 [EnvInject] - Injecting environment variables from a build step. 18:16:36 [EnvInject] - Injecting as environment variables the properties content 18:16:36 SERVER_ID=logs 18:16:36 18:16:36 [EnvInject] - Variables injected successfully. 18:16:36 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3457760423971356354.sh 18:16:36 ---> create-netrc.sh 18:16:37 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12285486227968266696.sh 18:16:37 ---> python-tools-install.sh 18:16:37 Setup pyenv: 18:16:37 system 18:16:37 3.8.13 18:16:37 3.9.13 18:16:37 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:37 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FI8O from file:/tmp/.os_lf_venv 18:16:38 lf-activate-venv(): INFO: Installing: lftools 18:16:46 lf-activate-venv(): INFO: Adding /tmp/venv-FI8O/bin to PATH 18:16:46 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1727962284378780036.sh 18:16:46 ---> sudo-logs.sh 18:16:46 Archiving 'sudo' log.. 18:16:46 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7188574105397180435.sh 18:16:46 ---> job-cost.sh 18:16:46 Setup pyenv: 18:16:46 system 18:16:46 3.8.13 18:16:46 3.9.13 18:16:46 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:47 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FI8O from file:/tmp/.os_lf_venv 18:16:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:16:52 lf-activate-venv(): INFO: Adding /tmp/venv-FI8O/bin to PATH 18:16:52 INFO: No Stack... 18:16:53 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:53 INFO: Archiving Costs 18:16:53 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins2124538578216303833.sh 18:16:53 ---> logs-deploy.sh 18:16:53 Setup pyenv: 18:16:53 system 18:16:53 3.8.13 18:16:53 3.9.13 18:16:53 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:53 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FI8O from file:/tmp/.os_lf_venv 18:16:55 lf-activate-venv(): INFO: Installing: lftools 18:17:03 lf-activate-venv(): INFO: Adding /tmp/venv-FI8O/bin to PATH 18:17:03 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/146 18:17:03 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:17:04 Archives upload complete. 18:17:04 INFO: archiving logs to Nexus 18:17:05 ---> uname -a: 18:17:05 Linux prd-ubuntu1804-docker-8c-8g-20796 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:05 18:17:05 18:17:05 ---> lscpu: 18:17:05 Architecture: x86_64 18:17:05 CPU op-mode(s): 32-bit, 64-bit 18:17:05 Byte Order: Little Endian 18:17:05 CPU(s): 8 18:17:05 On-line CPU(s) list: 0-7 18:17:05 Thread(s) per core: 1 18:17:05 Core(s) per socket: 1 18:17:05 Socket(s): 8 18:17:05 NUMA node(s): 1 18:17:05 Vendor ID: AuthenticAMD 18:17:05 CPU family: 23 18:17:05 Model: 49 18:17:05 Model name: AMD EPYC-Rome Processor 18:17:05 Stepping: 0 18:17:05 CPU MHz: 2799.996 18:17:05 BogoMIPS: 5599.99 18:17:05 Virtualization: AMD-V 18:17:05 Hypervisor vendor: KVM 18:17:05 Virtualization type: full 18:17:05 L1d cache: 32K 18:17:05 L1i cache: 32K 18:17:05 L2 cache: 512K 18:17:05 L3 cache: 16384K 18:17:05 NUMA node0 CPU(s): 0-7 18:17:05 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:05 18:17:05 18:17:05 ---> nproc: 18:17:05 8 18:17:05 18:17:05 18:17:05 ---> df -h: 18:17:05 Filesystem Size Used Avail Use% Mounted on 18:17:05 udev 16G 0 16G 0% /dev 18:17:05 tmpfs 3.2G 708K 3.2G 1% /run 18:17:05 /dev/vda1 155G 12G 144G 8% / 18:17:05 tmpfs 16G 0 16G 0% /dev/shm 18:17:05 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:05 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:05 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:05 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:05 18:17:05 18:17:05 ---> free -m: 18:17:05 total used free shared buff/cache available 18:17:05 Mem: 32167 827 27338 0 4001 30884 18:17:05 Swap: 1023 0 1023 18:17:05 18:17:05 18:17:05 ---> ip addr: 18:17:05 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:05 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:05 inet 127.0.0.1/8 scope host lo 18:17:05 valid_lft forever preferred_lft forever 18:17:05 inet6 ::1/128 scope host 18:17:05 valid_lft forever preferred_lft forever 18:17:05 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:17:05 link/ether fa:16:3e:bf:9d:65 brd ff:ff:ff:ff:ff:ff 18:17:05 inet 10.30.106.210/23 brd 10.30.107.255 scope global dynamic ens3 18:17:05 valid_lft 86057sec preferred_lft 86057sec 18:17:05 inet6 fe80::f816:3eff:febf:9d65/64 scope link 18:17:05 valid_lft forever preferred_lft forever 18:17:05 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:05 link/ether 02:42:ae:3e:82:55 brd ff:ff:ff:ff:ff:ff 18:17:05 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:05 valid_lft forever preferred_lft forever 18:17:05 18:17:05 18:17:05 ---> sar -b -r -n DEV: 18:17:05 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-20796) 04/05/24 _x86_64_ (8 CPU) 18:17:05 18:17:05 18:11:24 LINUX RESTART (8 CPU) 18:17:05 18:17:05 18:12:01 tps rtps wtps bread/s bwrtn/s 18:17:05 18:13:01 100.85 22.78 78.07 1178.07 23571.67 18:17:05 18:14:01 122.53 23.18 99.35 2784.20 28574.04 18:17:05 18:15:01 383.34 12.30 371.04 796.93 81517.33 18:17:05 18:16:01 14.43 0.00 14.43 0.00 17155.37 18:17:05 18:17:01 66.55 2.03 64.52 117.93 20487.73 18:17:05 Average: 137.78 12.09 125.68 978.27 34306.82 18:17:05 18:17:05 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:05 18:13:01 30121608 31696108 2817612 8.55 69756 1815816 1438652 4.23 875252 1651780 143572 18:17:05 18:14:01 28952160 31696256 3987060 12.10 103208 2912008 1381268 4.06 959728 2653376 917120 18:17:05 18:15:01 27010920 30681560 5928300 18.00 128660 3765256 4294584 12.64 2061344 3410532 732 18:17:05 18:16:01 26909132 30580704 6030088 18.31 128772 3765820 4228700 12.44 2163688 3410424 80 18:17:05 18:17:01 27960348 31589780 4978872 15.12 130772 3732544 1479792 4.35 1189568 3361232 2436 18:17:05 Average: 28190834 31248882 4748386 14.42 112234 3198289 2564599 7.55 1449916 2897469 212788 18:17:05 18:17:05 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:05 18:13:01 ens3 53.69 38.88 826.71 7.26 0.00 0.00 0.00 0.00 18:17:05 18:13:01 lo 1.53 1.53 0.18 0.18 0.00 0.00 0.00 0.00 18:17:05 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:05 18:14:01 ens3 170.29 113.68 4608.80 12.78 0.00 0.00 0.00 0.00 18:17:05 18:14:01 br-1f302e6ff662 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:05 18:14:01 lo 6.40 6.40 0.60 0.60 0.00 0.00 0.00 0.00 18:17:05 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:05 18:15:01 veth08a2ae1 87.02 106.50 63.08 25.42 0.00 0.00 0.00 0.01 18:17:05 18:15:01 ens3 184.70 114.63 5581.03 9.00 0.00 0.00 0.00 0.00 18:17:05 18:15:01 br-1f302e6ff662 1.37 1.47 1.51 0.88 0.00 0.00 0.00 0.00 18:17:05 18:15:01 lo 5.82 5.82 2.39 2.39 0.00 0.00 0.00 0.00 18:17:05 18:16:01 veth08a2ae1 43.83 53.42 51.51 13.54 0.00 0.00 0.00 0.00 18:17:05 18:16:01 ens3 4.00 3.50 1.08 1.91 0.00 0.00 0.00 0.00 18:17:05 18:16:01 br-1f302e6ff662 2.50 2.75 4.68 1.64 0.00 0.00 0.00 0.00 18:17:05 18:16:01 lo 8.80 8.80 6.50 6.50 0.00 0.00 0.00 0.00 18:17:05 18:17:01 ens3 59.40 53.47 80.39 27.04 0.00 0.00 0.00 0.00 18:17:05 18:17:01 lo 7.44 7.44 0.66 0.66 0.00 0.00 0.00 0.00 18:17:05 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:05 Average: ens3 94.53 64.87 2226.68 11.54 0.00 0.00 0.00 0.00 18:17:05 Average: lo 5.99 5.99 2.07 2.07 0.00 0.00 0.00 0.00 18:17:05 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:05 18:17:05 18:17:05 ---> sar -P ALL: 18:17:05 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-20796) 04/05/24 _x86_64_ (8 CPU) 18:17:05 18:17:05 18:11:24 LINUX RESTART (8 CPU) 18:17:05 18:17:05 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:17:05 18:13:01 all 9.56 0.00 0.72 3.09 0.03 86.60 18:17:05 18:13:01 0 0.28 0.00 0.12 0.13 0.02 99.45 18:17:05 18:13:01 1 1.62 0.00 0.40 0.97 0.05 96.96 18:17:05 18:13:01 2 10.80 0.00 0.58 1.47 0.02 87.12 18:17:05 18:13:01 3 0.63 0.00 0.67 9.50 0.02 89.18 18:17:05 18:13:01 4 38.81 0.00 2.07 3.33 0.08 55.70 18:17:05 18:13:01 5 19.06 0.00 1.35 0.37 0.03 79.19 18:17:05 18:13:01 6 0.73 0.00 0.08 8.86 0.00 90.32 18:17:05 18:13:01 7 4.57 0.00 0.47 0.08 0.02 94.86 18:17:05 18:14:01 all 10.88 0.00 1.84 2.90 0.04 84.34 18:17:05 18:14:01 0 5.15 0.00 1.19 4.20 0.02 89.44 18:17:05 18:14:01 1 17.13 0.00 2.44 4.37 0.05 76.02 18:17:05 18:14:01 2 12.60 0.00 2.09 3.25 0.03 82.02 18:17:05 18:14:01 3 5.83 0.00 1.92 2.27 0.03 89.95 18:17:05 18:14:01 4 20.69 0.00 2.01 1.66 0.05 75.59 18:17:05 18:14:01 5 4.87 0.00 1.09 0.33 0.07 93.64 18:17:05 18:14:01 6 4.49 0.00 1.77 3.79 0.03 89.92 18:17:05 18:14:01 7 16.33 0.00 2.23 3.37 0.05 78.01 18:17:05 18:15:01 all 16.88 0.00 3.46 4.30 0.07 75.29 18:17:05 18:15:01 0 15.16 0.00 3.58 3.10 0.07 78.09 18:17:05 18:15:01 1 12.65 0.00 3.95 24.14 0.10 59.15 18:17:05 18:15:01 2 23.09 0.00 4.51 2.44 0.07 69.90 18:17:05 18:15:01 3 15.19 0.00 2.47 0.43 0.08 81.83 18:17:05 18:15:01 4 11.48 0.00 3.09 1.85 0.05 83.53 18:17:05 18:15:01 5 19.47 0.00 3.85 1.06 0.08 75.53 18:17:05 18:15:01 6 17.56 0.00 3.21 0.34 0.05 78.84 18:17:05 18:15:01 7 20.45 0.00 3.05 1.21 0.08 75.19 18:17:05 18:16:01 all 1.79 0.00 0.16 0.93 0.04 97.08 18:17:05 18:16:01 0 0.57 0.00 0.08 0.00 0.00 99.35 18:17:05 18:16:01 1 1.77 0.00 0.17 0.25 0.03 97.78 18:17:05 18:16:01 2 2.37 0.00 0.37 7.16 0.13 89.97 18:17:05 18:16:01 3 2.63 0.00 0.07 0.00 0.02 97.29 18:17:05 18:16:01 4 1.33 0.00 0.22 0.02 0.03 98.40 18:17:05 18:16:01 5 1.20 0.00 0.12 0.00 0.02 98.67 18:17:05 18:16:01 6 2.85 0.00 0.20 0.00 0.02 96.93 18:17:05 18:16:01 7 1.60 0.00 0.08 0.00 0.03 98.28 18:17:05 18:17:01 all 7.77 0.00 0.64 1.27 0.03 90.28 18:17:05 18:17:01 0 17.09 0.00 0.92 1.34 0.03 80.62 18:17:05 18:17:01 1 10.64 0.00 0.73 0.36 0.05 88.22 18:17:05 18:17:01 2 0.71 0.00 0.46 7.35 0.03 91.45 18:17:05 18:17:01 3 8.69 0.00 0.64 0.12 0.02 90.53 18:17:05 18:17:01 4 1.78 0.00 0.44 0.22 0.02 97.55 18:17:05 18:17:01 5 16.37 0.00 0.88 0.20 0.07 82.47 18:17:05 18:17:01 6 5.53 0.00 0.59 0.59 0.02 93.26 18:17:05 18:17:01 7 1.34 0.00 0.51 0.05 0.02 98.08 18:17:05 Average: all 9.37 0.00 1.36 2.50 0.04 86.73 18:17:05 Average: 0 7.61 0.00 1.18 1.75 0.03 89.43 18:17:05 Average: 1 8.74 0.00 1.53 5.98 0.06 83.70 18:17:05 Average: 2 9.92 0.00 1.60 4.33 0.06 84.09 18:17:05 Average: 3 6.58 0.00 1.15 2.46 0.03 89.77 18:17:05 Average: 4 14.84 0.00 1.57 1.42 0.05 82.13 18:17:05 Average: 5 12.17 0.00 1.46 0.39 0.05 85.93 18:17:05 Average: 6 6.22 0.00 1.17 2.73 0.02 89.86 18:17:05 Average: 7 8.85 0.00 1.27 0.94 0.04 88.89 18:17:05 18:17:05 18:17:05