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