18:12:04 Started by timer 18:12:04 Running as SYSTEM 18:12:04 [EnvInject] - Loading node environment variables. 18:12:04 Building remotely on prd-ubuntu1804-docker-8c-8g-35476 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:12:04 [ssh-agent] Looking for ssh-agent implementation... 18:12:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:12:04 $ ssh-agent 18:12:04 SSH_AUTH_SOCK=/tmp/ssh-uI9PNAgi31iN/agent.2154 18:12:04 SSH_AGENT_PID=2156 18:12:04 [ssh-agent] Started. 18:12:04 Running ssh-add (command line suppressed) 18:12:04 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_5581545672693834560.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_5581545672693834560.key) 18:12:04 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:12:04 The recommended git tool is: NONE 18:12:05 using credential onap-jenkins-ssh 18:12:06 Wiping out workspace first. 18:12:06 Cloning the remote Git repository 18:12:06 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:12:06 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:12:06 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:12:06 > git --version # timeout=10 18:12:06 > git --version # 'git version 2.17.1' 18:12:06 using GIT_SSH to set credentials Gerrit user 18:12:06 Verifying host key using manually-configured host key entries 18:12:06 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:12:06 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:12:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:07 Avoid second fetch 18:12:07 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:12:07 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:12:07 > git config core.sparsecheckout # timeout=10 18:12:07 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:12:07 Commit message: "Set Montreal default branch" 18:12:07 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:12:07 provisioning config files... 18:12:07 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:12:07 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:12:07 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13069215632515014166.sh 18:12:07 ---> python-tools-install.sh 18:12:07 Setup pyenv: 18:12:07 * system (set by /opt/pyenv/version) 18:12:07 * 3.8.13 (set by /opt/pyenv/version) 18:12:07 * 3.9.13 (set by /opt/pyenv/version) 18:12:07 * 3.10.6 (set by /opt/pyenv/version) 18:12:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1FCV 18:12:11 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:15 lf-activate-venv(): INFO: Installing: lftools 18:12:51 lf-activate-venv(): INFO: Adding /tmp/venv-1FCV/bin to PATH 18:12:51 Generating Requirements File 18:13:18 Python 3.10.6 18:13:19 pip 24.0 from /tmp/venv-1FCV/lib/python3.10/site-packages/pip (python 3.10) 18:13:19 appdirs==1.4.4 18:13:19 argcomplete==3.3.0 18:13:19 aspy.yaml==1.3.0 18:13:19 attrs==23.2.0 18:13:19 autopage==0.5.2 18:13:19 beautifulsoup4==4.12.3 18:13:19 boto3==1.34.92 18:13:19 botocore==1.34.92 18:13:19 bs4==0.0.2 18:13:19 cachetools==5.3.3 18:13:19 certifi==2024.2.2 18:13:19 cffi==1.16.0 18:13:19 cfgv==3.4.0 18:13:19 chardet==5.2.0 18:13:19 charset-normalizer==3.3.2 18:13:19 click==8.1.7 18:13:19 cliff==4.6.0 18:13:19 cmd2==2.4.3 18:13:19 cryptography==3.3.2 18:13:19 debtcollector==3.0.0 18:13:19 decorator==5.1.1 18:13:19 defusedxml==0.7.1 18:13:19 Deprecated==1.2.14 18:13:19 distlib==0.3.8 18:13:19 dnspython==2.6.1 18:13:19 docker==4.2.2 18:13:19 dogpile.cache==1.3.2 18:13:19 email_validator==2.1.1 18:13:19 filelock==3.13.4 18:13:19 future==1.0.0 18:13:19 gitdb==4.0.11 18:13:19 GitPython==3.1.43 18:13:19 google-auth==2.29.0 18:13:19 httplib2==0.22.0 18:13:19 identify==2.5.36 18:13:19 idna==3.7 18:13:19 importlib-resources==1.5.0 18:13:19 iso8601==2.1.0 18:13:19 Jinja2==3.1.3 18:13:19 jmespath==1.0.1 18:13:19 jsonpatch==1.33 18:13:19 jsonpointer==2.4 18:13:19 jsonschema==4.21.1 18:13:19 jsonschema-specifications==2023.12.1 18:13:19 keystoneauth1==5.6.0 18:13:19 kubernetes==29.0.0 18:13:19 lftools==0.37.10 18:13:19 lxml==5.2.1 18:13:19 MarkupSafe==2.1.5 18:13:19 msgpack==1.0.8 18:13:19 multi_key_dict==2.0.3 18:13:19 munch==4.0.0 18:13:19 netaddr==1.2.1 18:13:19 netifaces==0.11.0 18:13:19 niet==1.4.2 18:13:19 nodeenv==1.8.0 18:13:19 oauth2client==4.1.3 18:13:19 oauthlib==3.2.2 18:13:19 openstacksdk==3.1.0 18:13:19 os-client-config==2.1.0 18:13:19 os-service-types==1.7.0 18:13:19 osc-lib==3.0.1 18:13:19 oslo.config==9.4.0 18:13:19 oslo.context==5.5.0 18:13:19 oslo.i18n==6.3.0 18:13:19 oslo.log==5.5.1 18:13:19 oslo.serialization==5.4.0 18:13:19 oslo.utils==7.1.0 18:13:19 packaging==24.0 18:13:19 pbr==6.0.0 18:13:19 platformdirs==4.2.1 18:13:19 prettytable==3.10.0 18:13:19 pyasn1==0.6.0 18:13:19 pyasn1_modules==0.4.0 18:13:19 pycparser==2.22 18:13:19 pygerrit2==2.0.15 18:13:19 PyGithub==2.3.0 18:13:19 pyinotify==0.9.6 18:13:19 PyJWT==2.8.0 18:13:19 PyNaCl==1.5.0 18:13:19 pyparsing==2.4.7 18:13:19 pyperclip==1.8.2 18:13:19 pyrsistent==0.20.0 18:13:19 python-cinderclient==9.5.0 18:13:19 python-dateutil==2.9.0.post0 18:13:19 python-heatclient==3.5.0 18:13:19 python-jenkins==1.8.2 18:13:19 python-keystoneclient==5.4.0 18:13:19 python-magnumclient==4.4.0 18:13:19 python-novaclient==18.6.0 18:13:19 python-openstackclient==6.6.0 18:13:19 python-swiftclient==4.5.0 18:13:19 PyYAML==6.0.1 18:13:19 referencing==0.35.0 18:13:19 requests==2.31.0 18:13:19 requests-oauthlib==2.0.0 18:13:19 requestsexceptions==1.4.0 18:13:19 rfc3986==2.0.0 18:13:19 rpds-py==0.18.0 18:13:19 rsa==4.9 18:13:19 ruamel.yaml==0.18.6 18:13:19 ruamel.yaml.clib==0.2.8 18:13:19 s3transfer==0.10.1 18:13:19 simplejson==3.19.2 18:13:19 six==1.16.0 18:13:19 smmap==5.0.1 18:13:19 soupsieve==2.5 18:13:19 stevedore==5.2.0 18:13:19 tabulate==0.9.0 18:13:19 toml==0.10.2 18:13:19 tomlkit==0.12.4 18:13:19 tqdm==4.66.2 18:13:19 typing_extensions==4.11.0 18:13:19 tzdata==2024.1 18:13:19 urllib3==1.26.18 18:13:19 virtualenv==20.26.0 18:13:19 wcwidth==0.2.13 18:13:19 websocket-client==1.8.0 18:13:19 wrapt==1.16.0 18:13:19 xdg==6.0.0 18:13:19 xmltodict==0.13.0 18:13:19 yq==3.4.2 18:13:19 [EnvInject] - Injecting environment variables from a build step. 18:13:19 [EnvInject] - Injecting as environment variables the properties content 18:13:19 SET_JDK_VERSION=openjdk17 18:13:19 GIT_URL="git://cloud.onap.org/mirror" 18:13:19 18:13:19 [EnvInject] - Variables injected successfully. 18:13:19 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins13599212787268215458.sh 18:13:19 ---> update-java-alternatives.sh 18:13:19 ---> Updating Java version 18:13:19 ---> Ubuntu/Debian system detected 18:13:19 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:19 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:19 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:20 openjdk version "17.0.4" 2022-07-19 18:13:20 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:20 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:20 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:20 [EnvInject] - Injecting environment variables from a build step. 18:13:20 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:20 [EnvInject] - Variables injected successfully. 18:13:20 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins16433540676169150142.sh 18:13:20 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:20 + set +u 18:13:20 + save_set 18:13:20 + RUN_CSIT_SAVE_SET=ehxB 18:13:20 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:20 + '[' 1 -eq 0 ']' 18:13:20 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:20 + 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:20 + 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:20 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:20 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:20 + export ROBOT_VARIABLES= 18:13:20 + ROBOT_VARIABLES= 18:13:20 + export PROJECT=api 18:13:20 + PROJECT=api 18:13:20 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:20 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:20 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:20 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:20 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:20 + relax_set 18:13:20 + set +e 18:13:20 + set +o pipefail 18:13:20 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:20 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:20 +++ mktemp -d 18:13:20 ++ ROBOT_VENV=/tmp/tmp.P7QFa5kj49 18:13:20 ++ echo ROBOT_VENV=/tmp/tmp.P7QFa5kj49 18:13:20 +++ python3 --version 18:13:20 ++ echo 'Python version is: Python 3.6.9' 18:13:20 Python version is: Python 3.6.9 18:13:20 ++ python3 -m venv --clear /tmp/tmp.P7QFa5kj49 18:13:21 ++ source /tmp/tmp.P7QFa5kj49/bin/activate 18:13:21 +++ deactivate nondestructive 18:13:21 +++ '[' -n '' ']' 18:13:21 +++ '[' -n '' ']' 18:13:21 +++ '[' -n /bin/bash -o -n '' ']' 18:13:21 +++ hash -r 18:13:21 +++ '[' -n '' ']' 18:13:21 +++ unset VIRTUAL_ENV 18:13:21 +++ '[' '!' nondestructive = nondestructive ']' 18:13:21 +++ VIRTUAL_ENV=/tmp/tmp.P7QFa5kj49 18:13:21 +++ export VIRTUAL_ENV 18:13:21 +++ _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:21 +++ PATH=/tmp/tmp.P7QFa5kj49/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:21 +++ export PATH 18:13:21 +++ '[' -n '' ']' 18:13:21 +++ '[' -z '' ']' 18:13:21 +++ _OLD_VIRTUAL_PS1= 18:13:21 +++ '[' 'x(tmp.P7QFa5kj49) ' '!=' x ']' 18:13:21 +++ PS1='(tmp.P7QFa5kj49) ' 18:13:21 +++ export PS1 18:13:21 +++ '[' -n /bin/bash -o -n '' ']' 18:13:21 +++ hash -r 18:13:21 ++ set -exu 18:13:21 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:24 ++ echo 'Installing Python Requirements' 18:13:24 Installing Python Requirements 18:13:24 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:43 ++ python3 -m pip -qq freeze 18:13:44 bcrypt==4.0.1 18:13:44 beautifulsoup4==4.12.3 18:13:44 bitarray==2.9.2 18:13:44 certifi==2024.2.2 18:13:44 cffi==1.15.1 18:13:44 charset-normalizer==2.0.12 18:13:44 cryptography==40.0.2 18:13:44 decorator==5.1.1 18:13:44 elasticsearch==7.17.9 18:13:44 elasticsearch-dsl==7.4.1 18:13:44 enum34==1.1.10 18:13:44 idna==3.7 18:13:44 importlib-resources==5.4.0 18:13:44 ipaddr==2.2.0 18:13:44 isodate==0.6.1 18:13:44 jmespath==0.10.0 18:13:44 jsonpatch==1.32 18:13:44 jsonpath-rw==1.4.0 18:13:44 jsonpointer==2.3 18:13:44 lxml==5.2.1 18:13:44 netaddr==0.8.0 18:13:44 netifaces==0.11.0 18:13:44 odltools==0.1.28 18:13:44 paramiko==3.4.0 18:13:44 pkg_resources==0.0.0 18:13:44 ply==3.11 18:13:44 pyang==2.6.0 18:13:44 pyangbind==0.8.1 18:13:44 pycparser==2.21 18:13:44 pyhocon==0.3.60 18:13:44 PyNaCl==1.5.0 18:13:44 pyparsing==3.1.2 18:13:44 python-dateutil==2.9.0.post0 18:13:44 regex==2023.8.8 18:13:44 requests==2.27.1 18:13:44 robotframework==6.1.1 18:13:44 robotframework-httplibrary==0.4.2 18:13:44 robotframework-pythonlibcore==3.0.0 18:13:44 robotframework-requests==0.9.4 18:13:44 robotframework-selenium2library==3.0.0 18:13:44 robotframework-seleniumlibrary==5.1.3 18:13:44 robotframework-sshlibrary==3.8.0 18:13:44 scapy==2.5.0 18:13:44 scp==0.14.5 18:13:44 selenium==3.141.0 18:13:44 six==1.16.0 18:13:44 soupsieve==2.3.2.post1 18:13:44 urllib3==1.26.18 18:13:44 waitress==2.0.0 18:13:44 WebOb==1.8.7 18:13:44 WebTest==3.0.0 18:13:44 zipp==3.6.0 18:13:44 ++ mkdir -p /tmp/tmp.P7QFa5kj49/src/onap 18:13:44 ++ rm -rf /tmp/tmp.P7QFa5kj49/src/onap/testsuite 18:13:44 ++ 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:50 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:50 Uninstall docker-py and reinstall docker. 18:13:50 ++ python3 -m pip uninstall -y -qq docker 18:13:50 ++ python3 -m pip install -U -qq docker 18:13:51 ++ python3 -m pip -qq freeze 18:13:51 bcrypt==4.0.1 18:13:51 beautifulsoup4==4.12.3 18:13:51 bitarray==2.9.2 18:13:51 certifi==2024.2.2 18:13:51 cffi==1.15.1 18:13:51 charset-normalizer==2.0.12 18:13:51 cryptography==40.0.2 18:13:51 decorator==5.1.1 18:13:51 deepdiff==5.7.0 18:13:51 dnspython==2.2.1 18:13:51 docker==5.0.3 18:13:51 elasticsearch==7.17.9 18:13:51 elasticsearch-dsl==7.4.1 18:13:51 enum34==1.1.10 18:13:51 future==1.0.0 18:13:51 idna==3.7 18:13:51 importlib-resources==5.4.0 18:13:51 ipaddr==2.2.0 18:13:51 isodate==0.6.1 18:13:51 Jinja2==3.0.3 18:13:51 jmespath==0.10.0 18:13:51 jsonpatch==1.32 18:13:51 jsonpath-rw==1.4.0 18:13:51 jsonpointer==2.3 18:13:51 kafka-python==2.0.2 18:13:51 lxml==5.2.1 18:13:51 MarkupSafe==2.0.1 18:13:51 more-itertools==5.0.0 18:13:51 netaddr==0.8.0 18:13:51 netifaces==0.11.0 18:13:51 odltools==0.1.28 18:13:51 ordered-set==4.0.2 18:13:51 paramiko==3.4.0 18:13:51 pbr==6.0.0 18:13:51 pkg_resources==0.0.0 18:13:51 ply==3.11 18:13:51 protobuf==3.19.6 18:13:51 pyang==2.6.0 18:13:51 pyangbind==0.8.1 18:13:51 pycparser==2.21 18:13:51 pyhocon==0.3.60 18:13:51 PyNaCl==1.5.0 18:13:51 pyparsing==3.1.2 18:13:51 python-dateutil==2.9.0.post0 18:13:51 PyYAML==6.0.1 18:13:51 regex==2023.8.8 18:13:51 requests==2.27.1 18:13:51 robotframework==6.1.1 18:13:51 robotframework-httplibrary==0.4.2 18:13:51 robotframework-onap==0.6.0.dev105 18:13:51 robotframework-pythonlibcore==3.0.0 18:13:51 robotframework-requests==0.9.4 18:13:51 robotframework-selenium2library==3.0.0 18:13:51 robotframework-seleniumlibrary==5.1.3 18:13:51 robotframework-sshlibrary==3.8.0 18:13:51 robotlibcore-temp==1.0.2 18:13:51 scapy==2.5.0 18:13:51 scp==0.14.5 18:13:51 selenium==3.141.0 18:13:51 six==1.16.0 18:13:51 soupsieve==2.3.2.post1 18:13:51 urllib3==1.26.18 18:13:51 waitress==2.0.0 18:13:51 WebOb==1.8.7 18:13:51 websocket-client==1.3.1 18:13:51 WebTest==3.0.0 18:13:51 zipp==3.6.0 18:13:52 ++ uname 18:13:52 ++ grep -q Linux 18:13:52 ++ sudo apt-get -y -qq install libxml2-utils 18:13:52 + load_set 18:13:52 + _setopts=ehuxB 18:13:52 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:52 ++ tr : ' ' 18:13:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:52 + set +o braceexpand 18:13:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:52 + set +o hashall 18:13:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:52 + set +o interactive-comments 18:13:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:52 + set +o nounset 18:13:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:52 + set +o xtrace 18:13:52 ++ echo ehuxB 18:13:52 ++ sed 's/./& /g' 18:13:52 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:52 + set +e 18:13:52 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:52 + set +h 18:13:52 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:52 + set +u 18:13:52 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:52 + set +x 18:13:52 + source_safely /tmp/tmp.P7QFa5kj49/bin/activate 18:13:52 + '[' -z /tmp/tmp.P7QFa5kj49/bin/activate ']' 18:13:52 + relax_set 18:13:52 + set +e 18:13:52 + set +o pipefail 18:13:52 + . /tmp/tmp.P7QFa5kj49/bin/activate 18:13:52 ++ deactivate nondestructive 18:13:52 ++ '[' -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:52 ++ 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:52 ++ export PATH 18:13:52 ++ unset _OLD_VIRTUAL_PATH 18:13:52 ++ '[' -n '' ']' 18:13:52 ++ '[' -n /bin/bash -o -n '' ']' 18:13:52 ++ hash -r 18:13:52 ++ '[' -n '' ']' 18:13:52 ++ unset VIRTUAL_ENV 18:13:52 ++ '[' '!' nondestructive = nondestructive ']' 18:13:52 ++ VIRTUAL_ENV=/tmp/tmp.P7QFa5kj49 18:13:52 ++ export VIRTUAL_ENV 18:13:52 ++ _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:52 ++ PATH=/tmp/tmp.P7QFa5kj49/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:52 ++ export PATH 18:13:52 ++ '[' -n '' ']' 18:13:52 ++ '[' -z '' ']' 18:13:52 ++ _OLD_VIRTUAL_PS1='(tmp.P7QFa5kj49) ' 18:13:52 ++ '[' 'x(tmp.P7QFa5kj49) ' '!=' x ']' 18:13:52 ++ PS1='(tmp.P7QFa5kj49) (tmp.P7QFa5kj49) ' 18:13:52 ++ export PS1 18:13:52 ++ '[' -n /bin/bash -o -n '' ']' 18:13:52 ++ hash -r 18:13:52 + load_set 18:13:52 + _setopts=hxB 18:13:52 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:52 ++ tr : ' ' 18:13:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:52 + set +o braceexpand 18:13:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:52 + set +o hashall 18:13:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:52 + set +o interactive-comments 18:13:52 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:52 + set +o xtrace 18:13:52 ++ echo hxB 18:13:52 ++ sed 's/./& /g' 18:13:52 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:52 + set +h 18:13:52 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:52 + set +x 18:13:52 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:52 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:52 + export TEST_OPTIONS= 18:13:52 + TEST_OPTIONS= 18:13:52 ++ mktemp -d 18:13:52 + WORKDIR=/tmp/tmp.5AgpytCi1l 18:13:52 + cd /tmp/tmp.5AgpytCi1l 18:13:52 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:53 Configure a credential helper to remove this warning. See 18:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:53 18:13:53 Login Succeeded 18:13:53 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:53 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:53 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:53 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:53 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:53 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:53 + relax_set 18:13:53 + set +e 18:13:53 + set +o pipefail 18:13:53 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:53 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:53 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:53 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:53 +++ GERRIT_BRANCH=montreal 18:13:53 +++ echo GERRIT_BRANCH=montreal 18:13:53 GERRIT_BRANCH=montreal 18:13:53 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:53 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:53 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:53 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:54 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:54 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:54 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:54 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:54 +++ 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:54 +++ 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:54 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:54 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:54 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:54 +++ grafana=false 18:13:54 +++ gui=false 18:13:54 +++ [[ 2 -gt 0 ]] 18:13:54 +++ key=api 18:13:54 +++ case $key in 18:13:54 +++ echo api 18:13:54 api 18:13:54 +++ component=api 18:13:54 +++ shift 18:13:54 +++ [[ 1 -gt 0 ]] 18:13:54 +++ key=--grafana 18:13:54 +++ case $key in 18:13:54 +++ grafana=true 18:13:54 +++ shift 18:13:54 +++ [[ 0 -gt 0 ]] 18:13:54 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:54 +++ echo 'Configuring docker compose...' 18:13:54 Configuring docker compose... 18:13:54 +++ source export-ports.sh 18:13:54 +++ source get-versions.sh 18:13:57 +++ '[' -z api ']' 18:13:57 +++ '[' -n api ']' 18:13:57 +++ '[' api == logs ']' 18:13:57 +++ '[' true = true ']' 18:13:57 +++ echo 'Starting api application with Grafana' 18:13:57 Starting api application with Grafana 18:13:57 +++ docker-compose up -d api grafana 18:13:58 Creating network "compose_default" with the default driver 18:13:58 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:13:58 10.10.2: Pulling from mariadb 18:14:03 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:14:03 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:14:03 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:14:03 3.0.2: Pulling from onap/policy-db-migrator 18:14:07 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:14:07 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:14:07 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:14:07 3.0.2: Pulling from onap/policy-api 18:14:09 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:14:09 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:14:09 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:09 latest: Pulling from prom/prometheus 18:14:12 Digest: sha256:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 18:14:12 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:12 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:12 latest: Pulling from grafana/grafana 18:14:17 Digest: sha256:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e 18:14:17 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:17 Creating prometheus ... 18:14:17 Creating mariadb ... 18:14:29 Creating mariadb ... done 18:14:29 Creating policy-db-migrator ... 18:14:30 Creating policy-db-migrator ... done 18:14:30 Creating policy-api ... 18:14:31 Creating policy-api ... done 18:14:32 Creating prometheus ... done 18:14:32 Creating grafana ... 18:14:33 Creating grafana ... done 18:14:33 +++ echo 'Prometheus server: http://localhost:30259' 18:14:33 Prometheus server: http://localhost:30259 18:14:33 +++ echo 'Grafana server: http://localhost:30269' 18:14:33 Grafana server: http://localhost:30269 18:14:33 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:33 ++ sleep 10 18:14:43 ++ unset http_proxy https_proxy 18:14:43 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:43 Waiting for REST to come up on localhost port 30002... 18:14:43 NAMES STATUS 18:14:43 grafana Up 10 seconds 18:14:43 policy-api Up 12 seconds 18:14:43 mariadb Up 14 seconds 18:14:43 prometheus Up 11 seconds 18:14:49 NAMES STATUS 18:14:49 grafana Up 15 seconds 18:14:49 policy-api Up 17 seconds 18:14:49 mariadb Up 19 seconds 18:14:49 prometheus Up 16 seconds 18:14:54 NAMES STATUS 18:14:54 grafana Up 20 seconds 18:14:54 policy-api Up 22 seconds 18:14:54 mariadb Up 24 seconds 18:14:54 prometheus Up 21 seconds 18:14:59 NAMES STATUS 18:14:59 grafana Up 25 seconds 18:14:59 policy-api Up 27 seconds 18:14:59 mariadb Up 29 seconds 18:14:59 prometheus Up 26 seconds 18:14:59 ++ export 'SUITES=api-test.robot 18:14:59 api-slas.robot' 18:14:59 ++ SUITES='api-test.robot 18:14:59 api-slas.robot' 18:14:59 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:59 -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:59 + load_set 18:14:59 + _setopts=hxB 18:14:59 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:14:59 ++ tr : ' ' 18:14:59 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:59 + set +o braceexpand 18:14:59 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:59 + set +o hashall 18:14:59 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:59 + set +o interactive-comments 18:14:59 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:59 + set +o xtrace 18:14:59 ++ echo hxB 18:14:59 ++ sed 's/./& /g' 18:14:59 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:59 + set +h 18:14:59 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:59 + set +x 18:14:59 + docker_stats 18:14:59 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:14:59 ++ uname -s 18:14:59 + '[' Linux == Darwin ']' 18:14:59 + sh -c 'top -bn1 | head -3' 18:14:59 top - 18:14:59 up 3 min, 0 users, load average: 2.28, 0.93, 0.36 18:14:59 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 18:14:59 %Cpu(s): 10.3 us, 2.0 sy, 0.0 ni, 83.9 id, 3.7 wa, 0.0 hi, 0.0 si, 0.1 st 18:14:59 + echo 18:14:59 18:14:59 + sh -c 'free -h' 18:14:59 total used free shared buff/cache available 18:14:59 Mem: 31G 1.4G 26G 1.0M 3.9G 29G 18:14:59 Swap: 1.0G 0B 1.0G 18:14:59 + echo 18:14:59 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:14:59 18:14:59 NAMES STATUS 18:14:59 grafana Up 25 seconds 18:14:59 policy-api Up 27 seconds 18:14:59 mariadb Up 29 seconds 18:14:59 prometheus Up 26 seconds 18:14:59 + echo 18:14:59 18:14:59 + docker stats --no-stream 18:15:02 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:15:02 87846a3b5f3d grafana 0.03% 55.82MiB / 31.41GiB 0.17% 18.4kB / 3.18kB 0B / 24.8MB 14 18:15:02 731a6dd8fcc5 policy-api 0.14% 516.3MiB / 31.41GiB 1.61% 999kB / 710kB 0B / 0B 53 18:15:02 344e794072be mariadb 0.01% 100.5MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 61.1MB 26 18:15:02 41f426278d68 prometheus 0.26% 18.79MiB / 31.41GiB 0.06% 920B / 158B 225kB / 0B 12 18:15:02 + echo 18:15:02 18:15:02 + cd /tmp/tmp.5AgpytCi1l 18:15:02 + echo 'Reading the testplan:' 18:15:02 Reading the testplan: 18:15:02 + echo 'api-test.robot 18:15:02 api-slas.robot' 18:15:02 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:15:02 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:15:02 + cat testplan.txt 18:15:02 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:15:02 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:02 ++ xargs 18:15:02 + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' 18:15:02 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:02 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:15:02 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:02 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:15:02 + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' 18:15:02 Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... 18:15:02 + relax_set 18:15:02 + set +e 18:15:02 + set +o pipefail 18:15:02 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:02 ============================================================================== 18:15:02 api 18:15:02 ============================================================================== 18:15:02 api.Api-Test 18:15:02 ============================================================================== 18:15:02 Healthcheck :: Verify policy api health check | PASS | 18:15:02 ------------------------------------------------------------------------------ 18:15:05 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:05 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:05 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:05 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:06 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:06 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:06 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:07 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:15:07 ------------------------------------------------------------------------------ 18:15:07 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:15:07 ------------------------------------------------------------------------------ 18:15:07 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:15:07 ------------------------------------------------------------------------------ 18:15:08 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:10 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 api.Api-Test | PASS | 18:15:10 22 tests, 22 passed, 0 failed 18:15:10 ============================================================================== 18:15:10 api.Api-Slas 18:15:10 ============================================================================== 18:16:10 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 api.Api-Slas | PASS | 18:16:10 9 tests, 9 passed, 0 failed 18:16:10 ============================================================================== 18:16:10 api | PASS | 18:16:10 31 tests, 31 passed, 0 failed 18:16:10 ============================================================================== 18:16:10 Output: /tmp/tmp.5AgpytCi1l/output.xml 18:16:10 Log: /tmp/tmp.5AgpytCi1l/log.html 18:16:10 Report: /tmp/tmp.5AgpytCi1l/report.html 18:16:10 + RESULT=0 18:16:10 + load_set 18:16:10 + _setopts=hxB 18:16:10 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:10 ++ tr : ' ' 18:16:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:10 + set +o braceexpand 18:16:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:10 + set +o hashall 18:16:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:10 + set +o interactive-comments 18:16:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:10 + set +o xtrace 18:16:10 ++ echo hxB 18:16:10 ++ sed 's/./& /g' 18:16:10 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:10 + set +h 18:16:10 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:10 + set +x 18:16:10 + echo 'RESULT: 0' 18:16:10 RESULT: 0 18:16:10 + exit 0 18:16:10 + on_exit 18:16:10 + rc=0 18:16:10 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:16:10 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:10 NAMES STATUS 18:16:10 grafana Up About a minute 18:16:10 policy-api Up About a minute 18:16:10 mariadb Up About a minute 18:16:10 prometheus Up About a minute 18:16:10 + docker_stats 18:16:10 ++ uname -s 18:16:10 + '[' Linux == Darwin ']' 18:16:10 + sh -c 'top -bn1 | head -3' 18:16:10 top - 18:16:10 up 4 min, 0 users, load average: 0.96, 0.85, 0.38 18:16:10 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 18:16:10 %Cpu(s): 8.8 us, 1.6 sy, 0.0 ni, 86.6 id, 3.0 wa, 0.0 hi, 0.0 si, 0.0 st 18:16:10 + echo 18:16:10 18:16:10 + sh -c 'free -h' 18:16:10 total used free shared buff/cache available 18:16:10 Mem: 31G 1.7G 25G 1.0M 3.9G 29G 18:16:10 Swap: 1.0G 0B 1.0G 18:16:10 + echo 18:16:10 18:16:10 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:10 NAMES STATUS 18:16:10 grafana Up About a minute 18:16:10 policy-api Up About a minute 18:16:10 mariadb Up About a minute 18:16:10 prometheus Up About a minute 18:16:10 + echo 18:16:10 18:16:10 + docker stats --no-stream 18:16:13 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:16:13 87846a3b5f3d grafana 0.04% 59.74MiB / 31.41GiB 0.19% 19.4kB / 4.37kB 0B / 24.8MB 14 18:16:13 731a6dd8fcc5 policy-api 0.10% 782.7MiB / 31.41GiB 2.43% 7.01MB / 2.55MB 0B / 0B 53 18:16:13 344e794072be mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 61.4MB 18 18:16:13 41f426278d68 prometheus 0.00% 24.71MiB / 31.41GiB 0.08% 55kB / 6.64kB 225kB / 0B 13 18:16:13 + echo 18:16:13 18:16:13 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:13 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:16:13 + relax_set 18:16:13 + set +e 18:16:13 + set +o pipefail 18:16:13 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:13 ++ echo 'Shut down started!' 18:16:13 Shut down started! 18:16:13 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:13 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:16:13 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:16:13 ++ source export-ports.sh 18:16:13 ++ source get-versions.sh 18:16:15 ++ echo 'Collecting logs from docker compose containers...' 18:16:15 Collecting logs from docker compose containers... 18:16:15 ++ docker-compose logs 18:16:16 ++ cat docker_compose.log 18:16:16 Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057129819Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-26T18:14:34Z 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057358568Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057365509Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057369569Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057372869Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057376289Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057380109Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057384119Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.0573885Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.05739349Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.05739722Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.05740084Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.0574049Z level=info msg=Target target=[all] 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.05741121Z level=info msg="Path Home" path=/usr/share/grafana 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057415341Z level=info msg="Path Data" path=/var/lib/grafana 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057419291Z level=info msg="Path Logs" path=/var/log/grafana 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057424081Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057428271Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:16 grafana | logger=settings t=2024-04-26T18:14:34.057432171Z level=info msg="App mode production" 18:16:16 grafana | logger=sqlstore t=2024-04-26T18:14:34.057725053Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:16 grafana | logger=sqlstore t=2024-04-26T18:14:34.057744203Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.058395649Z level=info msg="Starting DB migrations" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.059261983Z level=info msg="Executing migration" id="create migration_log table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.060064754Z level=info msg="Migration successfully executed" id="create migration_log table" duration=802.211µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.165327277Z level=info msg="Executing migration" id="create user table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.16592165Z level=info msg="Migration successfully executed" id="create user table" duration=593.623µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.170770329Z level=info msg="Executing migration" id="add unique index user.login" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.17130139Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=531.041µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.177887737Z level=info msg="Executing migration" id="add unique index user.email" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.178399497Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=511.729µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.183206054Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.184172052Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=966.238µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.18901787Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.189474838Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=456.878µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.195004374Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.197040943Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.033939ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.201406573Z level=info msg="Executing migration" id="create user table v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.202003027Z level=info msg="Migration successfully executed" id="create user table v2" duration=596.074µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.204864708Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.205377858Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=512.96µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.208658346Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.209165626Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=507.71µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.214483103Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.214758244Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=274.801µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.221483336Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.221828559Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=346.343µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.2287786Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.229576681Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=797.961µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.236351376Z level=info msg="Executing migration" id="Update user table charset" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.236371116Z level=info msg="Migration successfully executed" id="Update user table charset" duration=20.081µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.241242456Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.242000686Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=758.38µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.246006882Z level=info msg="Executing migration" id="Add missing user data" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.246395677Z level=info msg="Migration successfully executed" id="Add missing user data" duration=388.785µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.251730715Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.252579678Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=848.703µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.257016761Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.257615374Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=597.573µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.26186975Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.262842488Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=970.758µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.265792953Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.271488965Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=5.695362ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.275955089Z level=info msg="Executing migration" id="Add uid column to user" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.276822813Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=867.054µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.282773285Z level=info msg="Executing migration" id="Update uid column values for users" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.282998144Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=224.269µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.288406775Z level=info msg="Executing migration" id="Add unique index user_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.289773368Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.366774ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.293321166Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.293902819Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=580.813µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.298340672Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.299482776Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.143174ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.304330235Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.305262352Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=931.987µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.311334118Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.311958433Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=624.135µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.314760282Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.315406067Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=645.795µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.319986066Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.32062306Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=636.884µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.323781544Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.323885538Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=104.305µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.327511959Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.328148274Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=635.845µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.333239772Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.333827185Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=588.223µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.338086081Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.338637853Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=550.322µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.342006624Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.342583106Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=576.232µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.348131083Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.353038434Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.906871ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.357848481Z level=info msg="Executing migration" id="create temp_user v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.359954734Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=2.109862ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.365160436Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.366752819Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.594832ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.370402321Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.371802335Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.399584ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.377852741Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.378744776Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=891.845µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.382010693Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.383410458Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.399075ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.387151254Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.387898343Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=746.569µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.393240731Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.393791403Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=550.951µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.396604802Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.397026119Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=421.527µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.400070017Z level=info msg="Executing migration" id="create star table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.401077917Z level=info msg="Migration successfully executed" id="create star table" duration=1.007659ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.406270769Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.40759268Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.317471ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.410775525Z level=info msg="Executing migration" id="create org table v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.412040644Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.26483ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.415546931Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.417256607Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.709337ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.420762804Z level=info msg="Executing migration" id="create org_user table v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.421814255Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.051131ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.428653161Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.429543136Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=889.965µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.434572172Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.435867083Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.29421ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.441222491Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.442522952Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.299701ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.447726895Z level=info msg="Executing migration" id="Update org table charset" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.447753486Z level=info msg="Migration successfully executed" id="Update org table charset" duration=27.011µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.453838113Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.453866874Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=29.391µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.464258089Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.464895054Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=636.285µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.475376603Z level=info msg="Executing migration" id="create dashboard table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.476719435Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.345042ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.485881002Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.487837158Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.954946ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.49738262Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.498262025Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=878.805µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.506656922Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.507853879Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.196256ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.517536766Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.518600838Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.063141ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.528840397Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.530685279Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.843971ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.539352206Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.545509706Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.15693ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.554552609Z level=info msg="Executing migration" id="create dashboard v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.556047607Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.493818ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.565745735Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.567275245Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.52732ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.572178186Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.573795769Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.617223ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.582813311Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.583278219Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=462.979µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.592139314Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.593413754Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.27426ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.601553831Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.601620654Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=70.783µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.608596796Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.612157374Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.560119ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.619292843Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:16 mariadb | 2024-04-26 18:14:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:16 mariadb | 2024-04-26 18:14:29+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:16 mariadb | 2024-04-26 18:14:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:16 mariadb | 2024-04-26 18:14:30+00:00 [Note] [Entrypoint]: Initializing database files 18:16:16 mariadb | 2024-04-26 18:14:30 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:16 mariadb | 2024-04-26 18:14:30 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:16 mariadb | 2024-04-26 18:14:30 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:16 mariadb | 18:16:16 mariadb | 18:16:16 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:16 mariadb | To do so, start the server, then issue the following command: 18:16:16 mariadb | 18:16:16 mariadb | '/usr/bin/mysql_secure_installation' 18:16:16 mariadb | 18:16:16 mariadb | which will also give you the option of removing the test 18:16:16 mariadb | databases and anonymous user created by default. This is 18:16:16 mariadb | strongly recommended for production servers. 18:16:16 mariadb | 18:16:16 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:16 mariadb | 18:16:16 mariadb | Please report any problems at https://mariadb.org/jira 18:16:16 mariadb | 18:16:16 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:16 mariadb | 18:16:16 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:16 mariadb | https://mariadb.org/get-involved/ 18:16:16 mariadb | 18:16:16 mariadb | 2024-04-26 18:14:31+00:00 [Note] [Entrypoint]: Database files initialized 18:16:16 mariadb | 2024-04-26 18:14:31+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:16 mariadb | 2024-04-26 18:14:31+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Number of transaction pools: 1 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: 128 rollback segments are active. 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:16 mariadb | 2024-04-26 18:14:31 0 [Note] mariadbd: ready for connections. 18:16:16 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:16 mariadb | 2024-04-26 18:14:32+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:16 mariadb | 2024-04-26 18:14:34+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:16 mariadb | 2024-04-26 18:14:34+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:16 mariadb | 18:16:16 mariadb | 2024-04-26 18:14:34+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:16 mariadb | 18:16:16 mariadb | 2024-04-26 18:14:34+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:16 mariadb | #!/bin/bash -xv 18:16:16 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:16 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:16 mariadb | # 18:16:16 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:16 mariadb | # you may not use this file except in compliance with the License. 18:16:16 mariadb | # You may obtain a copy of the License at 18:16:16 mariadb | # 18:16:16 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:16 mariadb | # 18:16:16 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:16 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:16 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:16 mariadb | # See the License for the specific language governing permissions and 18:16:16 mariadb | # limitations under the License. 18:16:16 mariadb | 18:16:16 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:16 mariadb | do 18:16:16 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:16 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:16 mariadb | done 18:16:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:16 mariadb | 18:16:16 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:16 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:16 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:16 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:16 mariadb | 18:16:16 mariadb | 2024-04-26 18:14:35+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Starting shutdown... 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Buffer pool(s) dump completed at 240426 18:14:35 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Shutdown completed; log sequence number 347186; transaction id 298 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] mariadbd: Shutdown complete 18:16:16 mariadb | 18:16:16 mariadb | 2024-04-26 18:14:35+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:16 mariadb | 18:16:16 mariadb | 2024-04-26 18:14:35+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:16 mariadb | 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Number of transaction pools: 1 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: 128 rollback segments are active. 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: log sequence number 347186; transaction id 299 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] Server socket created on IP: '::'. 18:16:16 mariadb | 2024-04-26 18:14:35 0 [Note] mariadbd: ready for connections. 18:16:16 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:16 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Buffer pool(s) load completed at 240426 18:14:35 18:16:16 mariadb | 2024-04-26 18:14:36 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:16 mariadb | 2024-04-26 18:14:36 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.621738878Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.445546ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.659300212Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.664281756Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=4.975714ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.67336985Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.674685262Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.314782ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.680707096Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.683854179Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.150163ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.691180975Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.692043958Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=862.733µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.695122898Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.695904469Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=781.361µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.69926208Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.699288981Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.511µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.706578385Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.706621697Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=44.522µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.712825608Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.71645968Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.632322ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.725571805Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.727462799Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.890664ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.737623185Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.739633213Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.009528ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.744070216Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.747684637Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.613931ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.752957963Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.753237534Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=279.451µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.757432977Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.758391475Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=959.747µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.76622699Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.767405496Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.177106ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.778322612Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.778367243Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=47.512µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.785559234Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.786381346Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=821.902µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.793307476Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.794611576Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.306151ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.799635562Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.807313232Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.679219ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.812424261Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.813192721Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=768.8µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.819199595Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.820076259Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=877.224µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.826059982Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.827362203Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.302631ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.832966962Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.833533064Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=566.122µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.838585761Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.839579639Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=993.859µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.846467538Z level=info msg="Executing migration" id="Add check_sum column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.850064288Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.59916ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.8537173Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.854660947Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=944.947µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.861456202Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.861626919Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=172.407µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.864784122Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.865072463Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=288.431µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.87216608Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.873479111Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.312562ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.879926032Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.883386487Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.459215ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.888226556Z level=info msg="Executing migration" id="create data_source table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.889539227Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.312152ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.896060731Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.897795979Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.734677ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.905235899Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.906089242Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=852.823µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.913175038Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.913878215Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=702.857µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.917957664Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.918682443Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=724.399µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.928540817Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.934659766Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.118578ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.942031913Z level=info msg="Executing migration" id="create data_source table v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.94299109Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=958.757µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.947680633Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.948915111Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.233538ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.957142942Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.958568217Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.424225ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.965428255Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.966231996Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=803.271µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.972954448Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.976732105Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.780017ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.983276861Z level=info msg="Executing migration" id="Add secure json data column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.98556593Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.288489ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.990502142Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.990545434Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=44.462µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.995411694Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:34.995701795Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=290.252µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.002618352Z level=info msg="Executing migration" id="Add read_only data column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.006999638Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.380176ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.014617058Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.014842967Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=225.789µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.027262973Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.027590015Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=325.772µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.032677242Z level=info msg="Executing migration" id="Add uid column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.03672018Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.041858ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.041898541Z level=info msg="Executing migration" id="Update uid value" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.042488712Z level=info msg="Migration successfully executed" id="Update uid value" duration=589.412µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.047437094Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.048751402Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.313518ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.057031216Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.058290032Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.258306ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.067053444Z level=info msg="Executing migration" id="create api_key table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.068434195Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.37241ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.074107243Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.074911953Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=804.37µs 18:16:16 policy-api | Waiting for mariadb port 3306... 18:16:16 policy-api | mariadb (172.17.0.3:3306) open 18:16:16 policy-api | Waiting for policy-db-migrator port 6824... 18:16:16 policy-api | policy-db-migrator (172.17.0.4:6824) open 18:16:16 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:16 policy-api | 18:16:16 policy-api | . ____ _ __ _ _ 18:16:16 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:16 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:16 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:16 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:16 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:16 policy-api | :: Spring Boot :: (v3.1.4) 18:16:16 policy-api | 18:16:16 policy-api | [2024-04-26T18:14:44.911+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 23 (/app/api.jar started by policy in /opt/app/policy/api/bin) 18:16:16 policy-api | [2024-04-26T18:14:44.913+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:16 policy-api | [2024-04-26T18:14:46.526+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:16 policy-api | [2024-04-26T18:14:46.611+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. 18:16:16 policy-api | [2024-04-26T18:14:46.997+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:16 policy-api | [2024-04-26T18:14:46.998+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:16 policy-api | [2024-04-26T18:14:47.654+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:16 policy-api | [2024-04-26T18:14:47.663+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:16 policy-api | [2024-04-26T18:14:47.664+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:16 policy-api | [2024-04-26T18:14:47.664+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:16 policy-api | [2024-04-26T18:14:47.751+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:16 policy-api | [2024-04-26T18:14:47.751+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2774 ms 18:16:16 policy-api | [2024-04-26T18:14:48.138+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:16 policy-api | [2024-04-26T18:14:48.211+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:16 policy-api | [2024-04-26T18:14:48.214+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:16 policy-api | [2024-04-26T18:14:48.256+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:16 policy-api | [2024-04-26T18:14:48.596+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:16 policy-api | [2024-04-26T18:14:48.615+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:16 policy-api | [2024-04-26T18:14:48.712+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 18:16:16 policy-api | [2024-04-26T18:14:48.714+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:16 policy-api | [2024-04-26T18:14:48.737+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:16 policy-api | [2024-04-26T18:14:48.738+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:16 policy-api | [2024-04-26T18:14:50.448+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:16 policy-api | [2024-04-26T18:14:50.452+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:16 policy-api | [2024-04-26T18:14:51.737+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:16 policy-api | [2024-04-26T18:14:52.469+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:16 policy-api | [2024-04-26T18:14:53.489+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:16 policy-api | [2024-04-26T18:14:53.678+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2f84848e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@607c7f58, org.springframework.security.web.context.SecurityContextHolderFilter@7b3d759f, org.springframework.security.web.header.HeaderWriterFilter@15200332, org.springframework.security.web.authentication.logout.LogoutFilter@25e7e6d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4c66b3d9, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@62c4ad40, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@9bc10bd, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4bbb00a4, org.springframework.security.web.access.ExceptionTranslationFilter@4529b266, org.springframework.security.web.access.intercept.AuthorizationFilter@3413effc] 18:16:16 policy-api | [2024-04-26T18:14:54.512+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:16 policy-api | [2024-04-26T18:14:54.566+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:16 policy-api | [2024-04-26T18:14:54.598+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:16 policy-api | [2024-04-26T18:14:54.617+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.401 seconds (process running for 10.983) 18:16:16 policy-api | [2024-04-26T18:15:02.342+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:16 policy-api | [2024-04-26T18:15:02.343+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 18:16:16 policy-api | [2024-04-26T18:15:02.344+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 18:16:16 policy-api | [2024-04-26T18:15:05.133+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 18:16:16 policy-api | [] 18:16:16 policy-api | [2024-04-26T18:15:05.243+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 18:16:16 policy-api | [2024-04-26T18:15:05.510+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 18:16:16 policy-api | [2024-04-26T18:15:06.736+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 18:16:16 policy-api | [2024-04-26T18:15:08.753+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:16 policy-api | [2024-04-26T18:15:09.040+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:16 policy-api | [2024-04-26T18:15:09.260+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 18:16:16 policy-api | [2024-04-26T18:15:09.482+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:16 policy-api | [2024-04-26T18:15:09.699+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:16 policy-api | [2024-04-26T18:15:09.914+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:16 prometheus | ts=2024-04-26T18:14:32.854Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:16 prometheus | ts=2024-04-26T18:14:32.854Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" 18:16:16 prometheus | ts=2024-04-26T18:14:32.854Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" 18:16:16 prometheus | ts=2024-04-26T18:14:32.854Z 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:16 prometheus | ts=2024-04-26T18:14:32.854Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:16 prometheus | ts=2024-04-26T18:14:32.854Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:16 prometheus | ts=2024-04-26T18:14:32.856Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:16 prometheus | ts=2024-04-26T18:14:32.857Z caller=main.go:1129 level=info msg="Starting TSDB ..." 18:16:16 prometheus | ts=2024-04-26T18:14:32.860Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 18:16:16 prometheus | ts=2024-04-26T18:14:32.860Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:16 prometheus | ts=2024-04-26T18:14:32.863Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:16 prometheus | ts=2024-04-26T18:14:32.863Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.31µs 18:16:16 prometheus | ts=2024-04-26T18:14:32.863Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:16 prometheus | ts=2024-04-26T18:14:32.864Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:16 prometheus | ts=2024-04-26T18:14:32.864Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=28.951µs wal_replay_duration=418.327µs wbl_replay_duration=400ns total_replay_duration=475.959µs 18:16:16 prometheus | ts=2024-04-26T18:14:32.867Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 18:16:16 prometheus | ts=2024-04-26T18:14:32.867Z caller=main.go:1153 level=info msg="TSDB started" 18:16:16 prometheus | ts=2024-04-26T18:14:32.867Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:16 prometheus | ts=2024-04-26T18:14:32.868Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=998.299µs db_storage=1.36µs remote_storage=2.84µs web_handler=410ns query_engine=1.1µs scrape=310.192µs scrape_sd=116.365µs notify=30.461µs notify_sd=10.28µs rules=3.101µs tracing=5.34µs 18:16:16 prometheus | ts=2024-04-26T18:14:32.868Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 18:16:16 prometheus | ts=2024-04-26T18:14:32.868Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.07784049Z level=info msg="Executing migration" id="add index api_key.key" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.078592238Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=751.248µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.087613299Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.088843274Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.227805ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.095308551Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.096066829Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=758.498µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.101282821Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.102029758Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=754.988µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.106922688Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.107631534Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=708.806µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.113171067Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.119976637Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.80501ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.127575746Z level=info msg="Executing migration" id="create api_key table v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.128569503Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=992.277µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.135827339Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.136747653Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=921.024µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.142232414Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.143073155Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=840.071µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.147775588Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.149089206Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.312758ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.157155172Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.157938021Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=789.099µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.164202161Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.164798703Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=596.042µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.172474645Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.172512576Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.441µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.177926175Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.182179951Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.251516ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.191240874Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.193914872Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.673388ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.197308036Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.197466872Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=154.476µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.202437035Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.204853053Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.413238ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.207953967Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.211246798Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.292181ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.214379833Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.215223044Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=837.901µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.219502931Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.220081393Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=578.071µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.223856821Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.224709492Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=852.371µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.229969036Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.231265783Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.296598ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.235353723Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.237040975Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.686012ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.240967279Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.24262189Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.653881ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.247377235Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.247444197Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=66.752µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.25078833Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.250812831Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=25.301µs 18:16:16 policy-db-migrator | Waiting for mariadb port 3306... 18:16:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:16 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 18:16:16 policy-db-migrator | 321 blocks 18:16:16 policy-db-migrator | Preparing upgrade release version: 0800 18:16:16 policy-db-migrator | Preparing upgrade release version: 0900 18:16:16 policy-db-migrator | Preparing upgrade release version: 1000 18:16:16 policy-db-migrator | Preparing upgrade release version: 1100 18:16:16 policy-db-migrator | Preparing upgrade release version: 1200 18:16:16 policy-db-migrator | Preparing upgrade release version: 1300 18:16:16 policy-db-migrator | Done 18:16:16 policy-db-migrator | name version 18:16:16 policy-db-migrator | policyadmin 0 18:16:16 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:16 policy-db-migrator | upgrade: 0 -> 1300 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.254430554Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.259096235Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.673222ms 18:16:16 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.316318396Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.320753089Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.433313ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.325623438Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.32568832Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=65.193µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.329587833Z level=info msg="Executing migration" id="create quota table v1" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.330417224Z level=info msg="Migration successfully executed" id="create quota table v1" duration=828.22µs 18:16:16 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.334470022Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.335720908Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.250476ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.340425311Z level=info msg="Executing migration" id="Update quota table charset" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.340451942Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=27.281µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.344006432Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.34476413Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=755.968µs 18:16:16 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.348876771Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.350533052Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.655111ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.356782672Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.359668657Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.885876ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.364070489Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.36409471Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=25.001µs 18:16:16 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.367524546Z level=info msg="Executing migration" id="create session table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.368369637Z level=info msg="Migration successfully executed" id="create session table" duration=844.621µs 18:16:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.372200808Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.37227417Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=73.722µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.376790376Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.376984133Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=179.587µs 18:16:16 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.380940228Z level=info msg="Executing migration" id="create playlist table v2" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.382390222Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.494235ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.386267534Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.387599663Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.325659ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.395566185Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.395590666Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=25.421µs 18:16:16 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.411587674Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.411675507Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=92.594µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.422222514Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.426856454Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.63465ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.438502162Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.443825037Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.323305ms 18:16:16 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.450058186Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.450179151Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=120.805µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.460702867Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.460843262Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=141.025µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.470020769Z level=info msg="Executing migration" id="create preferences table v3" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.471268715Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.247676ms 18:16:16 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.485165645Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.485237628Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=72.283µs 18:16:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.530764689Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.534022839Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.25678ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.538442331Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.538632528Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=188.387µs 18:16:16 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.542817712Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.547914879Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.095427ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.553621458Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.556836547Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.212448ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.561362393Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:16 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.561451666Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=89.113µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.564704885Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.565864278Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.159363ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.571883379Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.573387554Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.504785ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.577683782Z level=info msg="Executing migration" id="create alert table v1" 18:16:16 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.57899257Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.307578ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.58280848Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.583813927Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.005467ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.588408046Z level=info msg="Executing migration" id="add index alert state" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.589279188Z level=info msg="Migration successfully executed" id="add index alert state" duration=870.812µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.593289765Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:16 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.594189408Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=902.663µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.597658425Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.598401623Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=742.758µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.602759373Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.604008498Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.247325ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.607722015Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:16 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.609096965Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.37459ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.613812068Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.623561246Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.746648ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.628781518Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.629595298Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=813.29µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.683714045Z 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:16 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.685257312Z 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.544226ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.689232147Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.689671534Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=447.046µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.694404047Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.695002899Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=586.982µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.698728796Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:16 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.699845837Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.114461ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.704877292Z level=info msg="Executing migration" id="Add column is_default" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.710905343Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.032611ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.718675468Z level=info msg="Executing migration" id="Add column frequency" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.724872546Z level=info msg="Migration successfully executed" id="Add column frequency" duration=6.198988ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.728974477Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.731656115Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.683679ms 18:16:16 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.73724795Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.740962397Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.714077ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.749642765Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.750531008Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=886.843µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.755452149Z level=info msg="Executing migration" id="Update alert table charset" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.7554917Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=40.871µs 18:16:16 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.761722159Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.761770001Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=49.052µs 18:16:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.767820083Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.768962435Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.142342ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.776664908Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.778153232Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.488345ms 18:16:16 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.787793156Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.788920648Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.126581ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.795395435Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.796647881Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.252536ms 18:16:16 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.800670339Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.802144113Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.473374ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.806802214Z level=info msg="Executing migration" id="Add for to alert table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.811456185Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.650991ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.818176372Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.822550112Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.37352ms 18:16:16 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.830793065Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.831075115Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=283.63µs 18:16:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.838389074Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.840179049Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.788495ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.846512142Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.847943735Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.430992ms 18:16:16 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.85625568Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.860471425Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.214494ms 18:16:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.865550951Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.865678976Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=127.835µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.870363908Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.8717933Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.429152ms 18:16:16 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.875228216Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.876176561Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=947.725µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.879719631Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.879807904Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=87.703µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.88431509Z level=info msg="Executing migration" id="create annotation table v5" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.885884628Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.570937ms 18:16:16 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.889822572Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.891147731Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.322749ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.897753163Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.899232838Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.483165ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.903709332Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.904559153Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=849.311µs 18:16:16 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.907961788Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.908966695Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.004447ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.912495475Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.913556514Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.060598ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.917899713Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.917926364Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=27.341µs 18:16:16 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.92161812Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.92570876Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.089711ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.929050852Z level=info msg="Executing migration" id="Drop category_id index" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.929917884Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=869.522µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.96984289Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.976169512Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.331642ms 18:16:16 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.980048765Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.980786552Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=737.337µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:35.984598282Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.985573928Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=974.986µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.990135725Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.991454384Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.317958ms 18:16:16 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:35.995216342Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.006673159Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.453257ms 18:16:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.010209416Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.010946634Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=737.389µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.015556443Z 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:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.016605314Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.048861ms 18:16:16 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.020473674Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.020809257Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=335.103µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.024975048Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.025912674Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=936.596µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.030633717Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.030978141Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=344.093µs 18:16:16 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.034599391Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.041092432Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.491281ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.044959042Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.049061381Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.101399ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.054387337Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.055344255Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=956.297µs 18:16:16 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.05934606Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.060855718Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.509559ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.064950607Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.065356832Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=406.235µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.069801565Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.0738206Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.018345ms 18:16:16 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.077348107Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.078250592Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=899.015µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.081959226Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.082155793Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=196.617µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.085786274Z level=info msg="Executing migration" id="Move region to single row" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.086432329Z level=info msg="Migration successfully executed" id="Move region to single row" duration=645.805µs 18:16:16 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.091297577Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.09264714Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.346112ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.096426116Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.097799949Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.373003ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.102661078Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.103556032Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=894.484µs 18:16:16 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.107316968Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.108209673Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=892.295µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.111636025Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.112454987Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=817.152µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.11691382Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.117774043Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=859.863µs 18:16:16 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.121404494Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.121479857Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=75.543µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.125031874Z level=info msg="Executing migration" id="create test_data table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.125858696Z level=info msg="Migration successfully executed" id="create test_data table" duration=826.562µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.132633099Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.133932999Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.29934ms 18:16:16 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.137658614Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.13911815Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.459717ms 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.142942468Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.144416365Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.473217ms 18:16:16 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.149125658Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.149314755Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=189.177µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.152600902Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.152951966Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=349.424µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.156259484Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.156365788Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=103.104µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.161099032Z level=info msg="Executing migration" id="create team table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.162393292Z level=info msg="Migration successfully executed" id="create team table" duration=1.29256ms 18:16:16 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.166973929Z level=info msg="Executing migration" id="add index team.org_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.167949267Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=976.658µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.172457372Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.173827435Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.367653ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.17758434Z level=info msg="Executing migration" id="Add column uid in team" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.183665176Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.080456ms 18:16:16 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.187778755Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.187979323Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=200.208µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.190405877Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.191399836Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=993.158µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.194626011Z level=info msg="Executing migration" id="create team member table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.195441502Z level=info msg="Migration successfully executed" id="create team member table" duration=814.912µs 18:16:16 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.199877064Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.200792109Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=914.665µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.204112328Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.205114057Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.001059ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.208063841Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.209037539Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=972.428µs 18:16:16 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.212277364Z level=info msg="Executing migration" id="Add column email to team table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.216842301Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.564677ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.221091426Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.225627382Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.534175ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.228763653Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.23331831Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.554116ms 18:16:16 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.236585386Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.237567084Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=981.138µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.242453353Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.243934941Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.481218ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.247678886Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.249372282Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.692455ms 18:16:16 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.255982078Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.256956815Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=974.087µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.260389808Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.261939588Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.54983ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.265724345Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.267228973Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.503118ms 18:16:16 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.272081881Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.273061629Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=978.918µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.276387168Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.277427558Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.04009ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.280934124Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.281751196Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=818.092µs 18:16:16 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.286722809Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.286975148Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=252.01µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.290446203Z level=info msg="Executing migration" id="create tag table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.291163511Z level=info msg="Migration successfully executed" id="create tag table" duration=716.477µs 18:16:16 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.296509228Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.298135991Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.626343ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.301835464Z level=info msg="Executing migration" id="create login attempt table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.302993159Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.156795ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.30663401Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.307568196Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=933.786µs 18:16:16 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.312204336Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.313824458Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.619572ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.31772289Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.333851364Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.127685ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.33708853Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.337677033Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=588.522µs 18:16:16 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.341879375Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.343386124Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.506349ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.347295805Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.347814305Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=518.1µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.351051291Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.351680405Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=629.124µs 18:16:16 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.355851127Z level=info msg="Executing migration" id="create user auth table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.356594895Z level=info msg="Migration successfully executed" id="create user auth table" duration=743.668µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.359960296Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.361466284Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.505318ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.365152907Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.365289602Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=137.085µs 18:16:16 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.369767136Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.374745929Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=4.978343ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.378344638Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.38329553Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.952012ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.38664982Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.391601282Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.950872ms 18:16:16 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.396439339Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.401458064Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.016984ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.405899916Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.406924705Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.024549ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.411144289Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.419308645Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.163826ms 18:16:16 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.422893404Z level=info msg="Executing migration" id="create server_lock table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.423503478Z level=info msg="Migration successfully executed" id="create server_lock table" duration=609.764µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.427749852Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.428450699Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=700.587µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.431994897Z level=info msg="Executing migration" id="create user auth token table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.433511575Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.516079ms 18:16:16 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.440037488Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.441678892Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.642914ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.445612134Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.447136743Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.523889ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.451110527Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.452180689Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.069492ms 18:16:16 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.456629421Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.465505845Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.874404ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.469452568Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.470171396Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=717.057µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.473446572Z level=info msg="Executing migration" id="create cache_data table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.474977132Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.52994ms 18:16:16 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.479735186Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.481414071Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.678095ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.485528941Z level=info msg="Executing migration" id="create short_url table v1" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.486437756Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=906.285µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.489829407Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.490872428Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.042391ms 18:16:16 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.495125462Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.495205495Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=80.223µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.498538695Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.498646249Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=107.854µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.502082722Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.503475776Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.394294ms 18:16:16 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.506915539Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.508435908Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.519799ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.512641821Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.51363953Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=997.009µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.517070463Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.517134335Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=64.343µs 18:16:16 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.520570328Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.522122698Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.55199ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.526498908Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.527391072Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=892.064µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.530645978Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.531627347Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=980.608µs 18:16:16 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.535006547Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.536071679Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.063122ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.54048605Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.54616529Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.67865ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.549314002Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.550282309Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=967.677µs 18:16:16 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.554348107Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.554457641Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=109.094µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.558029419Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.55907312Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.042701ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.562268854Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.564059053Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.78695ms 18:16:16 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.568473484Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.570323056Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.848821ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.5737935Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.573883904Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=90.763µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.61174425Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.613338892Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.595532ms 18:16:16 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.618935109Z level=info msg="Executing migration" id="create alert_instance table" 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.620088714Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.153585ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.624022626Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.625113368Z 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.090472ms 18:16:16 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.630936384Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.632011356Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.074581ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.636142576Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.6463183Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=10.175145ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.649888378Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.650628207Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=739.809µs 18:16:16 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.654998366Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.656014745Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.015629ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.659565483Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.684082163Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=24.51644ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.687576358Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.711141121Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.564283ms 18:16:16 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.715720519Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.716479978Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=760.28µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.719710033Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.720771314Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.059621ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.726551378Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.733287199Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.736161ms 18:16:16 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.737630217Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.743278666Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.645359ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.746771662Z level=info msg="Executing migration" id="create alert_rule table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.747874794Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.102333ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.751423362Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.752515254Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.089692ms 18:16:16 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.757282569Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.758378941Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.093532ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.762296913Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.763468918Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.170155ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.767078048Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.767169192Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=91.254µs 18:16:16 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.771549091Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.782533527Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=10.983836ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.788436006Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.79421684Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.796434ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.798197524Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.804180406Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.982772ms 18:16:16 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.808855287Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.809846634Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=991.047µs 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:36.814103959Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.81515689Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.051981ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.818558772Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.824565554Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.006322ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.829211194Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:16 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.835227497Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.015973ms 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.83890539Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.83992793Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.022079ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.846457893Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:16 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.852797628Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.338956ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.857192628Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.863262324Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.069075ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.87092342Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.871051705Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=130.225µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.878120209Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:16 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.879868597Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.747898ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.884567759Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.885681142Z 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.113023ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.889150626Z 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:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.891085911Z 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.933825ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.895064156Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:16 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.895228422Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=162.597µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.899498087Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.905703208Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.204741ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.909217654Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.915249568Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.031354ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.918699661Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:16 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.924809178Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.108437ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.928145747Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.934289035Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.142598ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.939486367Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.945554332Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.067395ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.948803248Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:16 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.948892441Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=88.014µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.953381975Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.954160165Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=778.08µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.958639639Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.968606045Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.964647ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.972410072Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:16 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.972481295Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=71.283µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.975799343Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.984397737Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.593943ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.98912467Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.989851578Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=725.398µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:36.993735658Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:16 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.00307159Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.327261ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.006536434Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.007370116Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=833.342µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.011518737Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.012600059Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.080852ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.015692119Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:16 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.02242992Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.737431ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.025677736Z level=info msg="Executing migration" id="create provenance_type table" 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.026258368Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=579.672µs 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.03224788Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.032980659Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=737.419µs 18:16:16 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.036239245Z level=info msg="Executing migration" id="create alert_image table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.037101608Z level=info msg="Migration successfully executed" id="create alert_image table" duration=862.203µs 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.040522511Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.041630314Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.107353ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.04617048Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.046236352Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=65.962µs 18:16:16 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.049680996Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.050673744Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=993.598µs 18:16:16 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.054275184Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.055154748Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=879.334µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.058678774Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.059149132Z 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:16 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.063140067Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.063591415Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=451.228µs 18:16:16 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.067908552Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.068948092Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.03881ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.072300132Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.079124366Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.823594ms 18:16:16 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.084183862Z level=info msg="Executing migration" id="create library_element table v1" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.085274355Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.090253ms 18:16:16 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.090162264Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.091238216Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.075742ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.094473551Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.095276972Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=803.011µs 18:16:16 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.099332319Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.1003788Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.044331ms 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:37.103969629Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.105123124Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.150454ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.108566727Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.108591758Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.741µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.113313431Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:16 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.113408135Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=92.943µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.120297051Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:37.120610004Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=313.493µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.125365498Z level=info msg="Executing migration" id="create data_keys table" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.126356666Z level=info msg="Migration successfully executed" id="create data_keys table" duration=991.068µs 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.130629112Z level=info msg="Executing migration" id="create secrets table" 18:16:16 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.131488445Z level=info msg="Migration successfully executed" id="create secrets table" duration=859.293µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.135661447Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:37.16568026Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=30.017863ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.169282269Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.174383447Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.101198ms 18:16:16 policy-db-migrator | 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.178478165Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:16 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.178640202Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=161.867µs 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.182645937Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:16 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:16 grafana | logger=migrator t=2024-04-26T18:14:37.215373735Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.726948ms 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.276379208Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:16 policy-db-migrator | JOIN pdpstatistics b 18:16:16 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:16 policy-db-migrator | SET a.id = b.id 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.311831362Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=35.452714ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.317069315Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.31773258Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=663.265µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.321978865Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.323639149Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.659414ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.329276228Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.32958622Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=310.122µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.33320305Z level=info msg="Executing migration" id="create permission table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.334631105Z level=info msg="Migration successfully executed" id="create permission table" duration=1.428005ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.339510834Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.340489242Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=977.788µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.34715679Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.348998632Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.840802ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.353268237Z level=info msg="Executing migration" id="create role table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.354807067Z level=info msg="Migration successfully executed" id="create role table" duration=1.54ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.358547592Z level=info msg="Executing migration" id="add column display_name" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.36624388Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.693908ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.371336047Z level=info msg="Executing migration" id="add column group_name" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.378857738Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.521341ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.383702236Z level=info msg="Executing migration" id="add index role.org_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.384672574Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=968.358µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.389531982Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.390594943Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.063041ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.395047916Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.396121287Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.068301ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.399723917Z level=info msg="Executing migration" id="create team role table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.400770307Z level=info msg="Migration successfully executed" id="create team role table" duration=1.045ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.405914677Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.407692376Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.777368ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.412308564Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.413451529Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.143005ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.419107318Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.420830045Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.721706ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.425471584Z level=info msg="Executing migration" id="create user role table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.426617499Z level=info msg="Migration successfully executed" id="create user role table" duration=1.146765ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.430242879Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.431240168Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=996.989µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.43491669Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.43593951Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.02225ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.441402712Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.442477073Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.074872ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.446864323Z level=info msg="Executing migration" id="create builtin role table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.447715226Z level=info msg="Migration successfully executed" id="create builtin role table" duration=852.203µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.450889939Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.452287543Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.396104ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.460661718Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.462413236Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.751137ms 18:16:16 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | msg 18:16:16 policy-db-migrator | upgrade to 1100 completed 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 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:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | TRUNCATE TABLE sequence 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.469781821Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.480507157Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.728475ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.483756292Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.484847845Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.091673ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.488152783Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.489215214Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.061031ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.493786671Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP TABLE pdpstatistics 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | DROP TABLE statistics_sequence 18:16:16 policy-db-migrator | -------------- 18:16:16 policy-db-migrator | 18:16:16 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:16 policy-db-migrator | name version 18:16:16 policy-db-migrator | policyadmin 1300 18:16:16 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:16 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 18:16:16 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.495340791Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.55404ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.501369925Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.502996818Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.628593ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.512904432Z level=info msg="Executing migration" id="create seed assignment table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.515123198Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=2.218406ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.521173442Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.522345707Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.171425ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.524946848Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.53351556Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.568362ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.537010936Z level=info msg="Executing migration" id="permission kind migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.545417211Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.403945ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.5492619Z level=info msg="Executing migration" id="permission attribute migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.557605073Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.342233ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.561176532Z level=info msg="Executing migration" id="permission identifier migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.566675255Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.498283ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.572843714Z level=info msg="Executing migration" id="add permission identifier index" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.57429182Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.447856ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.580081034Z level=info msg="Executing migration" id="add permission action scope role_id index" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.581886544Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.805ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.585620239Z level=info msg="Executing migration" id="remove permission role_id action scope index" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.586669469Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.04917ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.590258268Z level=info msg="Executing migration" id="create query_history table v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.591117532Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=858.624µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.597054702Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.598107823Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.05074ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.602157789Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.602226762Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=69.453µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.605803231Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.605849352Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=47.171µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.61119345Z level=info msg="Executing migration" id="teams permissions migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.612027362Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=834.503µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.617370779Z level=info msg="Executing migration" id="dashboard permissions" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.618241053Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=871.023µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.622939185Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.623569909Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=628.935µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.626797304Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.626999252Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=203.048µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.631223126Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.631882151Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=657.306µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.635552203Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.636792921Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.240588ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.655988065Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.657312956Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.327201ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.663316799Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.669698616Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=6.383887ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.673190761Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.673258914Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=68.963µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.675920497Z level=info msg="Executing migration" id="create correlation table v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.676994049Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.072392ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.681989042Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.682746112Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=774.83µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.688083488Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:16 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 18:16:16 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 18:16:16 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.689801405Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.717587ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.698210481Z level=info msg="Executing migration" id="add correlation config column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.704054537Z level=info msg="Migration successfully executed" id="add correlation config column" duration=5.843706ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.709210017Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.71084453Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.634923ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.715062594Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.716653585Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.590472ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.720100639Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.745455311Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=25.356532ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.750636282Z level=info msg="Executing migration" id="create correlation v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.751458544Z level=info msg="Migration successfully executed" id="create correlation v2" duration=821.692µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.754837565Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.756498759Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.661005ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.760198042Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.762055614Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.857332ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.767177193Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.768274635Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.097383ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.77150446Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.771771651Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=267.24µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.774238736Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.775384121Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.145694ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.77950747Z level=info msg="Executing migration" id="add provisioning column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.78878017Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.272799ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.791827768Z level=info msg="Executing migration" id="create entity_events table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.792459432Z level=info msg="Migration successfully executed" id="create entity_events table" duration=630.954µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.795350554Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.796076162Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=725.018µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.799924451Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.80065858Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.804192497Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.804947956Z 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:16 grafana | logger=migrator t=2024-04-26T18:14:37.808243984Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.809056165Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=811.792µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.811812152Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.812849782Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.03723ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.81590634Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.817065345Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.156855ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.8226167Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.823966323Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.349113ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.830852979Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.8318927Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.041031ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.834967069Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.836611863Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.644683ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.840102388Z level=info msg="Executing migration" id="Drop public config table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.841338736Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.237318ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.844758018Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.845884212Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.126804ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.848785884Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.84997609Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.189626ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.8535774Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.854836879Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.259199ms 18:16:16 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 18:16:16 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:41 18:16:16 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2604241814371100u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2604241814371200u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2604241814371200u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2604241814371200u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2604241814371200u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2604241814371300u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2604241814371300u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2604241814371300u 1 2024-04-26 18:14:42 18:16:16 policy-db-migrator | policyadmin: OK @ 1300 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.857821394Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.859060732Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.238828ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.864149329Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.887479593Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.329954ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.919772994Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.930618995Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=10.84573ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.934226844Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.944626927Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.398793ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.94804493Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.948272628Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=242.629µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.952821775Z level=info msg="Executing migration" id="add share column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.961072494Z level=info msg="Migration successfully executed" id="add share column" duration=8.250029ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.965494186Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.965643211Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=149.945µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.969130207Z level=info msg="Executing migration" id="create file table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.969810213Z level=info msg="Migration successfully executed" id="create file table" duration=679.677µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.974197393Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.976224611Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.024948ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.97954789Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.980684894Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.137854ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.983891778Z level=info msg="Executing migration" id="create file_meta table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.98470969Z level=info msg="Migration successfully executed" id="create file_meta table" duration=815.052µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.987934895Z level=info msg="Executing migration" id="file table idx: path key" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.989111581Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.175976ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.995113583Z level=info msg="Executing migration" id="set path collation in file table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.995203557Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=90.174µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.999599127Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:37.999741112Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=142.045µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.003208787Z level=info msg="Executing migration" id="managed permissions migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.004145693Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=936.186µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.007551305Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.00794687Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=395.245µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.011506448Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.013380881Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.874953ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.016351826Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.025386626Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.03415ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.031614597Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.031797054Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=182.547µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.036829489Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.038163501Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.333142ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.041531011Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.042220278Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=690.277µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.048279003Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.048664478Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=387.805µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.054804446Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.055712211Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=907.215µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.059104572Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.068134382Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.02999ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.07606863Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.085089839Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.02002ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.089852724Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.091136893Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.28428ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.095252533Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.172546297Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=77.292984ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.175617556Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.176462199Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=845.113µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.181077348Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.182706341Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.627013ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.186270799Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.215044084Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=28.773724ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.218154734Z level=info msg="Executing migration" id="add origin column to seed_assignment" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.226033959Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.877345ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.230613687Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.231041793Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=428.226µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.234497247Z level=info msg="Executing migration" id="prevent seeding OnCall access" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.234781358Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=283.911µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.238103687Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.238365287Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=261.46µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.241123864Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.241393444Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=266.54µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.248304972Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.248599504Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=294.542µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.251884701Z level=info msg="Executing migration" id="create folder table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.2534078Z level=info msg="Migration successfully executed" id="create folder table" duration=1.522429ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.256584453Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.257910474Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.325691ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.261114848Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.262372257Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.256719ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.266226246Z level=info msg="Executing migration" id="Update folder title length" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.266255528Z level=info msg="Migration successfully executed" id="Update folder title length" duration=29.052µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.270333506Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.271587554Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.254439ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.274965455Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.276677621Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.712416ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.283301988Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.284527626Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.236227ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.288930736Z level=info msg="Executing migration" id="Sync dashboard and folder table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.289409275Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=476.148µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.292678391Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.293139259Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=460.978µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.296669046Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.298643062Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.974106ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.303058833Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.304434657Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.374834ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.307665792Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.309124348Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.458376ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.312412196Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.313882103Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.468897ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.318424679Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.319503231Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.078701ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.323426363Z level=info msg="Executing migration" id="create anon_device table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.324542786Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.119004ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.327665187Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.328884554Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.217977ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.332008795Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.333251763Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.243068ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.336485428Z level=info msg="Executing migration" id="create signing_key table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.337493187Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.007319ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.340747964Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.341975781Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.226947ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.345390803Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.346572019Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.181586ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.349731592Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.350068695Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=337.813µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.354268817Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.363952913Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.683085ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.367051233Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.367804102Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=753.609µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.370770967Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.371922231Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.150454ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.374883916Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.3760262Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.141794ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.379596559Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.380725922Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.129293ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.383954367Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.385552239Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.596502ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.388816166Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.390300113Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.483337ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.393401793Z level=info msg="Executing migration" id="create sso_setting table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.394737635Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.336272ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.401352331Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.401954165Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=601.964µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.40646818Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.407011871Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=545.431µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.410563418Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.410720674Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=157.176µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.414044043Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.422866605Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=8.823042ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.426462944Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.432927275Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=6.463471ms 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.4369333Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.437282503Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=348.813µs 18:16:16 grafana | logger=migrator t=2024-04-26T18:14:38.442028847Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.382791896s 18:16:16 grafana | logger=sqlstore t=2024-04-26T18:14:38.454873645Z level=info msg="Created default admin" user=admin 18:16:16 grafana | logger=sqlstore t=2024-04-26T18:14:38.455109684Z level=info msg="Created default organization" 18:16:16 grafana | logger=secrets t=2024-04-26T18:14:38.458732564Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:16 grafana | logger=plugin.store t=2024-04-26T18:14:38.479413006Z level=info msg="Loading plugins..." 18:16:16 grafana | logger=local.finder t=2024-04-26T18:14:38.529022868Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:16 grafana | logger=plugin.store t=2024-04-26T18:14:38.52908972Z level=info msg="Plugins loaded" count=55 duration=49.676974ms 18:16:16 grafana | logger=query_data t=2024-04-26T18:14:38.532317155Z level=info msg="Query Service initialization" 18:16:16 grafana | logger=live.push_http t=2024-04-26T18:14:38.535863723Z level=info msg="Live Push Gateway initialization" 18:16:16 grafana | logger=ngalert.migration t=2024-04-26T18:14:38.567061381Z level=info msg=Starting 18:16:16 grafana | logger=ngalert.migration t=2024-04-26T18:14:38.567871213Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 18:16:16 grafana | logger=ngalert.migration orgID=1 t=2024-04-26T18:14:38.568752097Z level=info msg="Migrating alerts for organisation" 18:16:16 grafana | logger=ngalert.migration orgID=1 t=2024-04-26T18:14:38.570031076Z level=info msg="Alerts found to migrate" alerts=0 18:16:16 grafana | logger=ngalert.migration t=2024-04-26T18:14:38.573298063Z level=info msg="Completed alerting migration" 18:16:16 grafana | logger=ngalert.state.manager t=2024-04-26T18:14:38.603766743Z level=info msg="Running in alternative execution of Error/NoData mode" 18:16:16 grafana | logger=infra.usagestats.collector t=2024-04-26T18:14:38.605971229Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:16 grafana | logger=provisioning.datasources t=2024-04-26T18:14:38.60833081Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:16:16 grafana | logger=provisioning.alerting t=2024-04-26T18:14:38.623678345Z level=info msg="starting to provision alerting" 18:16:16 grafana | logger=provisioning.alerting t=2024-04-26T18:14:38.623774828Z level=info msg="finished to provision alerting" 18:16:16 grafana | logger=grafanaStorageLogger t=2024-04-26T18:14:38.624211195Z level=info msg="Storage starting" 18:16:16 grafana | logger=ngalert.state.manager t=2024-04-26T18:14:38.626530345Z level=info msg="Warming state cache for startup" 18:16:16 grafana | logger=http.server t=2024-04-26T18:14:38.628821994Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:16 grafana | logger=ngalert.multiorg.alertmanager t=2024-04-26T18:14:38.629408667Z level=info msg="Starting MultiOrg Alertmanager" 18:16:16 grafana | logger=ngalert.state.manager t=2024-04-26T18:14:38.660631936Z level=info msg="State cache has been initialized" states=0 duration=34.098061ms 18:16:16 grafana | logger=ngalert.scheduler t=2024-04-26T18:14:38.660825054Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 18:16:16 grafana | logger=ticker t=2024-04-26T18:14:38.661080404Z level=info msg=starting first_tick=2024-04-26T18:14:40Z 18:16:16 grafana | logger=provisioning.dashboard t=2024-04-26T18:14:38.714142149Z level=info msg="starting to provision dashboards" 18:16:16 grafana | logger=plugins.update.checker t=2024-04-26T18:14:38.727945884Z level=info msg="Update check succeeded" duration=100.860857ms 18:16:16 grafana | logger=grafana.update.checker t=2024-04-26T18:14:38.732934567Z level=info msg="Update check succeeded" duration=108.755393ms 18:16:16 grafana | logger=sqlstore.transactions t=2024-04-26T18:14:38.735034469Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:16 grafana | logger=sqlstore.transactions t=2024-04-26T18:14:38.737485424Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:16 grafana | logger=sqlstore.transactions t=2024-04-26T18:14:38.745882969Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:16 grafana | logger=grafana-apiserver t=2024-04-26T18:14:38.955923556Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 18:16:16 grafana | logger=grafana-apiserver t=2024-04-26T18:14:38.956363433Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 18:16:16 grafana | logger=provisioning.dashboard t=2024-04-26T18:14:39.036867652Z level=info msg="finished to provision dashboards" 18:16:16 ++ echo 'Tearing down containers...' 18:16:16 Tearing down containers... 18:16:16 ++ docker-compose down -v --remove-orphans 18:16:17 Stopping grafana ... 18:16:17 Stopping policy-api ... 18:16:17 Stopping mariadb ... 18:16:17 Stopping prometheus ... 18:16:18 Stopping grafana ... done 18:16:18 Stopping prometheus ... done 18:16:18 Stopping mariadb ... done 18:16:27 Stopping policy-api ... done 18:16:27 Removing grafana ... 18:16:27 Removing policy-api ... 18:16:27 Removing policy-db-migrator ... 18:16:27 Removing mariadb ... 18:16:27 Removing prometheus ... 18:16:27 Removing policy-api ... done 18:16:27 Removing policy-db-migrator ... done 18:16:27 Removing grafana ... done 18:16:28 Removing mariadb ... done 18:16:28 Removing prometheus ... done 18:16:28 Removing network compose_default 18:16:28 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:28 + load_set 18:16:28 + _setopts=hxB 18:16:28 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:28 ++ tr : ' ' 18:16:28 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:28 + set +o braceexpand 18:16:28 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:28 + set +o hashall 18:16:28 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:28 + set +o interactive-comments 18:16:28 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:28 + set +o xtrace 18:16:28 ++ echo hxB 18:16:28 ++ sed 's/./& /g' 18:16:28 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:28 + set +h 18:16:28 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:28 + set +x 18:16:28 + [[ -n /tmp/tmp.5AgpytCi1l ]] 18:16:28 + rsync -av /tmp/tmp.5AgpytCi1l/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:28 sending incremental file list 18:16:28 ./ 18:16:28 log.html 18:16:28 output.xml 18:16:28 report.html 18:16:28 testplan.txt 18:16:28 18:16:28 sent 1,345,199 bytes received 95 bytes 2,690,588.00 bytes/sec 18:16:28 total size is 1,344,551 speedup is 1.00 18:16:28 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:28 + exit 0 18:16:28 $ ssh-agent -k 18:16:28 unset SSH_AUTH_SOCK; 18:16:28 unset SSH_AGENT_PID; 18:16:28 echo Agent pid 2156 killed; 18:16:28 [ssh-agent] Stopped. 18:16:28 Robot results publisher started... 18:16:28 INFO: Checking test criticality is deprecated and will be dropped in a future release! 18:16:28 -Parsing output xml: 18:16:28 Done! 18:16:28 WARNING! Could not find file: **/log.html 18:16:28 WARNING! Could not find file: **/report.html 18:16:28 -Copying log files to build dir: 18:16:28 Done! 18:16:28 -Assigning results to build: 18:16:28 Done! 18:16:28 -Checking thresholds: 18:16:28 Done! 18:16:28 Done publishing Robot results. 18:16:28 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:28 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17064058623678080198.sh 18:16:28 ---> sysstat.sh 18:16:29 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12664988394224451503.sh 18:16:29 ---> package-listing.sh 18:16:29 ++ facter osfamily 18:16:29 ++ tr '[:upper:]' '[:lower:]' 18:16:29 + OS_FAMILY=debian 18:16:29 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:29 + START_PACKAGES=/tmp/packages_start.txt 18:16:29 + END_PACKAGES=/tmp/packages_end.txt 18:16:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:29 + PACKAGES=/tmp/packages_start.txt 18:16:29 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:29 + PACKAGES=/tmp/packages_end.txt 18:16:29 + case "${OS_FAMILY}" in 18:16:29 + dpkg -l 18:16:29 + grep '^ii' 18:16:29 + '[' -f /tmp/packages_start.txt ']' 18:16:29 + '[' -f /tmp/packages_end.txt ']' 18:16:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:29 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:29 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:29 + 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:29 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins18407346144450204315.sh 18:16:29 ---> capture-instance-metadata.sh 18:16:29 Setup pyenv: 18:16:29 system 18:16:29 3.8.13 18:16:29 3.9.13 18:16:29 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1FCV from file:/tmp/.os_lf_venv 18:16:31 lf-activate-venv(): INFO: Installing: lftools 18:16:40 lf-activate-venv(): INFO: Adding /tmp/venv-1FCV/bin to PATH 18:16:40 INFO: Running in OpenStack, capturing instance metadata 18:16:41 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10133786447711305851.sh 18:16:41 provisioning config files... 18:16:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config14111415261931728251tmp 18:16:41 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:41 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:41 [EnvInject] - Injecting environment variables from a build step. 18:16:41 [EnvInject] - Injecting as environment variables the properties content 18:16:41 SERVER_ID=logs 18:16:41 18:16:41 [EnvInject] - Variables injected successfully. 18:16:41 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5617512647550899020.sh 18:16:41 ---> create-netrc.sh 18:16:41 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10773487578011179833.sh 18:16:41 ---> python-tools-install.sh 18:16:41 Setup pyenv: 18:16:41 system 18:16:41 3.8.13 18:16:41 3.9.13 18:16:41 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:41 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1FCV from file:/tmp/.os_lf_venv 18:16:42 lf-activate-venv(): INFO: Installing: lftools 18:16:51 lf-activate-venv(): INFO: Adding /tmp/venv-1FCV/bin to PATH 18:16:51 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1941445957669181744.sh 18:16:51 ---> sudo-logs.sh 18:16:51 Archiving 'sudo' log.. 18:16:51 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1804421617098912367.sh 18:16:51 ---> job-cost.sh 18:16:51 Setup pyenv: 18:16:51 system 18:16:51 3.8.13 18:16:51 3.9.13 18:16:51 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:51 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1FCV from file:/tmp/.os_lf_venv 18:16:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:16:57 lf-activate-venv(): INFO: Adding /tmp/venv-1FCV/bin to PATH 18:16:57 INFO: No Stack... 18:16:57 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:58 INFO: Archiving Costs 18:16:58 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins12086304602275099564.sh 18:16:58 ---> logs-deploy.sh 18:16:58 Setup pyenv: 18:16:58 system 18:16:58 3.8.13 18:16:58 3.9.13 18:16:58 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:58 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1FCV from file:/tmp/.os_lf_venv 18:16:59 lf-activate-venv(): INFO: Installing: lftools 18:17:08 lf-activate-venv(): INFO: Adding /tmp/venv-1FCV/bin to PATH 18:17:08 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/167 18:17:08 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:17:09 Archives upload complete. 18:17:09 INFO: archiving logs to Nexus 18:17:10 ---> uname -a: 18:17:10 Linux prd-ubuntu1804-docker-8c-8g-35476 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:10 18:17:10 18:17:10 ---> lscpu: 18:17:10 Architecture: x86_64 18:17:10 CPU op-mode(s): 32-bit, 64-bit 18:17:10 Byte Order: Little Endian 18:17:10 CPU(s): 8 18:17:10 On-line CPU(s) list: 0-7 18:17:10 Thread(s) per core: 1 18:17:10 Core(s) per socket: 1 18:17:10 Socket(s): 8 18:17:10 NUMA node(s): 1 18:17:10 Vendor ID: AuthenticAMD 18:17:10 CPU family: 23 18:17:10 Model: 49 18:17:10 Model name: AMD EPYC-Rome Processor 18:17:10 Stepping: 0 18:17:10 CPU MHz: 2800.000 18:17:10 BogoMIPS: 5600.00 18:17:10 Virtualization: AMD-V 18:17:10 Hypervisor vendor: KVM 18:17:10 Virtualization type: full 18:17:10 L1d cache: 32K 18:17:10 L1i cache: 32K 18:17:10 L2 cache: 512K 18:17:10 L3 cache: 16384K 18:17:10 NUMA node0 CPU(s): 0-7 18:17:10 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:10 18:17:10 18:17:10 ---> nproc: 18:17:10 8 18:17:10 18:17:10 18:17:10 ---> df -h: 18:17:10 Filesystem Size Used Avail Use% Mounted on 18:17:10 udev 16G 0 16G 0% /dev 18:17:10 tmpfs 3.2G 708K 3.2G 1% /run 18:17:10 /dev/vda1 155G 12G 144G 8% / 18:17:10 tmpfs 16G 0 16G 0% /dev/shm 18:17:10 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:10 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:10 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:10 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:10 18:17:10 18:17:10 ---> free -m: 18:17:10 total used free shared buff/cache available 18:17:10 Mem: 32167 834 27328 0 4004 30876 18:17:10 Swap: 1023 0 1023 18:17:10 18:17:10 18:17:10 ---> ip addr: 18:17:10 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:10 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:10 inet 127.0.0.1/8 scope host lo 18:17:10 valid_lft forever preferred_lft forever 18:17:10 inet6 ::1/128 scope host 18:17:10 valid_lft forever preferred_lft forever 18:17:10 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:17:10 link/ether fa:16:3e:6f:c7:9b brd ff:ff:ff:ff:ff:ff 18:17:10 inet 10.30.107.221/23 brd 10.30.107.255 scope global dynamic ens3 18:17:10 valid_lft 86052sec preferred_lft 86052sec 18:17:10 inet6 fe80::f816:3eff:fe6f:c79b/64 scope link 18:17:10 valid_lft forever preferred_lft forever 18:17:10 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:10 link/ether 02:42:f8:57:57:92 brd ff:ff:ff:ff:ff:ff 18:17:10 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:10 valid_lft forever preferred_lft forever 18:17:10 18:17:10 18:17:10 ---> sar -b -r -n DEV: 18:17:10 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-35476) 04/26/24 _x86_64_ (8 CPU) 18:17:10 18:17:10 18:11:25 LINUX RESTART (8 CPU) 18:17:10 18:17:10 18:12:01 tps rtps wtps bread/s bwrtn/s 18:17:10 18:13:01 110.36 42.89 67.47 1925.55 19022.03 18:17:10 18:14:01 127.28 23.40 103.88 2828.20 24403.27 18:17:10 18:15:01 387.00 12.71 374.29 828.06 77020.16 18:17:10 18:16:01 11.70 0.07 11.63 3.07 12463.99 18:17:10 18:17:01 61.57 2.00 59.57 118.78 16380.47 18:17:10 Average: 139.58 16.21 123.37 1140.73 29857.98 18:17:10 18:17:10 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:10 18:13:01 30169912 31731512 2769308 8.41 67932 1805892 1392120 4.10 842160 1641820 136272 18:17:10 18:14:01 29479856 31680828 3459364 10.50 94980 2392500 1556268 4.58 982328 2136176 373780 18:17:10 18:15:01 27298116 30970656 5641104 17.13 129020 3766888 3993236 11.75 1776660 3412940 292 18:17:10 18:16:01 26997880 30671672 5941340 18.04 129132 3767696 4169912 12.27 2076804 3412096 104 18:17:10 18:17:01 28003840 31636728 4935380 14.98 130932 3735116 1485704 4.37 1148688 3363164 2476 18:17:10 Average: 28389921 31338279 4549299 13.81 110399 3093618 2519448 7.41 1365328 2793239 102585 18:17:10 18:17:10 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:10 18:13:01 ens3 248.21 163.22 1177.12 42.54 0.00 0.00 0.00 0.00 18:17:10 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:10 18:13:01 lo 1.47 1.47 0.17 0.17 0.00 0.00 0.00 0.00 18:17:10 18:14:01 ens3 128.71 92.13 2823.37 12.28 0.00 0.00 0.00 0.00 18:17:10 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:10 18:14:01 br-1eb4f3c34813 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:10 18:14:01 lo 5.60 5.60 0.54 0.54 0.00 0.00 0.00 0.00 18:17:10 18:15:01 ens3 224.73 136.76 7379.23 10.48 0.00 0.00 0.00 0.00 18:17:10 18:15:01 vethe6613af 0.45 0.65 0.05 0.30 0.00 0.00 0.00 0.00 18:17:10 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:10 18:15:01 br-1eb4f3c34813 0.67 0.73 0.06 0.31 0.00 0.00 0.00 0.00 18:17:10 18:16:01 ens3 9.60 5.95 6.38 2.19 0.00 0.00 0.00 0.00 18:17:10 18:16:01 vethe6613af 0.15 0.18 0.01 0.01 0.00 0.00 0.00 0.00 18:17:10 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:10 18:16:01 br-1eb4f3c34813 3.00 3.45 6.11 2.21 0.00 0.00 0.00 0.00 18:17:10 18:17:01 ens3 71.59 54.44 78.89 26.26 0.00 0.00 0.00 0.00 18:17:10 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:10 18:17:01 lo 33.91 33.91 10.66 10.66 0.00 0.00 0.00 0.00 18:17:10 Average: ens3 136.57 90.50 2293.00 18.75 0.00 0.00 0.00 0.00 18:17:10 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:10 Average: lo 6.01 6.01 2.07 2.07 0.00 0.00 0.00 0.00 18:17:10 18:17:10 18:17:10 ---> sar -P ALL: 18:17:10 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-35476) 04/26/24 _x86_64_ (8 CPU) 18:17:10 18:17:10 18:11:25 LINUX RESTART (8 CPU) 18:17:10 18:17:10 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:17:10 18:13:01 all 10.53 0.00 0.87 2.62 0.04 85.95 18:17:10 18:13:01 0 25.90 0.00 1.72 0.38 0.03 71.96 18:17:10 18:13:01 1 5.47 0.00 0.38 0.70 0.02 93.43 18:17:10 18:13:01 2 9.04 0.00 0.58 0.65 0.05 89.67 18:17:10 18:13:01 3 7.25 0.00 0.80 0.52 0.02 91.42 18:17:10 18:13:01 4 1.60 0.00 0.58 0.47 0.02 97.33 18:17:10 18:13:01 5 1.30 0.00 0.70 15.28 0.05 82.66 18:17:10 18:13:01 6 1.25 0.00 0.47 0.43 0.00 97.85 18:17:10 18:13:01 7 32.55 0.00 1.70 2.57 0.07 63.12 18:17:10 18:14:01 all 10.06 0.00 1.04 2.43 0.04 86.42 18:17:10 18:14:01 0 18.80 0.00 1.38 1.20 0.05 78.57 18:17:10 18:14:01 1 27.70 0.00 1.62 1.81 0.05 68.82 18:17:10 18:14:01 2 11.06 0.00 1.41 3.50 0.05 83.99 18:17:10 18:14:01 3 2.15 0.00 0.65 0.02 0.10 97.08 18:17:10 18:14:01 4 6.80 0.00 0.84 1.80 0.02 90.55 18:17:10 18:14:01 5 2.71 0.00 0.85 10.39 0.03 86.01 18:17:10 18:14:01 6 2.24 0.00 0.58 0.57 0.03 96.58 18:17:10 18:14:01 7 9.07 0.00 0.97 0.20 0.05 89.72 18:17:10 18:15:01 all 15.24 0.00 3.68 4.70 0.08 76.30 18:17:10 18:15:01 0 11.81 0.00 4.13 20.15 0.10 63.81 18:17:10 18:15:01 1 22.66 0.00 4.43 0.69 0.08 72.13 18:17:10 18:15:01 2 11.55 0.00 2.68 2.29 0.10 83.39 18:17:10 18:15:01 3 13.57 0.00 3.56 4.32 0.07 78.48 18:17:10 18:15:01 4 13.96 0.00 3.54 1.38 0.08 81.04 18:17:10 18:15:01 5 12.22 0.00 2.62 4.31 0.10 80.75 18:17:10 18:15:01 6 17.69 0.00 3.82 1.27 0.07 77.15 18:17:10 18:15:01 7 18.45 0.00 4.69 3.16 0.08 73.61 18:17:10 18:16:01 all 4.49 0.00 0.37 0.72 0.03 94.39 18:17:10 18:16:01 0 2.47 0.00 0.15 0.00 0.00 97.38 18:17:10 18:16:01 1 5.18 0.00 0.17 0.00 0.00 94.65 18:17:10 18:16:01 2 5.82 0.00 0.50 0.00 0.10 93.57 18:17:10 18:16:01 3 5.34 0.00 0.45 0.02 0.02 94.18 18:17:10 18:16:01 4 5.45 0.00 0.64 0.34 0.03 93.54 18:17:10 18:16:01 5 1.62 0.00 0.12 5.42 0.02 92.83 18:17:10 18:16:01 6 5.39 0.00 0.38 0.00 0.02 94.21 18:17:10 18:16:01 7 4.64 0.00 0.52 0.00 0.03 94.81 18:17:10 18:17:01 all 6.77 0.00 0.61 1.31 0.03 91.28 18:17:10 18:17:01 0 0.78 0.00 0.40 0.78 0.02 98.02 18:17:10 18:17:01 1 21.49 0.00 0.70 0.65 0.03 77.12 18:17:10 18:17:01 2 17.69 0.00 0.87 0.48 0.05 80.91 18:17:10 18:17:01 3 5.55 0.00 0.63 0.17 0.02 93.63 18:17:10 18:17:01 4 1.17 0.00 0.60 1.66 0.02 96.55 18:17:10 18:17:01 5 1.85 0.00 0.52 5.60 0.03 92.00 18:17:10 18:17:01 6 3.82 0.00 0.58 0.40 0.05 95.14 18:17:10 18:17:01 7 1.79 0.00 0.58 0.75 0.03 96.85 18:17:10 Average: all 9.41 0.00 1.31 2.35 0.05 86.88 18:17:10 Average: 0 11.95 0.00 1.55 4.47 0.04 81.99 18:17:10 Average: 1 16.48 0.00 1.46 0.77 0.04 81.26 18:17:10 Average: 2 11.03 0.00 1.20 1.38 0.07 86.31 18:17:10 Average: 3 6.76 0.00 1.21 1.00 0.04 90.99 18:17:10 Average: 4 5.78 0.00 1.24 1.13 0.03 91.82 18:17:10 Average: 5 3.93 0.00 0.96 8.20 0.05 86.86 18:17:10 Average: 6 6.07 0.00 1.17 0.53 0.03 92.20 18:17:10 Average: 7 13.26 0.00 1.69 1.33 0.05 83.66 18:17:10 18:17:10 18:17:10