12:17:10 Started by upstream project "policy-api-master-merge-java" build number 330 12:17:10 originally caused by: 12:17:10 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/api/+/137677 12:17:10 Running as SYSTEM 12:17:10 [EnvInject] - Loading node environment variables. 12:17:10 Building remotely on prd-ubuntu1804-docker-8c-8g-22701 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api 12:17:10 [ssh-agent] Looking for ssh-agent implementation... 12:17:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:17:10 $ ssh-agent 12:17:10 SSH_AUTH_SOCK=/tmp/ssh-WaPQcrffj64F/agent.2079 12:17:10 SSH_AGENT_PID=2081 12:17:10 [ssh-agent] Started. 12:17:10 Running ssh-add (command line suppressed) 12:17:10 Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_5342014155812439105.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_5342014155812439105.key) 12:17:10 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 12:17:10 The recommended git tool is: NONE 12:17:11 using credential onap-jenkins-ssh 12:17:11 Wiping out workspace first. 12:17:11 Cloning the remote Git repository 12:17:11 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 12:17:11 > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 12:17:11 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 12:17:11 > git --version # timeout=10 12:17:11 > git --version # 'git version 2.17.1' 12:17:11 using GIT_SSH to set credentials Gerrit user 12:17:11 Verifying host key using manually-configured host key entries 12:17:11 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 12:17:12 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 12:17:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:17:12 Avoid second fetch 12:17:12 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 12:17:12 Checking out Revision c5936fb131831992ac8da40fb56599dfb0ae1b5e (refs/remotes/origin/master) 12:17:12 > git config core.sparsecheckout # timeout=10 12:17:12 > git checkout -f c5936fb131831992ac8da40fb56599dfb0ae1b5e # timeout=30 12:17:12 Commit message: "Disable drools pdp test in CSIT until drools is fixed" 12:17:12 > git rev-list --no-walk c5936fb131831992ac8da40fb56599dfb0ae1b5e # timeout=10 12:17:12 provisioning config files... 12:17:13 copy managed file [npmrc] to file:/home/jenkins/.npmrc 12:17:13 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 12:17:13 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins17592612157049655983.sh 12:17:13 ---> python-tools-install.sh 12:17:13 Setup pyenv: 12:17:13 * system (set by /opt/pyenv/version) 12:17:13 * 3.8.13 (set by /opt/pyenv/version) 12:17:13 * 3.9.13 (set by /opt/pyenv/version) 12:17:13 * 3.10.6 (set by /opt/pyenv/version) 12:17:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8LfR 12:17:17 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 12:17:20 lf-activate-venv(): INFO: Installing: lftools 12:17:54 lf-activate-venv(): INFO: Adding /tmp/venv-8LfR/bin to PATH 12:17:54 Generating Requirements File 12:18:22 Python 3.10.6 12:18:22 pip 24.0 from /tmp/venv-8LfR/lib/python3.10/site-packages/pip (python 3.10) 12:18:23 appdirs==1.4.4 12:18:23 argcomplete==3.2.3 12:18:23 aspy.yaml==1.3.0 12:18:23 attrs==23.2.0 12:18:23 autopage==0.5.2 12:18:23 beautifulsoup4==4.12.3 12:18:23 boto3==1.34.83 12:18:23 botocore==1.34.83 12:18:23 bs4==0.0.2 12:18:23 cachetools==5.3.3 12:18:23 certifi==2024.2.2 12:18:23 cffi==1.16.0 12:18:23 cfgv==3.4.0 12:18:23 chardet==5.2.0 12:18:23 charset-normalizer==3.3.2 12:18:23 click==8.1.7 12:18:23 cliff==4.6.0 12:18:23 cmd2==2.4.3 12:18:23 cryptography==3.3.2 12:18:23 debtcollector==3.0.0 12:18:23 decorator==5.1.1 12:18:23 defusedxml==0.7.1 12:18:23 Deprecated==1.2.14 12:18:23 distlib==0.3.8 12:18:23 dnspython==2.6.1 12:18:23 docker==4.2.2 12:18:23 dogpile.cache==1.3.2 12:18:23 email_validator==2.1.1 12:18:23 filelock==3.13.4 12:18:23 future==1.0.0 12:18:23 gitdb==4.0.11 12:18:23 GitPython==3.1.43 12:18:23 google-auth==2.29.0 12:18:23 httplib2==0.22.0 12:18:23 identify==2.5.35 12:18:23 idna==3.7 12:18:23 importlib-resources==1.5.0 12:18:23 iso8601==2.1.0 12:18:23 Jinja2==3.1.3 12:18:23 jmespath==1.0.1 12:18:23 jsonpatch==1.33 12:18:23 jsonpointer==2.4 12:18:23 jsonschema==4.21.1 12:18:23 jsonschema-specifications==2023.12.1 12:18:23 keystoneauth1==5.6.0 12:18:23 kubernetes==29.0.0 12:18:23 lftools==0.37.10 12:18:23 lxml==5.2.1 12:18:23 MarkupSafe==2.1.5 12:18:23 msgpack==1.0.8 12:18:23 multi_key_dict==2.0.3 12:18:23 munch==4.0.0 12:18:23 netaddr==1.2.1 12:18:23 netifaces==0.11.0 12:18:23 niet==1.4.2 12:18:23 nodeenv==1.8.0 12:18:23 oauth2client==4.1.3 12:18:23 oauthlib==3.2.2 12:18:23 openstacksdk==3.0.0 12:18:23 os-client-config==2.1.0 12:18:23 os-service-types==1.7.0 12:18:23 osc-lib==3.0.1 12:18:23 oslo.config==9.4.0 12:18:23 oslo.context==5.5.0 12:18:23 oslo.i18n==6.3.0 12:18:23 oslo.log==5.5.1 12:18:23 oslo.serialization==5.4.0 12:18:23 oslo.utils==7.1.0 12:18:23 packaging==24.0 12:18:23 pbr==6.0.0 12:18:23 platformdirs==4.2.0 12:18:23 prettytable==3.10.0 12:18:23 pyasn1==0.6.0 12:18:23 pyasn1_modules==0.4.0 12:18:23 pycparser==2.22 12:18:23 pygerrit2==2.0.15 12:18:23 PyGithub==2.3.0 12:18:23 pyinotify==0.9.6 12:18:23 PyJWT==2.8.0 12:18:23 PyNaCl==1.5.0 12:18:23 pyparsing==2.4.7 12:18:23 pyperclip==1.8.2 12:18:23 pyrsistent==0.20.0 12:18:23 python-cinderclient==9.5.0 12:18:23 python-dateutil==2.9.0.post0 12:18:23 python-heatclient==3.5.0 12:18:23 python-jenkins==1.8.2 12:18:23 python-keystoneclient==5.4.0 12:18:23 python-magnumclient==4.4.0 12:18:23 python-novaclient==18.6.0 12:18:23 python-openstackclient==6.6.0 12:18:23 python-swiftclient==4.5.0 12:18:23 PyYAML==6.0.1 12:18:23 referencing==0.34.0 12:18:23 requests==2.31.0 12:18:23 requests-oauthlib==2.0.0 12:18:23 requestsexceptions==1.4.0 12:18:23 rfc3986==2.0.0 12:18:23 rpds-py==0.18.0 12:18:23 rsa==4.9 12:18:23 ruamel.yaml==0.18.6 12:18:23 ruamel.yaml.clib==0.2.8 12:18:23 s3transfer==0.10.1 12:18:23 simplejson==3.19.2 12:18:23 six==1.16.0 12:18:23 smmap==5.0.1 12:18:23 soupsieve==2.5 12:18:23 stevedore==5.2.0 12:18:23 tabulate==0.9.0 12:18:23 toml==0.10.2 12:18:23 tomlkit==0.12.4 12:18:23 tqdm==4.66.2 12:18:23 typing_extensions==4.11.0 12:18:23 tzdata==2024.1 12:18:23 urllib3==1.26.18 12:18:23 virtualenv==20.25.1 12:18:23 wcwidth==0.2.13 12:18:23 websocket-client==1.7.0 12:18:23 wrapt==1.16.0 12:18:23 xdg==6.0.0 12:18:23 xmltodict==0.13.0 12:18:23 yq==3.2.3 12:18:23 [EnvInject] - Injecting environment variables from a build step. 12:18:23 [EnvInject] - Injecting as environment variables the properties content 12:18:23 SET_JDK_VERSION=openjdk17 12:18:23 GIT_URL="git://cloud.onap.org/mirror" 12:18:23 12:18:23 [EnvInject] - Variables injected successfully. 12:18:23 [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins3561166283510111737.sh 12:18:23 ---> update-java-alternatives.sh 12:18:23 ---> Updating Java version 12:18:23 ---> Ubuntu/Debian system detected 12:18:23 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 12:18:23 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 12:18:23 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 12:18:23 openjdk version "17.0.4" 2022-07-19 12:18:23 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 12:18:23 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 12:18:23 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 12:18:23 [EnvInject] - Injecting environment variables from a build step. 12:18:23 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 12:18:23 [EnvInject] - Variables injected successfully. 12:18:23 [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins17511790668904064551.sh 12:18:23 + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api 12:18:23 + set +u 12:18:23 + save_set 12:18:23 + RUN_CSIT_SAVE_SET=ehxB 12:18:23 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 12:18:23 + '[' 1 -eq 0 ']' 12:18:23 + '[' -z /w/workspace/policy-api-master-project-csit-api ']' 12:18:23 + 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 12:18:23 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 12:18:23 + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 12:18:23 + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 12:18:23 + export ROBOT_VARIABLES= 12:18:23 + ROBOT_VARIABLES= 12:18:23 + export PROJECT=api 12:18:23 + PROJECT=api 12:18:23 + cd /w/workspace/policy-api-master-project-csit-api 12:18:23 + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api 12:18:23 + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api 12:18:23 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 12:18:23 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 12:18:23 + relax_set 12:18:23 + set +e 12:18:23 + set +o pipefail 12:18:23 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 12:18:23 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 12:18:23 +++ mktemp -d 12:18:23 ++ ROBOT_VENV=/tmp/tmp.KlugoA6qvR 12:18:23 ++ echo ROBOT_VENV=/tmp/tmp.KlugoA6qvR 12:18:23 +++ python3 --version 12:18:23 ++ echo 'Python version is: Python 3.6.9' 12:18:23 Python version is: Python 3.6.9 12:18:23 ++ python3 -m venv --clear /tmp/tmp.KlugoA6qvR 12:18:25 ++ source /tmp/tmp.KlugoA6qvR/bin/activate 12:18:25 +++ deactivate nondestructive 12:18:25 +++ '[' -n '' ']' 12:18:25 +++ '[' -n '' ']' 12:18:25 +++ '[' -n /bin/bash -o -n '' ']' 12:18:25 +++ hash -r 12:18:25 +++ '[' -n '' ']' 12:18:25 +++ unset VIRTUAL_ENV 12:18:25 +++ '[' '!' nondestructive = nondestructive ']' 12:18:25 +++ VIRTUAL_ENV=/tmp/tmp.KlugoA6qvR 12:18:25 +++ export VIRTUAL_ENV 12:18:25 +++ _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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 12:18:25 +++ PATH=/tmp/tmp.KlugoA6qvR/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 12:18:25 +++ export PATH 12:18:25 +++ '[' -n '' ']' 12:18:25 +++ '[' -z '' ']' 12:18:25 +++ _OLD_VIRTUAL_PS1= 12:18:25 +++ '[' 'x(tmp.KlugoA6qvR) ' '!=' x ']' 12:18:25 +++ PS1='(tmp.KlugoA6qvR) ' 12:18:25 +++ export PS1 12:18:25 +++ '[' -n /bin/bash -o -n '' ']' 12:18:25 +++ hash -r 12:18:25 ++ set -exu 12:18:25 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 12:18:28 ++ echo 'Installing Python Requirements' 12:18:28 Installing Python Requirements 12:18:28 ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt 12:18:47 ++ python3 -m pip -qq freeze 12:18:47 bcrypt==4.0.1 12:18:47 beautifulsoup4==4.12.3 12:18:47 bitarray==2.9.2 12:18:47 certifi==2024.2.2 12:18:47 cffi==1.15.1 12:18:47 charset-normalizer==2.0.12 12:18:47 cryptography==40.0.2 12:18:47 decorator==5.1.1 12:18:47 elasticsearch==7.17.9 12:18:47 elasticsearch-dsl==7.4.1 12:18:47 enum34==1.1.10 12:18:47 idna==3.7 12:18:47 importlib-resources==5.4.0 12:18:47 ipaddr==2.2.0 12:18:47 isodate==0.6.1 12:18:47 jmespath==0.10.0 12:18:47 jsonpatch==1.32 12:18:47 jsonpath-rw==1.4.0 12:18:47 jsonpointer==2.3 12:18:47 lxml==5.2.1 12:18:47 netaddr==0.8.0 12:18:47 netifaces==0.11.0 12:18:47 odltools==0.1.28 12:18:47 paramiko==3.4.0 12:18:47 pkg_resources==0.0.0 12:18:47 ply==3.11 12:18:47 pyang==2.6.0 12:18:47 pyangbind==0.8.1 12:18:47 pycparser==2.21 12:18:47 pyhocon==0.3.60 12:18:47 PyNaCl==1.5.0 12:18:47 pyparsing==3.1.2 12:18:47 python-dateutil==2.9.0.post0 12:18:47 regex==2023.8.8 12:18:47 requests==2.27.1 12:18:47 robotframework==6.1.1 12:18:47 robotframework-httplibrary==0.4.2 12:18:47 robotframework-pythonlibcore==3.0.0 12:18:47 robotframework-requests==0.9.4 12:18:47 robotframework-selenium2library==3.0.0 12:18:47 robotframework-seleniumlibrary==5.1.3 12:18:47 robotframework-sshlibrary==3.8.0 12:18:47 scapy==2.5.0 12:18:47 scp==0.14.5 12:18:47 selenium==3.141.0 12:18:47 six==1.16.0 12:18:47 soupsieve==2.3.2.post1 12:18:47 urllib3==1.26.18 12:18:47 waitress==2.0.0 12:18:47 WebOb==1.8.7 12:18:47 WebTest==3.0.0 12:18:47 zipp==3.6.0 12:18:47 ++ mkdir -p /tmp/tmp.KlugoA6qvR/src/onap 12:18:47 ++ rm -rf /tmp/tmp.KlugoA6qvR/src/onap/testsuite 12:18:47 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 12:18:52 ++ echo 'Installing python confluent-kafka library' 12:18:52 Installing python confluent-kafka library 12:18:52 ++ python3 -m pip install -qq confluent-kafka 12:18:54 ++ echo 'Uninstall docker-py and reinstall docker.' 12:18:54 Uninstall docker-py and reinstall docker. 12:18:54 ++ python3 -m pip uninstall -y -qq docker 12:18:54 ++ python3 -m pip install -U -qq docker 12:18:57 ++ python3 -m pip -qq freeze 12:18:57 bcrypt==4.0.1 12:18:57 beautifulsoup4==4.12.3 12:18:57 bitarray==2.9.2 12:18:57 certifi==2024.2.2 12:18:57 cffi==1.15.1 12:18:57 charset-normalizer==2.0.12 12:18:57 confluent-kafka==2.3.0 12:18:57 cryptography==40.0.2 12:18:57 decorator==5.1.1 12:18:57 deepdiff==5.7.0 12:18:57 dnspython==2.2.1 12:18:57 docker==5.0.3 12:18:57 elasticsearch==7.17.9 12:18:57 elasticsearch-dsl==7.4.1 12:18:57 enum34==1.1.10 12:18:57 future==1.0.0 12:18:57 idna==3.7 12:18:57 importlib-resources==5.4.0 12:18:57 ipaddr==2.2.0 12:18:57 isodate==0.6.1 12:18:57 Jinja2==3.0.3 12:18:57 jmespath==0.10.0 12:18:57 jsonpatch==1.32 12:18:57 jsonpath-rw==1.4.0 12:18:57 jsonpointer==2.3 12:18:57 kafka-python==2.0.2 12:18:57 lxml==5.2.1 12:18:57 MarkupSafe==2.0.1 12:18:57 more-itertools==5.0.0 12:18:57 netaddr==0.8.0 12:18:57 netifaces==0.11.0 12:18:57 odltools==0.1.28 12:18:57 ordered-set==4.0.2 12:18:57 paramiko==3.4.0 12:18:57 pbr==6.0.0 12:18:57 pkg_resources==0.0.0 12:18:57 ply==3.11 12:18:57 protobuf==3.19.6 12:18:57 pyang==2.6.0 12:18:57 pyangbind==0.8.1 12:18:57 pycparser==2.21 12:18:57 pyhocon==0.3.60 12:18:57 PyNaCl==1.5.0 12:18:57 pyparsing==3.1.2 12:18:57 python-dateutil==2.9.0.post0 12:18:57 PyYAML==6.0.1 12:18:57 regex==2023.8.8 12:18:57 requests==2.27.1 12:18:57 robotframework==6.1.1 12:18:57 robotframework-httplibrary==0.4.2 12:18:57 robotframework-onap==0.6.0.dev105 12:18:57 robotframework-pythonlibcore==3.0.0 12:18:57 robotframework-requests==0.9.4 12:18:57 robotframework-selenium2library==3.0.0 12:18:57 robotframework-seleniumlibrary==5.1.3 12:18:57 robotframework-sshlibrary==3.8.0 12:18:57 robotlibcore-temp==1.0.2 12:18:57 scapy==2.5.0 12:18:57 scp==0.14.5 12:18:57 selenium==3.141.0 12:18:57 six==1.16.0 12:18:57 soupsieve==2.3.2.post1 12:18:57 urllib3==1.26.18 12:18:57 waitress==2.0.0 12:18:57 WebOb==1.8.7 12:18:57 websocket-client==1.3.1 12:18:57 WebTest==3.0.0 12:18:57 zipp==3.6.0 12:18:57 ++ uname 12:18:57 ++ grep -q Linux 12:18:57 ++ sudo apt-get -y -qq install libxml2-utils 12:18:57 + load_set 12:18:57 + _setopts=ehuxB 12:18:57 ++ tr : ' ' 12:18:57 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 12:18:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:18:57 + set +o braceexpand 12:18:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:18:57 + set +o hashall 12:18:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:18:57 + set +o interactive-comments 12:18:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:18:57 + set +o nounset 12:18:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:18:57 + set +o xtrace 12:18:57 ++ echo ehuxB 12:18:57 ++ sed 's/./& /g' 12:18:57 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:18:57 + set +e 12:18:57 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:18:57 + set +h 12:18:57 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:18:57 + set +u 12:18:57 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:18:57 + set +x 12:18:57 + source_safely /tmp/tmp.KlugoA6qvR/bin/activate 12:18:57 + '[' -z /tmp/tmp.KlugoA6qvR/bin/activate ']' 12:18:57 + relax_set 12:18:57 + set +e 12:18:57 + set +o pipefail 12:18:57 + . /tmp/tmp.KlugoA6qvR/bin/activate 12:18:57 ++ deactivate nondestructive 12:18:57 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ']' 12:18:57 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 12:18:57 ++ export PATH 12:18:57 ++ unset _OLD_VIRTUAL_PATH 12:18:57 ++ '[' -n '' ']' 12:18:57 ++ '[' -n /bin/bash -o -n '' ']' 12:18:57 ++ hash -r 12:18:57 ++ '[' -n '' ']' 12:18:57 ++ unset VIRTUAL_ENV 12:18:57 ++ '[' '!' nondestructive = nondestructive ']' 12:18:57 ++ VIRTUAL_ENV=/tmp/tmp.KlugoA6qvR 12:18:57 ++ export VIRTUAL_ENV 12:18:57 ++ _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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 12:18:57 ++ PATH=/tmp/tmp.KlugoA6qvR/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 12:18:57 ++ export PATH 12:18:57 ++ '[' -n '' ']' 12:18:57 ++ '[' -z '' ']' 12:18:57 ++ _OLD_VIRTUAL_PS1='(tmp.KlugoA6qvR) ' 12:18:57 ++ '[' 'x(tmp.KlugoA6qvR) ' '!=' x ']' 12:18:57 ++ PS1='(tmp.KlugoA6qvR) (tmp.KlugoA6qvR) ' 12:18:57 ++ export PS1 12:18:57 ++ '[' -n /bin/bash -o -n '' ']' 12:18:57 ++ hash -r 12:18:57 + load_set 12:18:57 + _setopts=hxB 12:18:57 ++ echo braceexpand:hashall:interactive-comments:xtrace 12:18:57 ++ tr : ' ' 12:18:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:18:57 + set +o braceexpand 12:18:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:18:57 + set +o hashall 12:18:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:18:57 + set +o interactive-comments 12:18:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:18:57 + set +o xtrace 12:18:57 ++ echo hxB 12:18:57 ++ sed 's/./& /g' 12:18:57 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:18:57 + set +h 12:18:57 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:18:57 + set +x 12:18:57 + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 12:18:57 + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 12:18:57 + export TEST_OPTIONS= 12:18:57 + TEST_OPTIONS= 12:18:57 ++ mktemp -d 12:18:57 + WORKDIR=/tmp/tmp.5YeOTjQDpQ 12:18:57 + cd /tmp/tmp.5YeOTjQDpQ 12:18:57 + docker login -u docker -p docker nexus3.onap.org:10001 12:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:18:57 Configure a credential helper to remove this warning. See 12:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:18:57 12:18:57 Login Succeeded 12:18:57 + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 12:18:57 + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 12:18:57 + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' 12:18:57 Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 12:18:57 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 12:18:57 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 12:18:57 + relax_set 12:18:57 + set +e 12:18:57 + set +o pipefail 12:18:57 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 12:18:57 ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh 12:18:57 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 12:18:57 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview 12:18:57 +++ GERRIT_BRANCH=master 12:18:57 +++ echo GERRIT_BRANCH=master 12:18:57 GERRIT_BRANCH=master 12:18:57 +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models 12:18:57 +++ mkdir /w/workspace/policy-api-master-project-csit-api/models 12:18:57 +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models 12:18:57 Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... 12:18:57 +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 12:18:57 +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 12:18:57 +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 12:18:57 +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 12:18:57 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 12:18:57 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 12:18:57 ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana 12:18:57 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 12:18:57 +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 12:18:57 +++ grafana=false 12:18:57 +++ gui=false 12:18:57 +++ [[ 2 -gt 0 ]] 12:18:57 +++ key=api 12:18:57 +++ case $key in 12:18:57 +++ echo api 12:18:57 api 12:18:57 +++ component=api 12:18:57 +++ shift 12:18:57 +++ [[ 1 -gt 0 ]] 12:18:57 +++ key=--grafana 12:18:57 +++ case $key in 12:18:57 +++ grafana=true 12:18:57 +++ shift 12:18:57 +++ [[ 0 -gt 0 ]] 12:18:57 +++ cd /w/workspace/policy-api-master-project-csit-api/compose 12:18:57 +++ echo 'Configuring docker compose...' 12:18:57 Configuring docker compose... 12:18:57 +++ source export-ports.sh 12:18:57 +++ source get-versions.sh 12:18:59 +++ '[' -z api ']' 12:18:59 +++ '[' -n api ']' 12:18:59 +++ '[' api == logs ']' 12:18:59 +++ '[' true = true ']' 12:18:59 +++ echo 'Starting api application with Grafana' 12:18:59 Starting api application with Grafana 12:18:59 +++ docker-compose up -d api grafana 12:19:00 Creating network "compose_default" with the default driver 12:19:00 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 12:19:00 10.10.2: Pulling from mariadb 12:19:04 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 12:19:05 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 12:19:05 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT)... 12:19:05 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator 12:19:08 Digest: sha256:60a680475999b7df727a4e4ae6dd0391d3a6f4fffbde0f8c3faea985c8443c48 12:19:08 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT 12:19:08 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT)... 12:19:09 3.1.2-SNAPSHOT: Pulling from onap/policy-api 12:19:10 Digest: sha256:0e8cbccfee833c5b2be68d71dd51902b884e77df24bbbac2751693f58bdc20ce 12:19:10 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT 12:19:10 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 12:19:10 latest: Pulling from prom/prometheus 12:19:13 Digest: sha256:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 12:19:13 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 12:19:13 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 12:19:13 latest: Pulling from grafana/grafana 12:19:18 Digest: sha256:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e 12:19:18 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 12:19:18 Creating prometheus ... 12:19:18 Creating mariadb ... 12:19:35 Creating prometheus ... done 12:19:35 Creating grafana ... 12:19:36 Creating grafana ... done 12:19:37 Creating mariadb ... done 12:19:37 Creating policy-db-migrator ... 12:19:38 Creating policy-db-migrator ... done 12:19:38 Creating policy-api ... 12:19:39 Creating policy-api ... done 12:19:39 +++ echo 'Prometheus server: http://localhost:30259' 12:19:39 Prometheus server: http://localhost:30259 12:19:39 +++ echo 'Grafana server: http://localhost:30269' 12:19:39 Grafana server: http://localhost:30269 12:19:39 +++ cd /w/workspace/policy-api-master-project-csit-api 12:19:39 ++ sleep 10 12:19:49 ++ unset http_proxy https_proxy 12:19:49 ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 12:19:49 Waiting for REST to come up on localhost port 30002... 12:19:49 NAMES STATUS 12:19:49 policy-api Up 10 seconds 12:19:49 policy-db-migrator Up 11 seconds 12:19:49 grafana Up 13 seconds 12:19:49 mariadb Up 12 seconds 12:19:49 prometheus Up 14 seconds 12:19:54 NAMES STATUS 12:19:54 policy-api Up 15 seconds 12:19:54 grafana Up 18 seconds 12:19:54 mariadb Up 17 seconds 12:19:54 prometheus Up 19 seconds 12:19:59 NAMES STATUS 12:19:59 policy-api Up 20 seconds 12:19:59 grafana Up 23 seconds 12:19:59 mariadb Up 22 seconds 12:19:59 prometheus Up 24 seconds 12:20:04 NAMES STATUS 12:20:04 policy-api Up 25 seconds 12:20:04 grafana Up 28 seconds 12:20:04 mariadb Up 27 seconds 12:20:04 prometheus Up 29 seconds 12:20:04 ++ export 'SUITES=api-test.robot 12:20:04 api-slas.robot' 12:20:04 ++ SUITES='api-test.robot 12:20:04 api-slas.robot' 12:20:04 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 12:20:04 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 12:20:04 + load_set 12:20:04 + _setopts=hxB 12:20:04 ++ echo braceexpand:hashall:interactive-comments:xtrace 12:20:04 ++ tr : ' ' 12:20:04 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:20:04 + set +o braceexpand 12:20:04 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:20:04 + set +o hashall 12:20:04 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:20:04 + set +o interactive-comments 12:20:04 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:20:04 + set +o xtrace 12:20:04 ++ echo hxB 12:20:04 ++ sed 's/./& /g' 12:20:04 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:20:04 + set +h 12:20:04 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:20:04 + set +x 12:20:04 + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 12:20:04 + docker_stats 12:20:04 ++ uname -s 12:20:04 + '[' Linux == Darwin ']' 12:20:04 + sh -c 'top -bn1 | head -3' 12:20:04 top - 12:20:04 up 3 min, 0 users, load average: 2.54, 1.25, 0.51 12:20:04 Tasks: 176 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 12:20:04 %Cpu(s): 10.7 us, 2.0 sy, 0.0 ni, 82.9 id, 4.3 wa, 0.0 hi, 0.0 si, 0.0 st 12:20:04 + echo 12:20:04 + sh -c 'free -h' 12:20:04 12:20:04 total used free shared buff/cache available 12:20:04 Mem: 31G 1.5G 26G 1.0M 3.9G 29G 12:20:04 Swap: 1.0G 0B 1.0G 12:20:04 + echo 12:20:04 12:20:04 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 12:20:04 NAMES STATUS 12:20:04 policy-api Up 25 seconds 12:20:04 grafana Up 28 seconds 12:20:04 mariadb Up 27 seconds 12:20:04 prometheus Up 29 seconds 12:20:04 + echo 12:20:04 + docker stats --no-stream 12:20:04 12:20:07 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 12:20:07 9657711fa934 policy-api 0.11% 529.6MiB / 31.41GiB 1.65% 987kB / 647kB 0B / 0B 54 12:20:07 4453e304886d grafana 0.04% 62.02MiB / 31.41GiB 0.19% 18.3kB / 3.12kB 0B / 24.9MB 18 12:20:07 b3ac994f49c6 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 921kB / 1.16MB 11MB / 67.8MB 27 12:20:07 541536bed315 prometheus 0.05% 18.71MiB / 31.41GiB 0.06% 1.31kB / 0B 229kB / 0B 13 12:20:07 + echo 12:20:07 12:20:07 + cd /tmp/tmp.5YeOTjQDpQ 12:20:07 + echo 'Reading the testplan:' 12:20:07 Reading the testplan: 12:20:07 + echo 'api-test.robot 12:20:07 api-slas.robot' 12:20:07 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 12:20:07 + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' 12:20:07 + cat testplan.txt 12:20:07 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot 12:20:07 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 12:20:07 ++ xargs 12:20:07 + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot' 12:20:07 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 12:20:07 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 12:20:07 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 12:20:07 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 12:20:07 + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' 12:20:07 Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ... 12:20:07 + relax_set 12:20:07 + set +e 12:20:07 + set +o pipefail 12:20:07 + 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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 12:20:07 ============================================================================== 12:20:07 api 12:20:07 ============================================================================== 12:20:07 api.Api-Test 12:20:07 ============================================================================== 12:20:07 Healthcheck :: Verify policy api health check | PASS | 12:20:07 ------------------------------------------------------------------------------ 12:20:10 RetrievePolicyTypes :: Retrieve all policy types | PASS | 12:20:10 ------------------------------------------------------------------------------ 12:20:11 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 12:20:11 ------------------------------------------------------------------------------ 12:20:11 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 12:20:11 ------------------------------------------------------------------------------ 12:20:11 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 12:20:11 ------------------------------------------------------------------------------ 12:20:12 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 12:20:12 ------------------------------------------------------------------------------ 12:20:12 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 12:20:12 ------------------------------------------------------------------------------ 12:20:12 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 12:20:12 ------------------------------------------------------------------------------ 12:20:13 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 12:20:13 ------------------------------------------------------------------------------ 12:20:13 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 12:20:13 ------------------------------------------------------------------------------ 12:20:13 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 12:20:13 ------------------------------------------------------------------------------ 12:20:14 RetrieveAllPolicies :: Retrieve all policies | PASS | 12:20:14 ------------------------------------------------------------------------------ 12:20:14 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 12:20:14 ------------------------------------------------------------------------------ 12:20:14 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 12:20:14 ------------------------------------------------------------------------------ 12:20:14 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 12:20:14 ------------------------------------------------------------------------------ 12:20:14 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 12:20:14 ------------------------------------------------------------------------------ 12:20:15 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 12:20:15 ------------------------------------------------------------------------------ 12:20:15 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 12:20:15 ------------------------------------------------------------------------------ 12:20:15 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 12:20:15 ------------------------------------------------------------------------------ 12:20:15 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 12:20:15 ------------------------------------------------------------------------------ 12:20:16 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 12:20:16 ------------------------------------------------------------------------------ 12:20:16 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 12:20:16 ------------------------------------------------------------------------------ 12:20:16 api.Api-Test | PASS | 12:20:16 22 tests, 22 passed, 0 failed 12:20:16 ============================================================================== 12:20:16 api.Api-Slas 12:20:16 ============================================================================== 12:21:16 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 12:21:16 ------------------------------------------------------------------------------ 12:21:16 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 12:21:16 ------------------------------------------------------------------------------ 12:21:16 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 12:21:16 ------------------------------------------------------------------------------ 12:21:16 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 12:21:16 ------------------------------------------------------------------------------ 12:21:16 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 12:21:16 ------------------------------------------------------------------------------ 12:21:16 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 12:21:16 ------------------------------------------------------------------------------ 12:21:16 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 12:21:16 ------------------------------------------------------------------------------ 12:21:16 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 12:21:16 ------------------------------------------------------------------------------ 12:21:16 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 12:21:16 ------------------------------------------------------------------------------ 12:21:16 api.Api-Slas | PASS | 12:21:16 9 tests, 9 passed, 0 failed 12:21:16 ============================================================================== 12:21:16 api | PASS | 12:21:16 31 tests, 31 passed, 0 failed 12:21:16 ============================================================================== 12:21:16 Output: /tmp/tmp.5YeOTjQDpQ/output.xml 12:21:16 Log: /tmp/tmp.5YeOTjQDpQ/log.html 12:21:16 Report: /tmp/tmp.5YeOTjQDpQ/report.html 12:21:16 + RESULT=0 12:21:16 + load_set 12:21:16 + _setopts=hxB 12:21:16 ++ echo braceexpand:hashall:interactive-comments:xtrace 12:21:16 ++ tr : ' ' 12:21:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:21:16 + set +o braceexpand 12:21:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:21:16 + set +o hashall 12:21:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:21:16 + set +o interactive-comments 12:21:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:21:16 + set +o xtrace 12:21:16 ++ echo hxB 12:21:16 ++ sed 's/./& /g' 12:21:16 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:21:16 + set +h 12:21:16 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:21:16 + set +x 12:21:16 + echo 'RESULT: 0' 12:21:16 RESULT: 0 12:21:16 + exit 0 12:21:16 + on_exit 12:21:16 + rc=0 12:21:16 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] 12:21:16 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 12:21:16 NAMES STATUS 12:21:16 policy-api Up About a minute 12:21:16 grafana Up About a minute 12:21:16 mariadb Up About a minute 12:21:16 prometheus Up About a minute 12:21:16 + docker_stats 12:21:16 ++ uname -s 12:21:16 + '[' Linux == Darwin ']' 12:21:16 + sh -c 'top -bn1 | head -3' 12:21:16 top - 12:21:16 up 4 min, 0 users, load average: 0.95, 1.06, 0.51 12:21:16 Tasks: 174 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 12:21:16 %Cpu(s): 9.1 us, 1.6 sy, 0.0 ni, 85.6 id, 3.6 wa, 0.0 hi, 0.0 si, 0.0 st 12:21:16 + echo 12:21:16 12:21:16 + sh -c 'free -h' 12:21:16 total used free shared buff/cache available 12:21:16 Mem: 31G 2.0G 25G 1.0M 3.9G 28G 12:21:16 Swap: 1.0G 0B 1.0G 12:21:16 + echo 12:21:16 12:21:16 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 12:21:16 NAMES STATUS 12:21:16 policy-api Up About a minute 12:21:16 grafana Up About a minute 12:21:16 mariadb Up About a minute 12:21:16 prometheus Up About a minute 12:21:16 + echo 12:21:16 12:21:16 + docker stats --no-stream 12:21:19 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 12:21:19 9657711fa934 policy-api 0.10% 1.071GiB / 31.41GiB 3.41% 6.95MB / 2.31MB 0B / 0B 54 12:21:19 4453e304886d grafana 0.04% 62.75MiB / 31.41GiB 0.20% 19.3kB / 4.43kB 0B / 24.9MB 18 12:21:19 b3ac994f49c6 mariadb 0.04% 101.3MiB / 31.41GiB 0.31% 2.15MB / 6.99MB 11MB / 67.9MB 18 12:21:19 541536bed315 prometheus 0.00% 24.57MiB / 31.41GiB 0.08% 55.4kB / 6.47kB 229kB / 0B 13 12:21:19 + echo 12:21:19 12:21:19 + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 12:21:19 + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' 12:21:19 + relax_set 12:21:19 + set +e 12:21:19 + set +o pipefail 12:21:19 + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 12:21:19 ++ echo 'Shut down started!' 12:21:19 Shut down started! 12:21:19 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 12:21:19 ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 12:21:19 ++ cd /w/workspace/policy-api-master-project-csit-api/compose 12:21:19 ++ source export-ports.sh 12:21:19 ++ source get-versions.sh 12:21:21 ++ echo 'Collecting logs from docker compose containers...' 12:21:21 Collecting logs from docker compose containers... 12:21:21 ++ docker-compose logs 12:21:22 ++ cat docker_compose.log 12:21:22 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 12:21:22 policy-db-migrator | Waiting for mariadb port 3306... 12:21:22 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 12:21:22 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 12:21:22 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 12:21:22 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 12:21:22 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 12:21:22 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 12:21:22 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 12:21:22 policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! 12:21:22 policy-db-migrator | 321 blocks 12:21:22 policy-db-migrator | Preparing upgrade release version: 0800 12:21:22 policy-db-migrator | Preparing upgrade release version: 0900 12:21:22 policy-db-migrator | Preparing upgrade release version: 1000 12:21:22 policy-db-migrator | Preparing upgrade release version: 1100 12:21:22 policy-db-migrator | Preparing upgrade release version: 1200 12:21:22 policy-db-migrator | Preparing upgrade release version: 1300 12:21:22 policy-db-migrator | Done 12:21:22 policy-db-migrator | name version 12:21:22 policy-db-migrator | policyadmin 0 12:21:22 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 12:21:22 policy-db-migrator | upgrade: 0 -> 1300 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 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) 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 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) 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 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) 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 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) 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 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) 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 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) 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 12:21:22 mariadb | 2024-04-12 12:19:37+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 12:21:22 mariadb | 2024-04-12 12:19:37+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 12:21:22 mariadb | 2024-04-12 12:19:37+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 12:21:22 mariadb | 2024-04-12 12:19:37+00:00 [Note] [Entrypoint]: Initializing database files 12:21:22 mariadb | 2024-04-12 12:19:37 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 12:21:22 mariadb | 2024-04-12 12:19:37 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 12:21:22 mariadb | 2024-04-12 12:19:37 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 12:21:22 mariadb | 12:21:22 mariadb | 12:21:22 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 12:21:22 mariadb | To do so, start the server, then issue the following command: 12:21:22 mariadb | 12:21:22 mariadb | '/usr/bin/mysql_secure_installation' 12:21:22 mariadb | 12:21:22 mariadb | which will also give you the option of removing the test 12:21:22 mariadb | databases and anonymous user created by default. This is 12:21:22 mariadb | strongly recommended for production servers. 12:21:22 mariadb | 12:21:22 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 12:21:22 mariadb | 12:21:22 mariadb | Please report any problems at https://mariadb.org/jira 12:21:22 mariadb | 12:21:22 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 12:21:22 mariadb | 12:21:22 mariadb | Consider joining MariaDB's strong and vibrant community: 12:21:22 mariadb | https://mariadb.org/get-involved/ 12:21:22 mariadb | 12:21:22 mariadb | 2024-04-12 12:19:39+00:00 [Note] [Entrypoint]: Database files initialized 12:21:22 mariadb | 2024-04-12 12:19:39+00:00 [Note] [Entrypoint]: Starting temporary server 12:21:22 mariadb | 2024-04-12 12:19:39+00:00 [Note] [Entrypoint]: Waiting for server startup 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Number of transaction pools: 1 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Completed initialization of buffer pool 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: 128 rollback segments are active. 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: log sequence number 46590; transaction id 14 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] Plugin 'FEEDBACK' is disabled. 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 12:21:22 mariadb | 2024-04-12 12:19:39 0 [Note] mariadbd: ready for connections. 12:21:22 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 12:21:22 mariadb | 2024-04-12 12:19:40+00:00 [Note] [Entrypoint]: Temporary server started. 12:21:22 mariadb | 2024-04-12 12:19:41+00:00 [Note] [Entrypoint]: Creating user policy_user 12:21:22 mariadb | 2024-04-12 12:19:41+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 12:21:22 mariadb | 12:21:22 mariadb | 12:21:22 mariadb | 2024-04-12 12:19:41+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.160669631Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-12T12:19:36Z 12:21:22 policy-db-migrator | -------------- 12:21:22 mariadb | 2024-04-12 12:19:41+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 12:21:22 prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161021598Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 12:21:22 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) 12:21:22 mariadb | #!/bin/bash -xv 12:21:22 policy-api | Waiting for mariadb port 3306... 12:21:22 prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161031898Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 12:21:22 policy-db-migrator | -------------- 12:21:22 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 12:21:22 policy-api | mariadb (172.17.0.2:3306) open 12:21:22 prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161038808Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 12:21:22 policy-db-migrator | 12:21:22 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 12:21:22 policy-api | Waiting for policy-db-migrator port 6824... 12:21:22 prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161044159Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 12:21:22 policy-db-migrator | 12:21:22 mariadb | # 12:21:22 policy-api | policy-db-migrator (172.17.0.5:6824) open 12:21:22 prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161050939Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 12:21:22 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 12:21:22 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 12:21:22 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 12:21:22 prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161054159Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 12:21:22 policy-db-migrator | -------------- 12:21:22 mariadb | # you may not use this file except in compliance with the License. 12:21:22 policy-api | 12:21:22 prometheus | ts=2024-04-12T12:19:35.189Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161060219Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 12:21:22 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 12:21:22 mariadb | # You may obtain a copy of the License at 12:21:22 policy-api | . ____ _ __ _ _ 12:21:22 prometheus | ts=2024-04-12T12:19:35.189Z caller=main.go:1129 level=info msg="Starting TSDB ..." 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161063559Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 12:21:22 policy-db-migrator | -------------- 12:21:22 mariadb | # 12:21:22 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 12:21:22 prometheus | ts=2024-04-12T12:19:35.193Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161067609Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 12:21:22 policy-db-migrator | 12:21:22 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 12:21:22 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 12:21:22 prometheus | ts=2024-04-12T12:19:35.193Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161071529Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 12:21:22 policy-db-migrator | 12:21:22 mariadb | # 12:21:22 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 12:21:22 prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 12:21:22 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 12:21:22 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161075129Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 12:21:22 mariadb | # Unless required by applicable law or agreed to in writing, software 12:21:22 prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.39µs 12:21:22 policy-api | =========|_|==============|___/=/_/_/_/ 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161081019Z level=info msg=Target target=[all] 12:21:22 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 12:21:22 prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 12:21:22 policy-api | :: Spring Boot :: (v3.1.10) 12:21:22 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) 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.161089569Z level=info msg="Path Home" path=/usr/share/grafana 12:21:22 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12:21:22 prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 12:21:22 policy-api | 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.16109406Z level=info msg="Path Data" path=/var/lib/grafana 12:21:22 mariadb | # See the License for the specific language governing permissions and 12:21:22 prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=31.11µs wal_replay_duration=279.287µs wbl_replay_duration=320ns total_replay_duration=339.938µs 12:21:22 policy-api | [2024-04-12T12:19:53.519+00:00|INFO|Version|background-preinit] HV000001: Hibernate Validator 8.0.1.Final 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.1610981Z level=info msg="Path Logs" path=/var/log/grafana 12:21:22 mariadb | # limitations under the License. 12:21:22 prometheus | ts=2024-04-12T12:19:35.199Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 12:21:22 policy-api | [2024-04-12T12:19:53.568+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 23 (/app/api.jar started by policy in /opt/app/policy/api/bin) 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.16110571Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 12:21:22 mariadb | 12:21:22 prometheus | ts=2024-04-12T12:19:35.199Z caller=main.go:1153 level=info msg="TSDB started" 12:21:22 policy-api | [2024-04-12T12:19:53.570+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 12:21:22 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.16110941Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 12:21:22 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 12:21:22 prometheus | ts=2024-04-12T12:19:35.199Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 12:21:22 policy-api | [2024-04-12T12:19:55.395+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=settings t=2024-04-12T12:19:36.16111302Z level=info msg="App mode production" 12:21:22 mariadb | do 12:21:22 prometheus | ts=2024-04-12T12:19:35.200Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.089036ms db_storage=1.65µs remote_storage=1.68µs web_handler=471ns query_engine=970ns scrape=241.355µs scrape_sd=211.116µs notify=86.752µs notify_sd=14.92µs rules=2.26µs tracing=6.16µs 12:21:22 policy-api | [2024-04-12T12:19:55.473+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 69 ms. Found 6 JPA repository interfaces. 12:21:22 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) 12:21:22 grafana | logger=sqlstore t=2024-04-12T12:19:36.161704432Z level=info msg="Connecting to DB" dbtype=sqlite3 12:21:22 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 12:21:22 prometheus | ts=2024-04-12T12:19:35.200Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 12:21:22 policy-api | [2024-04-12T12:19:55.907+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 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=sqlstore t=2024-04-12T12:19:36.161728433Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 12:21:22 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 12:21:22 prometheus | ts=2024-04-12T12:19:35.200Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 12:21:22 policy-api | [2024-04-12T12:19:55.907+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 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.162960809Z level=info msg="Starting DB migrations" 12:21:22 mariadb | done 12:21:22 policy-api | [2024-04-12T12:19:56.490+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 12:21:22 policy-db-migrator | 12:21:22 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 12:21:22 policy-api | [2024-04-12T12:19:56.498+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.163944019Z level=info msg="Executing migration" id="create migration_log table" 12:21:22 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 12:21:22 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 12:21:22 policy-api | [2024-04-12T12:19:56.500+00:00|INFO|StandardService|main] Starting service [Tomcat] 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.164823338Z level=info msg="Migration successfully executed" id="create migration_log table" duration=878.909µs 12:21:22 policy-db-migrator | -------------- 12:21:22 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 12:21:22 policy-api | [2024-04-12T12:19:56.500+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.19] 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.173665803Z level=info msg="Executing migration" id="create user table" 12:21:22 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) 12:21:22 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 12:21:22 policy-api | [2024-04-12T12:19:56.589+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.17495888Z level=info msg="Migration successfully executed" id="create user table" duration=1.294617ms 12:21:22 policy-db-migrator | -------------- 12:21:22 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 12:21:22 policy-api | [2024-04-12T12:19:56.589+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2944 ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.180013756Z level=info msg="Executing migration" id="add unique index user.login" 12:21:22 policy-db-migrator | 12:21:22 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 12:21:22 policy-api | [2024-04-12T12:19:56.995+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.180838244Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=827.568µs 12:21:22 policy-db-migrator | 12:21:22 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 12:21:22 policy-api | [2024-04-12T12:19:57.073+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.2.Final 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.184766006Z level=info msg="Executing migration" id="add unique index user.email" 12:21:22 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 12:21:22 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 12:21:22 policy-api | [2024-04-12T12:19:57.124+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.185491531Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=725.405µs 12:21:22 policy-db-migrator | -------------- 12:21:22 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 12:21:22 policy-api | [2024-04-12T12:19:57.401+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.191460047Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 12:21:22 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 12:21:22 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 12:21:22 policy-api | [2024-04-12T12:19:57.430+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.19209548Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=635.213µs 12:21:22 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 12:21:22 policy-api | [2024-04-12T12:19:57.521+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@75483843 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.195397489Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 12:21:22 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 12:21:22 policy-api | [2024-04-12T12:19:57.524+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.196037013Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=616.473µs 12:21:22 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 12:21:22 policy-api | [2024-04-12T12:19:59.484+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.199991146Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 12:21:22 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 12:21:22 policy-api | [2024-04-12T12:19:59.488+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 12:21:22 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.202386836Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.39228ms 12:21:22 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 12:21:22 policy-api | [2024-04-12T12:20:00.489+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.208246109Z level=info msg="Executing migration" id="create user table v2" 12:21:22 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 12:21:22 policy-api | [2024-04-12T12:20:01.344+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.209636798Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.390509ms 12:21:22 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 12:21:22 policy-api | [2024-04-12T12:20:02.522+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 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.213289275Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 12:21:22 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 12:21:22 policy-api | [2024-04-12T12:20:02.744+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@46270641, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4ce824a7, org.springframework.security.web.context.SecurityContextHolderFilter@fffdd40, org.springframework.security.web.header.HeaderWriterFilter@749aa36f, org.springframework.security.web.authentication.logout.LogoutFilter@23639e5, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@746f2b91, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@42ca6733, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@34c9b1dd, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@278e51f1, org.springframework.security.web.access.ExceptionTranslationFilter@6dd8dfe5, org.springframework.security.web.access.intercept.AuthorizationFilter@6e00a1ba] 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.214459499Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.169584ms 12:21:22 mariadb | 12:21:22 policy-api | [2024-04-12T12:20:03.520+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.21781216Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 12:21:22 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 12:21:22 policy-api | [2024-04-12T12:20:03.612+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 12:21:22 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.218506014Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=693.425µs 12:21:22 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 12:21:22 policy-api | [2024-04-12T12:20:03.632+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.224331596Z level=info msg="Executing migration" id="copy data_source v1 to v2" 12:21:22 policy-api | [2024-04-12T12:20:03.654+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.799 seconds (process running for 11.446) 12:21:22 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.224959769Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=627.833µs 12:21:22 policy-api | [2024-04-12T12:20:07.630+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.229155898Z level=info msg="Executing migration" id="Drop old table user_v1" 12:21:22 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 12:21:22 policy-api | [2024-04-12T12:20:07.630+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.229898413Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=742.206µs 12:21:22 mariadb | 12:21:22 policy-db-migrator | 12:21:22 policy-api | [2024-04-12T12:20:07.632+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms 12:21:22 mariadb | 2024-04-12 12:19:43+00:00 [Note] [Entrypoint]: Stopping temporary server 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.233194912Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 12:21:22 policy-api | [2024-04-12T12:20:10.933+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 12:21:22 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.234274355Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.078863ms 12:21:22 mariadb | 2024-04-12 12:19:43 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 12:21:22 policy-api | [] 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.23738239Z level=info msg="Executing migration" id="Update user table charset" 12:21:22 mariadb | 2024-04-12 12:19:43 0 [Note] InnoDB: FTS optimize thread exiting. 12:21:22 policy-api | [2024-04-12T12:20:11.095+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.237408251Z level=info msg="Migration successfully executed" id="Update user table charset" duration=26.221µs 12:21:22 mariadb | 2024-04-12 12:19:43 0 [Note] InnoDB: Starting shutdown... 12:21:22 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) 12:21:22 policy-api | [2024-04-12T12:20:11.404+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.243140191Z level=info msg="Executing migration" id="Add last_seen_at column to user" 12:21:22 mariadb | 2024-04-12 12:19:43 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-api | [2024-04-12T12:20:12.747+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 12:21:22 mariadb | 2024-04-12 12:19:43 0 [Note] InnoDB: Buffer pool(s) dump completed at 240412 12:19:43 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.244891128Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.749727ms 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.248695787Z level=info msg="Executing migration" id="Add missing user data" 12:21:22 policy-api | [2024-04-12T12:20:14.797+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Shutdown completed; log sequence number 332011; transaction id 298 12:21:22 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.249033245Z level=info msg="Migration successfully executed" id="Add missing user data" duration=341.697µs 12:21:22 policy-api | [2024-04-12T12:20:15.110+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] mariadbd: Shutdown complete 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.252436636Z level=info msg="Executing migration" id="Add is_disabled column to user" 12:21:22 policy-api | [2024-04-12T12:20:15.331+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 12:21:22 mariadb | 12:21:22 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) 12:21:22 policy-api | [2024-04-12T12:20:15.583+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.253546649Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.109023ms 12:21:22 mariadb | 2024-04-12 12:19:44+00:00 [Note] [Entrypoint]: Temporary server stopped 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-api | [2024-04-12T12:20:15.811+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.256638554Z level=info msg="Executing migration" id="Add index user.login/user.email" 12:21:22 mariadb | 12:21:22 policy-db-migrator | 12:21:22 policy-api | [2024-04-12T12:20:16.048+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.257334929Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=695.435µs 12:21:22 mariadb | 2024-04-12 12:19:44+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.26361022Z level=info msg="Executing migration" id="Add is_service_account column to user" 12:21:22 mariadb | 12:21:22 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.264764465Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.153745ms 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.267834079Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.278210457Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.377378ms 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Number of transaction pools: 1 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.281016646Z level=info msg="Executing migration" id="Add uid column to user" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.281832463Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=815.167µs 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.284985599Z level=info msg="Executing migration" id="Update uid column values for users" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 12:21:22 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.285170113Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=187.584µs 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.290931614Z level=info msg="Executing migration" id="Add unique index user_uid" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.291674949Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=738.225µs 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Completed initialization of buffer pool 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.295172043Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.295657663Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=486.031µs 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: 128 rollback segments are active. 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.29981237Z level=info msg="Executing migration" id="create temp user table v1-7" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 12:21:22 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.301111427Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.298507ms 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.306187674Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: log sequence number 332011; transaction id 299 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.3069836Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=795.636µs 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] Plugin 'FEEDBACK' is disabled. 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.310458943Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.311601197Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.141344ms 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.315368446Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 12:21:22 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.31650326Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.134154ms 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] Server socket created on IP: '0.0.0.0'. 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.32221778Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] Server socket created on IP: '::'. 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.322966496Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=748.796µs 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] mariadbd: ready for connections. 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.326405438Z level=info msg="Executing migration" id="Update temp_user table charset" 12:21:22 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.326428458Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=25.89µs 12:21:22 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Buffer pool(s) load completed at 240412 12:19:44 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.329238497Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 12:21:22 mariadb | 2024-04-12 12:19:45 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 12:21:22 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.330349601Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.104673ms 12:21:22 mariadb | 2024-04-12 12:19:45 7 [Warning] Aborted connection 7 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.333797753Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 12:21:22 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.334941967Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.143764ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.339706887Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.340373021Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=666.114µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.344082839Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 12:21:22 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.345207752Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.125403ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.352968595Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.357744025Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.77504ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.361209328Z level=info msg="Executing migration" id="create temp_user v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.362125427Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=914.529µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.36557298Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 12:21:22 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.366280954Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=707.284µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.369364239Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.370072574Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=706.655µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.375461857Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.376173772Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=711.385µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.380817869Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 12:21:22 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.381948983Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.129924ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.385813334Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 12:21:22 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.386411057Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=594.763µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.508352765Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.509279225Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=930.54µs 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.51336528Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 12:21:22 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.513923782Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=561.402µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.517538248Z level=info msg="Executing migration" id="create star table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.51858531Z level=info msg="Migration successfully executed" id="create star table" duration=1.046902ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.525018765Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 12:21:22 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.525769131Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=750.096µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.529288224Z level=info msg="Executing migration" id="create org table v1" 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.53000907Z level=info msg="Migration successfully executed" id="create org table v1" duration=720.605µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.533449732Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.534843601Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.390609ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.538468997Z level=info msg="Executing migration" id="create org_user table v1" 12:21:22 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.539507589Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.040232ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.545627107Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.546349762Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=722.595µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.549723253Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.550472299Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=748.476µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.55337394Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 12:21:22 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.554064874Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=690.594µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.557072157Z level=info msg="Executing migration" id="Update org table charset" 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.557103378Z level=info msg="Migration successfully executed" id="Update org table charset" duration=31.771µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.562285097Z level=info msg="Executing migration" id="Update org_user table charset" 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.562310777Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=26.36µs 12:21:22 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.564711228Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.565013334Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=298.766µs 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.56862021Z level=info msg="Executing migration" id="create dashboard table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.569950688Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.328307ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.573132714Z level=info msg="Executing migration" id="add index dashboard.account_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.574197527Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.063903ms 12:21:22 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.58009725Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.581301546Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.203236ms 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.584661726Z level=info msg="Executing migration" id="create dashboard_tag table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.585692788Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.031152ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.589436876Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.590208493Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=770.566µs 12:21:22 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.5934147Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.594126105Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=711.025µs 12:21:22 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.599219322Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.606572156Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.352574ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.609818064Z level=info msg="Executing migration" id="create dashboard v2" 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.610369496Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=551.201µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.617086736Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.61820578Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.123244ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.621608221Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.62299388Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.384659ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.626549245Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 12:21:22 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.62724401Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=699.254µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.630447567Z level=info msg="Executing migration" id="drop table dashboard_v1" 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.631680243Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.233546ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.63967557Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.639744792Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=70.082µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.643100392Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 12:21:22 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.64635428Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.253598ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.653437299Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 12:21:22 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) 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.655229547Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.792118ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.662979089Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.665916671Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.936932ms 12:21:22 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.671179501Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.671966028Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=789.147µs 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.675965222Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.679035006Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.068474ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.684495091Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.685249107Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=753.555µs 12:21:22 policy-db-migrator | > upgrade 0450-pdpgroup.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.690218431Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.691435286Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.216835ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.69544112Z level=info msg="Executing migration" id="Update dashboard table charset" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.695479411Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=38.901µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.701381175Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.701408796Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=28.111µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.704766096Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 12:21:22 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.706672186Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.9052ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.709906844Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.71304868Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.142516ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.719505515Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.721478407Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.971252ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.725281756Z level=info msg="Executing migration" id="Add column uid in dashboard" 12:21:22 policy-db-migrator | > upgrade 0470-pdp.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.728477903Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.200827ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.732270953Z level=info msg="Executing migration" id="Update uid column values in dashboard" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.73260653Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=335.697µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.73591711Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.736672905Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=755.785µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.741892165Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 12:21:22 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.742870125Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=975.3µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.747655396Z level=info msg="Executing migration" id="Update dashboard title length" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.747706447Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=50.701µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.752226302Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.753457928Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.261596ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.759449503Z level=info msg="Executing migration" id="create dashboard_provisioning" 12:21:22 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.760148788Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=699.375µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.764790875Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.769991004Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.199359ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.827962511Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.829187186Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.227105ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.834328954Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 12:21:22 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.835597331Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.267377ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.839408381Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.840622746Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.209065ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.848134964Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.848666055Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=530.261µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.858634174Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 12:21:22 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.859155585Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=521.831µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.862550566Z level=info msg="Executing migration" id="Add check_sum column" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.864715102Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.163986ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.870731478Z level=info msg="Executing migration" id="Add index for dashboard_title" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.872024885Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.293327ms 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.879537823Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.879705796Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=168.423µs 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.883984736Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.8841533Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=169.074µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.887835037Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.889183065Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.347228ms 12:21:22 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.894476796Z level=info msg="Executing migration" id="Add isPublic for dashboard" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.896632691Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.155775ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.900345799Z level=info msg="Executing migration" id="create data_source table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.901256528Z level=info msg="Migration successfully executed" id="create data_source table" duration=910.369µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.90514259Z level=info msg="Executing migration" id="add index data_source.account_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.906162511Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.019351ms 12:21:22 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.933122387Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.934629059Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.510542ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.938221034Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.939384478Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.163564ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.942724898Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.943412003Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=686.625µs 12:21:22 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.947651632Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.953995065Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.341763ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.957247753Z level=info msg="Executing migration" id="create data_source table v2" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.958135612Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=881.799µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.961121214Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.961941812Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=822.408µs 12:21:22 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.965861104Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.966709862Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=848.958µs 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.969598152Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.970118723Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=520.161µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.972773189Z level=info msg="Executing migration" id="Add column with_credentials" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.975340773Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.566734ms 12:21:22 policy-db-migrator | > upgrade 0570-toscadatatype.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.979883058Z level=info msg="Executing migration" id="Add secure json data column" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.982304429Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.420521ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.987243072Z level=info msg="Executing migration" id="Update data_source table charset" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.987330614Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=94.422µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.991948921Z level=info msg="Executing migration" id="Update initial version to 1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.992269208Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=319.467µs 12:21:22 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:36.997754393Z level=info msg="Executing migration" id="Add read_only data column" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.000329617Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.575114ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.006984218Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.007171702Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=184.714µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.012385663Z level=info msg="Executing migration" id="Update json_data with nulls" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.012634048Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=249.075µs 12:21:22 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.019209138Z level=info msg="Executing migration" id="Add uid column" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.022919546Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.709618ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.029264641Z level=info msg="Executing migration" id="Update uid value" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.029456905Z level=info msg="Migration successfully executed" id="Update uid value" duration=195.504µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.032933499Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.033724746Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=791.317µs 12:21:22 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.037664579Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.038969847Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.303118ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.043634516Z level=info msg="Executing migration" id="create api_key table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.044491794Z level=info msg="Migration successfully executed" id="create api_key table" duration=856.458µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.048174542Z level=info msg="Executing migration" id="add index api_key.account_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.049035491Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=861.459µs 12:21:22 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.052735949Z level=info msg="Executing migration" id="add index api_key.key" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.053597567Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=860.578µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.059030823Z level=info msg="Executing migration" id="add index api_key.account_id_name" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.059936402Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=905.089µs 12:21:22 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.063513288Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.064800445Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.287077ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.070119418Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.071400005Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.282427ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.075615385Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.076131125Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=516.11µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.07966143Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 12:21:22 policy-db-migrator | > upgrade 0630-toscanodetype.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.090775666Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.111776ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.095521117Z level=info msg="Executing migration" id="create api_key table v2" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.096098959Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=579.552µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.09897724Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.100002402Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.021042ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.103624789Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 12:21:22 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.10509475Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.468561ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.109751109Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.110627837Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=875.348µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.114116922Z level=info msg="Executing migration" id="copy api_key v1 to v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.11453173Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=415.549µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.118063145Z level=info msg="Executing migration" id="Drop old table api_key_v1" 12:21:22 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.119047436Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=983.291µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.177323773Z level=info msg="Executing migration" id="Update api_key table charset" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.177362634Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=40.06µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.18144931Z level=info msg="Executing migration" id="Add expires to api_key table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.185553827Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.099357ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.189384409Z level=info msg="Executing migration" id="Add service account foreign key" 12:21:22 policy-db-migrator | > upgrade 0660-toscaparameter.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.191930503Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.544924ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.195281674Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.195475128Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=193.974µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.201578417Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.204402377Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.82065ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.20828596Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 12:21:22 policy-db-migrator | > upgrade 0670-toscapolicies.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.211051838Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.765108ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.216738119Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.217513735Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=775.096µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.223916911Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.225101506Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.191215ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.22905869Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 12:21:22 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.2300023Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=946.02µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.23326738Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.234056016Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=790.156µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.238807997Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.239748677Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=937.93µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.24316518Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 12:21:22 policy-db-migrator | > upgrade 0690-toscapolicy.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.244145101Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=979.79µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.280279227Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.280541153Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=263.736µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.296854599Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.29690703Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=53.971µs 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.303626513Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.307993055Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.365552ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.311838417Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.313762548Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=1.923781ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.318435097Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 12:21:22 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.318477958Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=43.301µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.321714546Z level=info msg="Executing migration" id="create quota table v1" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.322243918Z level=info msg="Migration successfully executed" id="create quota table v1" duration=529.322µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.325869485Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.326562639Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=693.174µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.329863769Z level=info msg="Executing migration" id="Update quota table charset" 12:21:22 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.32988183Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=18.611µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.337663905Z level=info msg="Executing migration" id="create plugin_setting table" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.338191796Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=527.781µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.34451173Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.345213895Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=701.905µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.349976016Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 12:21:22 policy-db-migrator | > upgrade 0730-toscaproperty.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.35249921Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.523324ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.357063117Z level=info msg="Executing migration" id="Update plugin_setting table charset" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.357083167Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=20.001µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.362236706Z level=info msg="Executing migration" id="create session table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.36286398Z level=info msg="Migration successfully executed" id="create session table" duration=627.124µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.366304433Z level=info msg="Executing migration" id="Drop old table playlist table" 12:21:22 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.366397965Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=93.232µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.371979853Z level=info msg="Executing migration" id="Drop old table playlist_item table" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.372039494Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=59.851µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.37700924Z level=info msg="Executing migration" id="create playlist table v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.377832657Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=821.767µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.382865194Z level=info msg="Executing migration" id="create playlist item table v2" 12:21:22 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.383359985Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=495.2µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.388663817Z level=info msg="Executing migration" id="Update playlist table charset" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.388684547Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=21.53µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.397992085Z level=info msg="Executing migration" id="Update playlist_item table charset" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.398011745Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=20.98µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.400611761Z level=info msg="Executing migration" id="Add playlist column created_at" 12:21:22 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.403449451Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.83731ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.407098788Z level=info msg="Executing migration" id="Add playlist column updated_at" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.409783265Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.684497ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.414184969Z level=info msg="Executing migration" id="drop preferences table v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.41424567Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=61.211µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.419279547Z level=info msg="Executing migration" id="drop preferences table v3" 12:21:22 policy-db-migrator | > upgrade 0770-toscarequirement.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.419402469Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=124.402µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.426529291Z level=info msg="Executing migration" id="create preferences table v3" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.427608973Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.083553ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.430987615Z level=info msg="Executing migration" id="Update preferences table charset" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.431013786Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=27.941µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.434213464Z level=info msg="Executing migration" id="Add column team_id in preferences" 12:21:22 policy-db-migrator | > upgrade 0780-toscarequirements.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.436623255Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=2.409491ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.439606088Z level=info msg="Executing migration" id="Update team_id column values in preferences" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.439749731Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=143.793µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.446395852Z level=info msg="Executing migration" id="Add column week_start in preferences" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.45008454Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.691378ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.453130125Z level=info msg="Executing migration" id="Add column preferences.json_data" 12:21:22 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.45617476Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.043904ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.459547641Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.459631223Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=84.372µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.466117691Z level=info msg="Executing migration" id="Add preferences index org_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.467095671Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=977.911µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.470063944Z level=info msg="Executing migration" id="Add preferences index user_id" 12:21:22 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.471436093Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.370449ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.474994699Z level=info msg="Executing migration" id="create alert table v1" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.476900469Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.9046ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.525136203Z level=info msg="Executing migration" id="add index alert org_id & id " 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.525981161Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=848.008µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.529788432Z level=info msg="Executing migration" id="add index alert state" 12:21:22 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.530558168Z level=info msg="Migration successfully executed" id="add index alert state" duration=768.766µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.53774738Z level=info msg="Executing migration" id="add index alert dashboard_id" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.538883785Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.137164ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.545479234Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.546589648Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.106074ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.550229875Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 12:21:22 policy-db-migrator | > upgrade 0820-toscatrigger.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.551170025Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=940.05µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.556172461Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.557686484Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.514312ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.563459826Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.572226322Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=8.767356ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.576614255Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 12:21:22 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.577967584Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.357299ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.5824966Z 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" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.58393426Z 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.43755ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.588454636Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.588718212Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=263.576µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.595197569Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 12:21:22 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.596131949Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=934.63µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.601036373Z level=info msg="Executing migration" id="create alert_notification table v1" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.602248729Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.210156ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.607387968Z level=info msg="Executing migration" id="Add column is_default" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.612401475Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.014166ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.619172448Z level=info msg="Executing migration" id="Add column frequency" 12:21:22 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.624783857Z level=info msg="Migration successfully executed" id="Add column frequency" duration=5.609729ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.630665702Z level=info msg="Executing migration" id="Add column send_reminder" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.634424082Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.7574ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.643218678Z level=info msg="Executing migration" id="Add column disable_resolve_message" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.646677692Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.458744ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.653940826Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 12:21:22 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.655253114Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.311968ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.659530065Z level=info msg="Executing migration" id="Update alert table charset" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.659568105Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=39.081µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.66400824Z level=info msg="Executing migration" id="Update alert_notification table charset" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.66404003Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=33.341µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.667925013Z level=info msg="Executing migration" id="create notification_journal table v1" 12:21:22 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.669353323Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.42494ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.677570927Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.678969057Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.39712ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.683888811Z level=info msg="Executing migration" id="drop alert_notification_journal" 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.684600866Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=711.785µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.691003812Z level=info msg="Executing migration" id="create alert_notification_state table v1" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.69276108Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.756608ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.697766036Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.699227587Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.460971ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.707139955Z level=info msg="Executing migration" id="Add for to alert table" 12:21:22 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.712935928Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.793383ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.719113629Z level=info msg="Executing migration" id="Add column uid in alert_notification" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.722808707Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.694128ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.727723572Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.727949976Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=226.165µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.733715039Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 12:21:22 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.735053817Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.335988ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.740484032Z level=info msg="Executing migration" id="Remove unique index org_id_name" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.741688398Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.204276ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.745822016Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.74978824Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.965785ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.75688447Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 12:21:22 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.756948652Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=64.262µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.76156658Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.762879647Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.309287ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.768588309Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.769977088Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.388179ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.774675528Z level=info msg="Executing migration" id="Drop old annotation table v4" 12:21:22 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.774805921Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=130.322µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.781961442Z level=info msg="Executing migration" id="create annotation table v5" 12:21:22 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.783164598Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.202456ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.78843091Z level=info msg="Executing migration" id="add index annotation 0 v3" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.789584524Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.152574ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.797331478Z level=info msg="Executing migration" id="add index annotation 1 v3" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.798902212Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.574064ms 12:21:22 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.805657705Z level=info msg="Executing migration" id="add index annotation 2 v3" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.806491473Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=833.588µs 12:21:22 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.811481249Z level=info msg="Executing migration" id="add index annotation 3 v3" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.812427129Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=945.46µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.818892516Z level=info msg="Executing migration" id="add index annotation 4 v3" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.819838486Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=943µs 12:21:22 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.824974145Z level=info msg="Executing migration" id="Update annotation table charset" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.825012686Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=40.151µs 12:21:22 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.867320914Z level=info msg="Executing migration" id="Add column region_id to annotation table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.874173699Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.850005ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.881383582Z level=info msg="Executing migration" id="Drop category_id index" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.882163039Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=779.396µs 12:21:22 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.888009053Z level=info msg="Executing migration" id="Add column tags to annotation table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.893144862Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.136448ms 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.896437201Z level=info msg="Executing migration" id="Create annotation_tag table v2" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.897113356Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=673.775µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.90204626Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.902907559Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=861.199µs 12:21:22 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.908035247Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.909140441Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.103984ms 12:21:22 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 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.919094802Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.932886115Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.791193ms 12:21:22 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.939592917Z level=info msg="Executing migration" id="Create annotation_tag table v3" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.940153019Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=560.552µs 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.945619875Z 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" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.946978694Z 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.357549ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.952598443Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.953060833Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=463.52µs 12:21:22 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.961182095Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.962069674Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=885.889µs 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.969582443Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.969950931Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=368.708µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.97745126Z level=info msg="Executing migration" id="Add created time to annotation table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.985333248Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=7.879838ms 12:21:22 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.990272322Z level=info msg="Executing migration" id="Add updated time to annotation table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.993341008Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.068186ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:37.999051339Z level=info msg="Executing migration" id="Add index for created in annotation table" 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.000371367Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.323778ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.004002014Z level=info msg="Executing migration" id="Add index for updated in annotation table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.005509991Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.505597ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.013539492Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 12:21:22 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.014037073Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=496.611µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.018783243Z level=info msg="Executing migration" id="Add epoch_end column" 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.025455027Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.670684ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.029865659Z level=info msg="Executing migration" id="Add index for epoch_end" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.030549395Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=683.646µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.036841611Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 12:21:22 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.03724846Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=405.77µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.043032184Z level=info msg="Executing migration" id="Move region to single row" 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.04374495Z level=info msg="Migration successfully executed" id="Move region to single row" duration=712.136µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.050356593Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.051763326Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.407113ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.056617298Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 12:21:22 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.058114242Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.496844ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.063296462Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.065477763Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=2.205641ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.070070049Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.071563633Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.475634ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.076064618Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 12:21:22 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.077245465Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.182268ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.080788007Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.081991065Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.202768ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.086090839Z level=info msg="Executing migration" id="Increase tags column to length 4096" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.086156731Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=64.332µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.092678202Z level=info msg="Executing migration" id="create test_data table" 12:21:22 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.093668945Z level=info msg="Migration successfully executed" id="create test_data table" duration=990.253µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.098505837Z level=info msg="Executing migration" id="create dashboard_version table v1" 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.099730105Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.224008ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.103640975Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.104868904Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.226289ms 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.112751126Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.113925903Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.174367ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.118326465Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.118567541Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=238.895µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.124048437Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 12:21:22 policy-db-migrator | > upgrade 0100-pdp.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.124521218Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=472.621µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.129501893Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 12:21:22 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.129603556Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=103.003µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.135489552Z level=info msg="Executing migration" id="create team table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.136467784Z level=info msg="Migration successfully executed" id="create team table" duration=982.642µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.143380754Z level=info msg="Executing migration" id="add index team.org_id" 12:21:22 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.144599913Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.218758ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.150215462Z level=info msg="Executing migration" id="add unique index team_org_id_name" 12:21:22 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.151077582Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=862.23µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.15702481Z level=info msg="Executing migration" id="Add column uid in team" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.161746169Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.721129ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.166311125Z level=info msg="Executing migration" id="Update uid column values in team" 12:21:22 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.166487119Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=176.074µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.17171974Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 12:21:22 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.17302697Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.314751ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.279020991Z level=info msg="Executing migration" id="create team member table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.279787859Z level=info msg="Migration successfully executed" id="create team member table" duration=765.558µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.289556845Z level=info msg="Executing migration" id="add index team_member.org_id" 12:21:22 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.290550248Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=993.513µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.293890375Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.294765385Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=874.88µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.299966996Z level=info msg="Executing migration" id="add index team_member.team_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.301221855Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.254609ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.306716292Z level=info msg="Executing migration" id="Add column email to team table" 12:21:22 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.31314459Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.432139ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.321819351Z level=info msg="Executing migration" id="Add column external to team_member table" 12:21:22 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 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.327027751Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.20833ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.332394195Z level=info msg="Executing migration" id="Add column permission to team_member table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.337904313Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.507348ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.351795444Z level=info msg="Executing migration" id="create dashboard acl table" 12:21:22 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.353437532Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.640138ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.362280077Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.36327169Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=991.452µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.371979231Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 12:21:22 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.373127347Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.144386ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.385502134Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 12:21:22 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.386495757Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=993.953µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.39443316Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.39617591Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.74091ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.401249028Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 12:21:22 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.402840025Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.591937ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.406925199Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 12:21:22 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.40783773Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=909.081µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.416433719Z level=info msg="Executing migration" id="add index dashboard_permission" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.417950814Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.516025ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.424528246Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 12:21:22 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.425386676Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=857.98µs 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 12:21:22 policy-db-migrator | JOIN pdpstatistics b 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.434437975Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 12:21:22 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.435012139Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=579.504µs 12:21:22 policy-db-migrator | SET a.id = b.id 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.440774452Z level=info msg="Executing migration" id="create tag table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.441528219Z level=info msg="Migration successfully executed" id="create tag table" duration=754.537µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.450342193Z level=info msg="Executing migration" id="add index tag.key_value" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.451654543Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.31244ms 12:21:22 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.457016978Z level=info msg="Executing migration" id="create login attempt table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.457764545Z level=info msg="Migration successfully executed" id="create login attempt table" duration=747.678µs 12:21:22 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.461969062Z level=info msg="Executing migration" id="add index login_attempt.username" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.463048267Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.078065ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.470417797Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.472022735Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.607867ms 12:21:22 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.479381295Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.494388162Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=15.010867ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.500131135Z level=info msg="Executing migration" id="create login_attempt v2" 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.500710048Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=578.833µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.503749728Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 12:21:22 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.505213952Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.462464ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.510880143Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 12:21:22 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.511322263Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=441.64µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.515651413Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.516559554Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=908.121µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.52196715Z level=info msg="Executing migration" id="create user auth table" 12:21:22 policy-db-migrator | > upgrade 0210-sequence.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.522717227Z level=info msg="Migration successfully executed" id="create user auth table" duration=750.057µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.528940081Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.529875262Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=932.631µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.535752308Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.5358197Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=69.822µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.540704593Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 12:21:22 policy-db-migrator | > upgrade 0220-sequence.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.548146275Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.444972ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.552069086Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 12:21:22 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.557073751Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.004135ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.564265718Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.569207762Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.941754ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.604696603Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 12:21:22 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.612242147Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=7.546204ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.617031708Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.618139624Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.107256ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.62403909Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.62923497Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.19551ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.633070859Z level=info msg="Executing migration" id="create server_lock table" 12:21:22 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.633860257Z level=info msg="Migration successfully executed" id="create server_lock table" duration=788.778µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.638376462Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 12:21:22 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) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.639297723Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=920.801µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.644733699Z level=info msg="Executing migration" id="create user auth token table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.646131131Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.398272ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.654010763Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 12:21:22 policy-db-migrator | > upgrade 0120-toscatrigger.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.65558807Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.576017ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.660532964Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 12:21:22 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.661735102Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.203078ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.666936532Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.668406946Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.470314ms 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.67335201Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 12:21:22 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.679108854Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.756804ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.683347292Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.684356935Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.009813ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.689555055Z level=info msg="Executing migration" id="create cache_data table" 12:21:22 policy-db-migrator | > upgrade 0140-toscaparameter.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.690963428Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.407893ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.697475588Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 12:21:22 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.698369309Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=893.491µs 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.704260945Z level=info msg="Executing migration" id="create short_url table v1" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.705130075Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=868.92µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.710777816Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 12:21:22 policy-db-migrator | > upgrade 0150-toscaproperty.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.712300641Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.525015ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.717630454Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 12:21:22 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.717734467Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=104.773µs 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.722843065Z level=info msg="Executing migration" id="delete alert_definition table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.722964168Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=121.813µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.730564464Z level=info msg="Executing migration" id="recreate alert_definition table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.732009307Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.444223ms 12:21:22 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.737845702Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.739402638Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.557256ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.744521546Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.745589711Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.067715ms 12:21:22 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.752125442Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.752191014Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=66.642µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.756424442Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.757981668Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.557156ms 12:21:22 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.763217659Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.764674832Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.457843ms 12:21:22 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.771429139Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.772544734Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.115515ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.778291677Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.779850043Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.557736ms 12:21:22 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.785398672Z level=info msg="Executing migration" id="Add column paused in alert_definition" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.793448748Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.050076ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.800843819Z level=info msg="Executing migration" id="drop alert_definition table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.801820991Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=977.172µs 12:21:22 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.806136581Z level=info msg="Executing migration" id="delete alert_definition_version table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.806224353Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=88.382µs 12:21:22 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.810716767Z level=info msg="Executing migration" id="recreate alert_definition_version table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.81214532Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.428093ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.818007846Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.819562842Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.554586ms 12:21:22 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.824715001Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.82595928Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.244719ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.832123342Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.832192534Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=69.232µs 12:21:22 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.838477469Z level=info msg="Executing migration" id="drop alert_definition_version table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.839879412Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.401663ms 12:21:22 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.846654398Z level=info msg="Executing migration" id="create alert_instance table" 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.848138473Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.483475ms 12:21:22 policy-db-migrator | > upgrade 0100-upgrade.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.854272524Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.855883022Z 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.607978ms 12:21:22 policy-db-migrator | select 'upgrade to 1100 completed' as msg 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.859387423Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.860680203Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.29214ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.864680915Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 12:21:22 policy-db-migrator | msg 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.870745975Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.06419ms 12:21:22 policy-db-migrator | upgrade to 1100 completed 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.877667055Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.878639718Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=923.202µs 12:21:22 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.884249528Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.885606979Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.353741ms 12:21:22 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.918169302Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.947782526Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=29.611274ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.952994667Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.977587065Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=24.585089ms 12:21:22 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.982640362Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.983341128Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=702.386µs 12:21:22 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.989138072Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:38.990824291Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.685569ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.000075605Z level=info msg="Executing migration" id="add current_reason column related to current_state" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.006490854Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.409318ms 12:21:22 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.012712068Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.01886454Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.153673ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.026029396Z level=info msg="Executing migration" id="create alert_rule table" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.026792073Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=762.288µs 12:21:22 policy-db-migrator | > upgrade 0120-audit_sequence.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.033279143Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.034308027Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.028494ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.039499517Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.040468599Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=971.602µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.045157978Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.046215222Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.057934ms 12:21:22 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.052551519Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.052711983Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=161.804µs 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.058012855Z level=info msg="Executing migration" id="add column for to alert_rule" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.064063665Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.04687ms 12:21:22 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.068998559Z level=info msg="Executing migration" id="add column annotations to alert_rule" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.075157112Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.156473ms 12:21:22 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)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.087552448Z level=info msg="Executing migration" id="add column labels to alert_rule" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.093992577Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.444259ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.097625991Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.098354558Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=728.607µs 12:21:22 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.10191297Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.103052967Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.142257ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.108213556Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 12:21:22 policy-db-migrator | TRUNCATE TABLE sequence 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.114176674Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.962708ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.118948224Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.125828713Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.878519ms 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.129797985Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 12:21:22 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.13087018Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.071925ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.135859905Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.142381586Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.519701ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.146203085Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 12:21:22 policy-db-migrator | DROP TABLE pdpstatistics 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.153096104Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.892569ms 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.158360676Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 12:21:22 policy-db-migrator | 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.158570461Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=169.774µs 12:21:22 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.164749834Z level=info msg="Executing migration" id="create alert_rule_version table" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.167023326Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=2.273113ms 12:21:22 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.170723772Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.171831137Z 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.106835ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.174807066Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.175890881Z 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.083275ms 12:21:22 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.183522568Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.183650521Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=127.863µs 12:21:22 policy-db-migrator | DROP TABLE statistics_sequence 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.189550007Z level=info msg="Executing migration" id="add column for to alert_rule_version" 12:21:22 policy-db-migrator | -------------- 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.199547198Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.997461ms 12:21:22 policy-db-migrator | 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.203392337Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 12:21:22 policy-db-migrator | policyadmin: OK: upgrade (1300) 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.208528456Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=5.137079ms 12:21:22 policy-db-migrator | name version 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.252750959Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.262691089Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.937359ms 12:21:22 policy-db-migrator | policyadmin 1300 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.266088557Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 12:21:22 policy-db-migrator | ID script operation from_version to_version tag success atTime 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.27054609Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.454923ms 12:21:22 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.273827346Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.279962648Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.104281ms 12:21:22 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.285332152Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 12:21:22 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.285397144Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.772µs 12:21:22 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.288586037Z level=info msg="Executing migration" id=create_alert_configuration_table 12:21:22 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.289415277Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=828.86µs 12:21:22 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.292637201Z level=info msg="Executing migration" id="Add column default in alert_configuration" 12:21:22 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.303785119Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=11.146268ms 12:21:22 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.318241903Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 12:21:22 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.318344246Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=104.463µs 12:21:22 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.336233319Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 12:21:22 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.346486056Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.252417ms 12:21:22 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.358463883Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 12:21:22 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.359977578Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.513435ms 12:21:22 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.373386479Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 12:21:22 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.38339313Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.008432ms 12:21:22 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.391091828Z level=info msg="Executing migration" id=create_ngalert_configuration_table 12:21:22 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.392003569Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=909.831µs 12:21:22 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.406077125Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 12:21:22 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.40762637Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.549136ms 12:21:22 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.420483108Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 12:21:22 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.430461978Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.97834ms 12:21:22 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.433775635Z level=info msg="Executing migration" id="create provenance_type table" 12:21:22 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.434332708Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=559.373µs 12:21:22 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.444508303Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 12:21:22 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.44608445Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.573827ms 12:21:22 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.449580991Z level=info msg="Executing migration" id="create alert_image table" 12:21:22 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.45083669Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.255549ms 12:21:22 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.456219644Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 12:21:22 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.45775221Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.558867ms 12:21:22 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.463666906Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 12:21:22 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.463727728Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=61.892µs 12:21:22 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.467021584Z level=info msg="Executing migration" id=create_alert_configuration_history_table 12:21:22 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.468322024Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.29899ms 12:21:22 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.472097331Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 12:21:22 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.473568605Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.465004ms 12:21:22 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.480006464Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 12:21:22 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.480407273Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 12:21:22 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.483242469Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 12:21:22 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.483630588Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=387.879µs 12:21:22 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.487149599Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 12:21:22 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.488691885Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.541826ms 12:21:22 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.494687994Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 12:21:22 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.50448158Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.794456ms 12:21:22 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.508180936Z level=info msg="Executing migration" id="create library_element table v1" 12:21:22 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.5092086Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.027264ms 12:21:22 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.512307451Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 12:21:22 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.513337315Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.026484ms 12:21:22 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.521581826Z level=info msg="Executing migration" id="create library_element_connection table v1" 12:21:22 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.522854185Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.271899ms 12:21:22 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.527956543Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 12:21:22 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.52954013Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.582707ms 12:21:22 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.533994823Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 12:21:22 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.535559079Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.559156ms 12:21:22 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.541987488Z level=info msg="Executing migration" id="increase max description length to 2048" 12:21:22 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.542014098Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=27.4µs 12:21:22 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.546636905Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 12:21:22 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.546741368Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=105.182µs 12:21:22 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.550675819Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 12:21:22 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.551106768Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=430.84µs 12:21:22 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.556521034Z level=info msg="Executing migration" id="create data_keys table" 12:21:22 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.558002588Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.481014ms 12:21:22 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.621841264Z level=info msg="Executing migration" id="create secrets table" 12:21:22 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.623336389Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.497945ms 12:21:22 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.62725599Z level=info msg="Executing migration" id="rename data_keys name column to id" 12:21:22 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.659036404Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.781995ms 12:21:22 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.661923071Z level=info msg="Executing migration" id="add name column into data_keys" 12:21:22 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.668499923Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.581162ms 12:21:22 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.673648482Z level=info msg="Executing migration" id="copy data_keys id column values into name" 12:21:22 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.673792306Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=144.314µs 12:21:22 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.676293004Z level=info msg="Executing migration" id="rename data_keys name column to label" 12:21:22 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.708516119Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.223115ms 12:21:22 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.711867216Z level=info msg="Executing migration" id="rename data_keys id column back to name" 12:21:22 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.73795587Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=26.088214ms 12:21:22 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.74316496Z level=info msg="Executing migration" id="create kv_store table v1" 12:21:22 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.743825435Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=662.405µs 12:21:22 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.748048343Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 12:21:22 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.748942704Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=896.201µs 12:21:22 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.754166404Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 12:21:22 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.754318648Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=152.284µs 12:21:22 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.757694566Z level=info msg="Executing migration" id="create permission table" 12:21:22 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.758336521Z level=info msg="Migration successfully executed" id="create permission table" duration=641.805µs 12:21:22 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.762998329Z level=info msg="Executing migration" id="add unique index permission.role_id" 12:21:22 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.764097464Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.097225ms 12:21:22 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.767597905Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 12:21:22 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.769262234Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.663548ms 12:21:22 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.772685603Z level=info msg="Executing migration" id="create role table" 12:21:22 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.773541463Z level=info msg="Migration successfully executed" id="create role table" duration=855.719µs 12:21:22 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.779613123Z level=info msg="Executing migration" id="add column display_name" 12:21:22 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.786916302Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.302559ms 12:21:22 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.790223438Z level=info msg="Executing migration" id="add column group_name" 12:21:22 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.797360473Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.136145ms 12:21:22 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.801948799Z level=info msg="Executing migration" id="add index role.org_id" 12:21:22 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.803482125Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.531626ms 12:21:22 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.809191657Z level=info msg="Executing migration" id="add unique index role_org_id_name" 12:21:22 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.810839285Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.647718ms 12:21:22 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.814215983Z level=info msg="Executing migration" id="add index role_org_id_uid" 12:21:22 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.815853331Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.636638ms 12:21:22 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.819031265Z level=info msg="Executing migration" id="create team role table" 12:21:22 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.819817013Z level=info msg="Migration successfully executed" id="create team role table" duration=785.939µs 12:21:22 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.825361621Z level=info msg="Executing migration" id="add index team_role.org_id" 12:21:22 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.82702983Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.668578ms 12:21:22 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.831051673Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 12:21:22 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.832779402Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.72683ms 12:21:22 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.838624058Z level=info msg="Executing migration" id="add index team_role.team_id" 12:21:22 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.83959256Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=966.782µs 12:21:22 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.842946598Z level=info msg="Executing migration" id="create user role table" 12:21:22 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.844246598Z level=info msg="Migration successfully executed" id="create user role table" duration=1.2996ms 12:21:22 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.847744509Z level=info msg="Executing migration" id="add index user_role.org_id" 12:21:22 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.849312475Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.568167ms 12:21:22 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.852510579Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 12:21:22 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.853502702Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=993.243µs 12:21:22 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.859889959Z level=info msg="Executing migration" id="add index user_role.user_id" 12:21:22 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.861479786Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.589467ms 12:21:22 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.864724401Z level=info msg="Executing migration" id="create builtin role table" 12:21:22 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1204241219451100u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.86598801Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.263279ms 12:21:22 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1204241219451200u 1 2024-04-12 12:19:50 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.869110493Z level=info msg="Executing migration" id="add index builtin_role.role_id" 12:21:22 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1204241219451200u 1 2024-04-12 12:19:51 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.870119116Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.008523ms 12:21:22 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1204241219451200u 1 2024-04-12 12:19:51 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.874687212Z level=info msg="Executing migration" id="add index builtin_role.name" 12:21:22 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1204241219451200u 1 2024-04-12 12:19:51 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.875699185Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.011633ms 12:21:22 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1204241219451300u 1 2024-04-12 12:19:51 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.879212496Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 12:21:22 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1204241219451300u 1 2024-04-12 12:19:51 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.886951825Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.738709ms 12:21:22 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1204241219451300u 1 2024-04-12 12:19:51 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.890208581Z level=info msg="Executing migration" id="add index builtin_role.org_id" 12:21:22 policy-db-migrator | policyadmin: OK @ 1300 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.891206604Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=997.883µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.895561784Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.897193462Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.633398ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.900958509Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.902457614Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.500025ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.906250732Z level=info msg="Executing migration" id="add unique index role.uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.907240974Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=989.852µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.953198257Z level=info msg="Executing migration" id="create seed assignment table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.953968885Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=772.498µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.957779573Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.958547831Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=768.028µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.961691844Z level=info msg="Executing migration" id="add column hidden to role table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.967463617Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=5.771613ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.97580548Z level=info msg="Executing migration" id="permission kind migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.984089722Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.281712ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.987672295Z level=info msg="Executing migration" id="permission attribute migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.993245523Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.573139ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:39.99656782Z level=info msg="Executing migration" id="permission identifier migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.004420201Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.851661ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.009118614Z level=info msg="Executing migration" id="add permission identifier index" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.010324559Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.208276ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.013759452Z level=info msg="Executing migration" id="add permission action scope role_id index" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.015022058Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.261996ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.018341938Z level=info msg="Executing migration" id="remove permission role_id action scope index" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.019464461Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.122683ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.023989706Z level=info msg="Executing migration" id="create query_history table v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.025000897Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.010611ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.028528621Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.029659725Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.130824ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.033191849Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.033256871Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=65.862µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.039511652Z level=info msg="Executing migration" id="rbac disabled migrator" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.039561003Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=50.631µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.043462225Z level=info msg="Executing migration" id="teams permissions migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.044222721Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=760.286µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.048409049Z level=info msg="Executing migration" id="dashboard permissions" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.049303027Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=894.909µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.05324674Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.053978245Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=731.455µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.058790126Z level=info msg="Executing migration" id="drop managed folder create actions" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.059105263Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=314.747µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.062730219Z level=info msg="Executing migration" id="alerting notification permissions" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.063573767Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=843.418µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.067517899Z level=info msg="Executing migration" id="create query_history_star table v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.06895661Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.437141ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.073995555Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.0751699Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.173965ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.07896411Z level=info msg="Executing migration" id="add column org_id in query_history_star" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.089309827Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.346987ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.092555655Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.092602766Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=47.701µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.096189111Z level=info msg="Executing migration" id="create correlation table v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.097397486Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.207645ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.10327827Z level=info msg="Executing migration" id="add index correlations.uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.105057237Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.777687ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.109132003Z level=info msg="Executing migration" id="add index correlations.source_uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.110982721Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.847909ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.115040167Z level=info msg="Executing migration" id="add correlation config column" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.123651987Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.613631ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.12805512Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.129061481Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.006261ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.132334039Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.13330465Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=970.111µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.137558819Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.159017769Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.45913ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.162059693Z level=info msg="Executing migration" id="create correlation v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.162958422Z level=info msg="Migration successfully executed" id="create correlation v2" duration=898.399µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.166354503Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.167105519Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=751.156µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.171834478Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.173631746Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.797398ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.177951336Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.179004499Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.053092ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.182569203Z level=info msg="Executing migration" id="copy correlation v1 to v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.182974452Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=404.729µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.187421935Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.188648891Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.226116ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.192628554Z level=info msg="Executing migration" id="add provisioning column" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.202735676Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.106292ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.206188249Z level=info msg="Executing migration" id="create entity_events table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.20769593Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.507041ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.213118114Z level=info msg="Executing migration" id="create dashboard public config v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.215200838Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=2.084474ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.219385646Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.220263074Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.223785838Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.224581225Z 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" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.229195112Z level=info msg="Executing migration" id="Drop old dashboard public config table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.230487449Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.291818ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.23388487Z level=info msg="Executing migration" id="recreate dashboard public config v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.235522214Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.640834ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.240220043Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.241946829Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.726746ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.245480773Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.246623497Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.142464ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.249855805Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.250923877Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.068412ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.255546754Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.256560416Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.013122ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.260339275Z level=info msg="Executing migration" id="Drop public config table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.261492599Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.151364ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.298376323Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.300560919Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=2.184096ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.305502942Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.306537074Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.033992ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.310279963Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.311400686Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.120513ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.315934011Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.316991094Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.056562ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.320479027Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.345524782Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=25.045415ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.348974895Z level=info msg="Executing migration" id="add annotations_enabled column" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.356512923Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.537048ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.360746962Z level=info msg="Executing migration" id="add time_selection_enabled column" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.369009015Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.261583ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.372442637Z level=info msg="Executing migration" id="delete orphaned public dashboards" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.37259822Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=155.353µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.375772927Z level=info msg="Executing migration" id="add share column" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.382627741Z level=info msg="Migration successfully executed" id="add share column" duration=6.853694ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.385892869Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.386079563Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=186.824µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.390320362Z level=info msg="Executing migration" id="create file table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.391259622Z level=info msg="Migration successfully executed" id="create file table" duration=939.08µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.394747735Z level=info msg="Executing migration" id="file table idx: path natural pk" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.395778927Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.030971ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.399377392Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.400430494Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.052892ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.404824116Z level=info msg="Executing migration" id="create file_meta table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.406037472Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.216126ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.409689918Z level=info msg="Executing migration" id="file table idx: path key" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.411407464Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.716636ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.417007172Z level=info msg="Executing migration" id="set path collation in file table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.417072063Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=65.071µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.420561406Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.420626038Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=64.842µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.425284726Z level=info msg="Executing migration" id="managed permissions migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.426093003Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=807.926µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.429901612Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.430230989Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=329.687µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.43408135Z level=info msg="Executing migration" id="RBAC action name migrator" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.436097132Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.015342ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.439585616Z level=info msg="Executing migration" id="Add UID column to playlist" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.447977352Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.391846ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.452459496Z level=info msg="Executing migration" id="Update uid column values in playlist" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.452576248Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=117.282µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.456071501Z level=info msg="Executing migration" id="Add index for uid in playlist" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.457565003Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.499352ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.461849563Z level=info msg="Executing migration" id="update group index for alert rules" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.462455345Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=606.842µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.467220305Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.46742377Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=203.515µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.470721549Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.47123356Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=512.361µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.474819215Z level=info msg="Executing migration" id="add action column to seed_assignment" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.486902338Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.084433ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.492315822Z level=info msg="Executing migration" id="add scope column to seed_assignment" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.50128357Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.966568ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.504751903Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.505520129Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=765.716µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.50987593Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.581632446Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=71.755786ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.594757781Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.596483207Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.725356ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.600703336Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.60187398Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.169894ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.605983187Z level=info msg="Executing migration" id="add primary key to seed_assigment" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.632035473Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.052846ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.638385817Z level=info msg="Executing migration" id="add origin column to seed_assignment" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.64520547Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.819144ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.64951249Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.649824406Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=311.686µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.65378761Z level=info msg="Executing migration" id="prevent seeding OnCall access" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.653966293Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=178.513µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.658675392Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.658878886Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=203.554µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.66284775Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.663156646Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=308.806µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.667116339Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.667408745Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=293.516µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.671104733Z level=info msg="Executing migration" id="create folder table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.672485572Z level=info msg="Migration successfully executed" id="create folder table" duration=1.380469ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.676930825Z level=info msg="Executing migration" id="Add index for parent_uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.678183631Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.252216ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.681753026Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.682954462Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.200696ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.686908425Z level=info msg="Executing migration" id="Update folder title length" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.686934785Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.041µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.691132613Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.692357739Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.224786ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.695713719Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.697329183Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.616514ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.700881348Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.702227266Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.346058ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.70669402Z level=info msg="Executing migration" id="Sync dashboard and folder table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.707148679Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=454.699µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.710392027Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.710668363Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=276.476µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.714005593Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.715106176Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.102523ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.719351845Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.721120292Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.765267ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.725205568Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.726874583Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.668785ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.732027561Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.735384992Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=3.356491ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.740521019Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.741819577Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.303418ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.744882541Z level=info msg="Executing migration" id="create anon_device table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.74579454Z level=info msg="Migration successfully executed" id="create anon_device table" duration=912.019µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.749969058Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.751167443Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.198435ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.756021395Z level=info msg="Executing migration" id="add index anon_device.updated_at" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.757977486Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.956682ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.761884088Z level=info msg="Executing migration" id="create signing_key table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.762853368Z level=info msg="Migration successfully executed" id="create signing_key table" duration=969.1µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.76722107Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.768979936Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.753437ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.773215945Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.775189437Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.974062ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.779051068Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.779492967Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=442.369µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.784366009Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.795582555Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.215245ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.799321723Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.799888675Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=568.492µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.803388278Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.804249776Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=861.748µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.808886024Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.810571119Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.685145ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.815034523Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.816228458Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.193385ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.819816243Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.821498078Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.679845ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.826077894Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.827966214Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.88772ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.831893736Z level=info msg="Executing migration" id="create sso_setting table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.833087821Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.196705ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.838714409Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.839565977Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=852.048µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.844783817Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.845245367Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=463.889µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.84920455Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.849326922Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=124.713µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.853563441Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.865837259Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.271347ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.870706331Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.881666301Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=10.95667ms 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.885402749Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.885722856Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=326.057µs 12:21:22 grafana | logger=migrator t=2024-04-12T12:19:40.888896242Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.724984723s 12:21:22 grafana | logger=sqlstore t=2024-04-12T12:19:40.897678837Z level=info msg="Created default admin" user=admin 12:21:22 grafana | logger=sqlstore t=2024-04-12T12:19:40.897974423Z level=info msg="Created default organization" 12:21:22 grafana | logger=secrets t=2024-04-12T12:19:40.903331485Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 12:21:22 grafana | logger=plugin.store t=2024-04-12T12:19:40.927066443Z level=info msg="Loading plugins..." 12:21:22 grafana | logger=local.finder t=2024-04-12T12:19:40.970578506Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 12:21:22 grafana | logger=plugin.store t=2024-04-12T12:19:40.970695178Z level=info msg="Plugins loaded" count=55 duration=43.634605ms 12:21:22 grafana | logger=query_data t=2024-04-12T12:19:40.973221581Z level=info msg="Query Service initialization" 12:21:22 grafana | logger=live.push_http t=2024-04-12T12:19:40.976526491Z level=info msg="Live Push Gateway initialization" 12:21:22 grafana | logger=ngalert.migration t=2024-04-12T12:19:40.984357975Z level=info msg=Starting 12:21:22 grafana | logger=ngalert.migration t=2024-04-12T12:19:40.984826595Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 12:21:22 grafana | logger=ngalert.migration orgID=1 t=2024-04-12T12:19:40.985302055Z level=info msg="Migrating alerts for organisation" 12:21:22 grafana | logger=ngalert.migration orgID=1 t=2024-04-12T12:19:40.985987959Z level=info msg="Alerts found to migrate" alerts=0 12:21:22 grafana | logger=ngalert.migration t=2024-04-12T12:19:40.987754286Z level=info msg="Completed alerting migration" 12:21:22 grafana | logger=ngalert.state.manager t=2024-04-12T12:19:41.016914304Z level=info msg="Running in alternative execution of Error/NoData mode" 12:21:22 grafana | logger=infra.usagestats.collector t=2024-04-12T12:19:41.0191193Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 12:21:22 grafana | logger=provisioning.datasources t=2024-04-12T12:19:41.02153636Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 12:21:22 grafana | logger=provisioning.alerting t=2024-04-12T12:19:41.034587279Z level=info msg="starting to provision alerting" 12:21:22 grafana | logger=provisioning.alerting t=2024-04-12T12:19:41.03463641Z level=info msg="finished to provision alerting" 12:21:22 grafana | logger=ngalert.state.manager t=2024-04-12T12:19:41.034818824Z level=info msg="Warming state cache for startup" 12:21:22 grafana | logger=ngalert.state.manager t=2024-04-12T12:19:41.035493501Z level=info msg="State cache has been initialized" states=0 duration=673.777µs 12:21:22 grafana | logger=provisioning.dashboard t=2024-04-12T12:19:41.035939153Z level=info msg="starting to provision dashboards" 12:21:22 grafana | logger=ngalert.multiorg.alertmanager t=2024-04-12T12:19:41.035941473Z level=info msg="Starting MultiOrg Alertmanager" 12:21:22 grafana | logger=ngalert.scheduler t=2024-04-12T12:19:41.036160298Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 12:21:22 grafana | logger=ticker t=2024-04-12T12:19:41.036351833Z level=info msg=starting first_tick=2024-04-12T12:19:50Z 12:21:22 grafana | logger=grafanaStorageLogger t=2024-04-12T12:19:41.03743072Z level=info msg="Storage starting" 12:21:22 grafana | logger=http.server t=2024-04-12T12:19:41.03821552Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 12:21:22 grafana | logger=grafana.update.checker t=2024-04-12T12:19:41.144747439Z level=info msg="Update check succeeded" duration=109.068263ms 12:21:22 grafana | logger=plugins.update.checker t=2024-04-12T12:19:41.147414496Z level=info msg="Update check succeeded" duration=112.596682ms 12:21:22 grafana | logger=sqlstore.transactions t=2024-04-12T12:19:41.19726334Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 12:21:22 grafana | logger=provisioning.dashboard t=2024-04-12T12:19:41.407783905Z level=info msg="finished to provision dashboards" 12:21:22 grafana | logger=grafana-apiserver t=2024-04-12T12:19:41.617344656Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 12:21:22 grafana | logger=grafana-apiserver t=2024-04-12T12:19:41.61789572Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 12:21:22 grafana | logger=infra.usagestats t=2024-04-12T12:20:55.050519125Z level=info msg="Usage stats are ready to report" 12:21:22 ++ echo 'Tearing down containers...' 12:21:22 Tearing down containers... 12:21:22 ++ docker-compose down -v --remove-orphans 12:21:23 Stopping policy-api ... 12:21:23 Stopping grafana ... 12:21:23 Stopping mariadb ... 12:21:23 Stopping prometheus ... 12:21:24 Stopping grafana ... done 12:21:24 Stopping prometheus ... done 12:21:24 Stopping mariadb ... done 12:21:33 Stopping policy-api ... done 12:21:33 Removing policy-api ... 12:21:33 Removing policy-db-migrator ... 12:21:33 Removing grafana ... 12:21:33 Removing mariadb ... 12:21:33 Removing prometheus ... 12:21:33 Removing policy-api ... done 12:21:33 Removing policy-db-migrator ... done 12:21:33 Removing prometheus ... done 12:21:33 Removing grafana ... done 12:21:33 Removing mariadb ... done 12:21:33 Removing network compose_default 12:21:34 ++ cd /w/workspace/policy-api-master-project-csit-api 12:21:34 + load_set 12:21:34 + _setopts=hxB 12:21:34 ++ echo braceexpand:hashall:interactive-comments:xtrace 12:21:34 ++ tr : ' ' 12:21:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:21:34 + set +o braceexpand 12:21:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:21:34 + set +o hashall 12:21:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:21:34 + set +o interactive-comments 12:21:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 12:21:34 + set +o xtrace 12:21:34 ++ echo hxB 12:21:34 ++ sed 's/./& /g' 12:21:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:21:34 + set +h 12:21:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 12:21:34 + set +x 12:21:34 + [[ -n /tmp/tmp.5YeOTjQDpQ ]] 12:21:34 + rsync -av /tmp/tmp.5YeOTjQDpQ/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api 12:21:34 sending incremental file list 12:21:34 ./ 12:21:34 log.html 12:21:34 output.xml 12:21:34 report.html 12:21:34 testplan.txt 12:21:34 12:21:34 sent 1,357,005 bytes received 95 bytes 2,714,200.00 bytes/sec 12:21:34 total size is 1,356,355 speedup is 1.00 12:21:34 + rm -rf /w/workspace/policy-api-master-project-csit-api/models 12:21:34 + exit 0 12:21:34 $ ssh-agent -k 12:21:34 unset SSH_AUTH_SOCK; 12:21:34 unset SSH_AGENT_PID; 12:21:34 echo Agent pid 2081 killed; 12:21:34 [ssh-agent] Stopped. 12:21:34 Robot results publisher started... 12:21:34 INFO: Checking test criticality is deprecated and will be dropped in a future release! 12:21:34 -Parsing output xml: 12:21:34 Done! 12:21:34 WARNING! Could not find file: **/log.html 12:21:34 WARNING! Could not find file: **/report.html 12:21:34 -Copying log files to build dir: 12:21:34 Done! 12:21:34 -Assigning results to build: 12:21:34 Done! 12:21:34 -Checking thresholds: 12:21:34 Done! 12:21:34 Done publishing Robot results. 12:21:34 [PostBuildScript] - [INFO] Executing post build scripts. 12:21:34 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins13787642592396315188.sh 12:21:34 ---> sysstat.sh 12:21:35 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14179504668952129560.sh 12:21:35 ---> package-listing.sh 12:21:35 ++ facter osfamily 12:21:35 ++ tr '[:upper:]' '[:lower:]' 12:21:35 + OS_FAMILY=debian 12:21:35 + workspace=/w/workspace/policy-api-master-project-csit-api 12:21:35 + START_PACKAGES=/tmp/packages_start.txt 12:21:35 + END_PACKAGES=/tmp/packages_end.txt 12:21:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:21:35 + PACKAGES=/tmp/packages_start.txt 12:21:35 + '[' /w/workspace/policy-api-master-project-csit-api ']' 12:21:35 + PACKAGES=/tmp/packages_end.txt 12:21:35 + case "${OS_FAMILY}" in 12:21:35 + dpkg -l 12:21:35 + grep '^ii' 12:21:35 + '[' -f /tmp/packages_start.txt ']' 12:21:35 + '[' -f /tmp/packages_end.txt ']' 12:21:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:21:35 + '[' /w/workspace/policy-api-master-project-csit-api ']' 12:21:35 + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ 12:21:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ 12:21:35 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14668978876140005802.sh 12:21:35 ---> capture-instance-metadata.sh 12:21:35 Setup pyenv: 12:21:35 system 12:21:35 3.8.13 12:21:35 3.9.13 12:21:35 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 12:21:35 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8LfR from file:/tmp/.os_lf_venv 12:21:37 lf-activate-venv(): INFO: Installing: lftools 12:21:46 lf-activate-venv(): INFO: Adding /tmp/venv-8LfR/bin to PATH 12:21:46 INFO: Running in OpenStack, capturing instance metadata 12:21:47 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15478342747973760082.sh 12:21:47 provisioning config files... 12:21:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config4041526688814409041tmp 12:21:47 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 12:21:47 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 12:21:47 [EnvInject] - Injecting environment variables from a build step. 12:21:47 [EnvInject] - Injecting as environment variables the properties content 12:21:47 SERVER_ID=logs 12:21:47 12:21:47 [EnvInject] - Variables injected successfully. 12:21:47 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6719900001881797355.sh 12:21:47 ---> create-netrc.sh 12:21:47 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14093845350173034025.sh 12:21:47 ---> python-tools-install.sh 12:21:47 Setup pyenv: 12:21:47 system 12:21:47 3.8.13 12:21:47 3.9.13 12:21:47 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 12:21:47 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8LfR from file:/tmp/.os_lf_venv 12:21:48 lf-activate-venv(): INFO: Installing: lftools 12:21:56 lf-activate-venv(): INFO: Adding /tmp/venv-8LfR/bin to PATH 12:21:56 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins1666303625588486330.sh 12:21:56 ---> sudo-logs.sh 12:21:56 Archiving 'sudo' log.. 12:21:56 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2176424042505248150.sh 12:21:56 ---> job-cost.sh 12:21:56 Setup pyenv: 12:21:57 system 12:21:57 3.8.13 12:21:57 3.9.13 12:21:57 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 12:21:57 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8LfR from file:/tmp/.os_lf_venv 12:21:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 12:22:03 lf-activate-venv(): INFO: Adding /tmp/venv-8LfR/bin to PATH 12:22:03 INFO: No Stack... 12:22:03 INFO: Retrieving Pricing Info for: v3-standard-8 12:22:03 INFO: Archiving Costs 12:22:03 [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins17769004331615503953.sh 12:22:03 ---> logs-deploy.sh 12:22:03 Setup pyenv: 12:22:04 system 12:22:04 3.8.13 12:22:04 3.9.13 12:22:04 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 12:22:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8LfR from file:/tmp/.os_lf_venv 12:22:05 lf-activate-venv(): INFO: Installing: lftools 12:22:13 lf-activate-venv(): INFO: Adding /tmp/venv-8LfR/bin to PATH 12:22:13 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1598 12:22:13 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 12:22:14 Archives upload complete. 12:22:15 INFO: archiving logs to Nexus 12:22:15 ---> uname -a: 12:22:15 Linux prd-ubuntu1804-docker-8c-8g-22701 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 12:22:15 12:22:15 12:22:15 ---> lscpu: 12:22:15 Architecture: x86_64 12:22:15 CPU op-mode(s): 32-bit, 64-bit 12:22:15 Byte Order: Little Endian 12:22:15 CPU(s): 8 12:22:15 On-line CPU(s) list: 0-7 12:22:15 Thread(s) per core: 1 12:22:15 Core(s) per socket: 1 12:22:15 Socket(s): 8 12:22:15 NUMA node(s): 1 12:22:15 Vendor ID: AuthenticAMD 12:22:15 CPU family: 23 12:22:15 Model: 49 12:22:15 Model name: AMD EPYC-Rome Processor 12:22:15 Stepping: 0 12:22:15 CPU MHz: 2800.000 12:22:15 BogoMIPS: 5600.00 12:22:15 Virtualization: AMD-V 12:22:15 Hypervisor vendor: KVM 12:22:15 Virtualization type: full 12:22:15 L1d cache: 32K 12:22:15 L1i cache: 32K 12:22:15 L2 cache: 512K 12:22:15 L3 cache: 16384K 12:22:15 NUMA node0 CPU(s): 0-7 12:22:15 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 12:22:15 12:22:15 12:22:15 ---> nproc: 12:22:15 8 12:22:15 12:22:15 12:22:15 ---> df -h: 12:22:15 Filesystem Size Used Avail Use% Mounted on 12:22:15 udev 16G 0 16G 0% /dev 12:22:15 tmpfs 3.2G 708K 3.2G 1% /run 12:22:15 /dev/vda1 155G 12G 144G 8% / 12:22:15 tmpfs 16G 0 16G 0% /dev/shm 12:22:15 tmpfs 5.0M 0 5.0M 0% /run/lock 12:22:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 12:22:15 /dev/vda15 105M 4.4M 100M 5% /boot/efi 12:22:15 tmpfs 3.2G 0 3.2G 0% /run/user/1001 12:22:15 12:22:15 12:22:15 ---> free -m: 12:22:15 total used free shared buff/cache available 12:22:15 Mem: 32167 845 27340 0 3981 30865 12:22:15 Swap: 1023 0 1023 12:22:15 12:22:15 12:22:15 ---> ip addr: 12:22:15 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 12:22:15 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 12:22:15 inet 127.0.0.1/8 scope host lo 12:22:15 valid_lft forever preferred_lft forever 12:22:15 inet6 ::1/128 scope host 12:22:15 valid_lft forever preferred_lft forever 12:22:15 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 12:22:15 link/ether fa:16:3e:ca:ea:9d brd ff:ff:ff:ff:ff:ff 12:22:15 inet 10.30.107.3/23 brd 10.30.107.255 scope global dynamic ens3 12:22:15 valid_lft 86056sec preferred_lft 86056sec 12:22:15 inet6 fe80::f816:3eff:feca:ea9d/64 scope link 12:22:15 valid_lft forever preferred_lft forever 12:22:15 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 12:22:15 link/ether 02:42:96:a1:3a:d4 brd ff:ff:ff:ff:ff:ff 12:22:15 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 12:22:15 valid_lft forever preferred_lft forever 12:22:15 12:22:15 12:22:15 ---> sar -b -r -n DEV: 12:22:15 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-22701) 04/12/24 _x86_64_ (8 CPU) 12:22:15 12:22:15 12:16:33 LINUX RESTART (8 CPU) 12:22:15 12:22:15 12:17:01 tps rtps wtps bread/s bwrtn/s 12:22:15 12:18:01 145.32 70.93 74.39 4596.73 31383.41 12:22:15 12:19:01 135.61 23.51 112.10 2740.88 36470.19 12:22:15 12:20:01 393.72 12.18 381.54 832.93 86103.75 12:22:15 12:21:01 19.75 0.48 19.26 22.93 23749.01 12:22:15 12:22:01 64.47 1.38 63.09 124.78 26839.86 12:22:15 Average: 151.77 21.70 130.07 1663.75 40908.92 12:22:15 12:22:15 12:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:22:15 12:18:01 30131380 31682432 2807840 8.52 67376 1795876 1436288 4.23 886504 1631480 133792 12:22:15 12:19:01 29538788 31693404 3400432 10.32 93132 2348824 1333448 3.92 925716 2132020 328968 12:22:15 12:20:01 27370420 31018812 5568800 16.91 128852 3741952 3777084 11.11 1722912 3389636 276 12:22:15 12:21:01 26684476 30334764 6254744 18.99 128992 3743368 4520596 13.30 2410976 3386288 64 12:22:15 12:22:01 27998008 31606312 4941212 15.00 130684 3710380 1474040 4.34 1175516 3337176 760 12:22:15 Average: 28344614 31267145 4594606 13.95 109807 3068080 2508291 7.38 1424325 2775320 92772 12:22:15 12:22:15 12:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:22:15 12:18:01 lo 1.87 1.87 0.21 0.21 0.00 0.00 0.00 0.00 12:22:15 12:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:15 12:18:01 ens3 392.09 267.21 1465.98 61.48 0.00 0.00 0.00 0.00 12:22:15 12:19:01 lo 5.20 5.20 0.50 0.50 0.00 0.00 0.00 0.00 12:22:15 12:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:15 12:19:01 ens3 137.23 97.27 2952.15 18.62 0.00 0.00 0.00 0.00 12:22:15 12:19:01 br-85c086564c8e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:15 12:20:01 lo 5.10 5.10 0.45 0.45 0.00 0.00 0.00 0.00 12:22:15 12:20:01 vethae00f25 16.96 16.33 8.93 8.75 0.00 0.00 0.00 0.00 12:22:15 12:20:01 vetha021d9d 0.43 0.62 0.05 0.30 0.00 0.00 0.00 0.00 12:22:15 12:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:15 12:21:01 lo 10.10 10.10 8.51 8.51 0.00 0.00 0.00 0.00 12:22:15 12:21:01 vethae00f25 96.98 78.22 28.54 104.36 0.00 0.00 0.00 0.01 12:22:15 12:21:01 vetha021d9d 0.17 0.22 0.01 0.01 0.00 0.00 0.00 0.00 12:22:15 12:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:15 12:22:01 lo 7.10 7.10 0.61 0.61 0.00 0.00 0.00 0.00 12:22:15 12:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:15 12:22:01 ens3 809.60 553.06 11383.16 117.43 0.00 0.00 0.00 0.00 12:22:15 Average: lo 5.87 5.87 2.05 2.05 0.00 0.00 0.00 0.00 12:22:15 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:15 Average: ens3 159.71 108.74 2262.88 23.24 0.00 0.00 0.00 0.00 12:22:15 12:22:15 12:22:15 ---> sar -P ALL: 12:22:15 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-22701) 04/12/24 _x86_64_ (8 CPU) 12:22:15 12:22:15 12:16:33 LINUX RESTART (8 CPU) 12:22:15 12:22:15 12:17:01 CPU %user %nice %system %iowait %steal %idle 12:22:15 12:18:01 all 11.41 0.00 1.02 3.06 0.04 84.46 12:22:15 12:18:01 0 4.79 0.00 0.72 2.06 0.05 92.38 12:22:15 12:18:01 1 11.54 0.00 1.22 3.09 0.03 84.12 12:22:15 12:18:01 2 32.25 0.00 1.93 3.16 0.05 62.61 12:22:15 12:18:01 3 15.75 0.00 1.20 0.53 0.03 82.48 12:22:15 12:18:01 4 9.61 0.00 0.90 0.15 0.05 89.29 12:22:15 12:18:01 5 5.06 0.00 0.57 0.52 0.05 93.81 12:22:15 12:18:01 6 7.84 0.00 0.53 1.05 0.02 90.56 12:22:15 12:18:01 7 4.51 0.00 1.08 13.89 0.05 80.47 12:22:15 12:19:01 all 10.48 0.00 0.97 2.29 0.03 86.23 12:22:15 12:19:01 0 10.32 0.00 1.32 0.89 0.03 87.44 12:22:15 12:19:01 1 5.96 0.00 1.04 9.37 0.03 83.60 12:22:15 12:19:01 2 7.33 0.00 0.83 1.80 0.03 90.00 12:22:15 12:19:01 3 17.41 0.00 1.00 0.27 0.03 81.28 12:22:15 12:19:01 4 8.71 0.00 0.83 0.17 0.02 90.27 12:22:15 12:19:01 5 9.35 0.00 0.94 0.62 0.02 89.08 12:22:15 12:19:01 6 2.00 0.00 0.45 0.52 0.02 97.01 12:22:15 12:19:01 7 22.74 0.00 1.39 4.71 0.05 71.11 12:22:15 12:20:01 all 14.03 0.00 3.65 6.95 0.08 75.29 12:22:15 12:20:01 0 11.07 0.00 3.45 0.39 0.08 85.00 12:22:15 12:20:01 1 15.02 0.00 3.39 16.97 0.08 64.53 12:22:15 12:20:01 2 12.76 0.00 3.27 0.57 0.07 83.34 12:22:15 12:20:01 3 12.46 0.00 3.66 29.00 0.10 54.78 12:22:15 12:20:01 4 16.93 0.00 3.97 1.31 0.08 77.71 12:22:15 12:20:01 5 14.43 0.00 3.37 1.44 0.08 80.67 12:22:15 12:20:01 6 14.61 0.00 4.44 1.55 0.07 79.34 12:22:15 12:20:01 7 14.97 0.00 3.64 4.51 0.08 76.80 12:22:15 12:21:01 all 7.00 0.00 0.55 1.35 0.03 91.06 12:22:15 12:21:01 0 7.74 0.00 0.62 0.02 0.03 91.59 12:22:15 12:21:01 1 11.58 0.00 0.84 0.02 0.07 87.51 12:22:15 12:21:01 2 8.36 0.00 0.73 0.03 0.05 90.83 12:22:15 12:21:01 3 8.95 0.00 0.65 10.17 0.03 80.19 12:22:15 12:21:01 4 3.99 0.00 0.25 0.37 0.02 95.38 12:22:15 12:21:01 5 3.80 0.00 0.37 0.03 0.02 95.78 12:22:15 12:21:01 6 6.85 0.00 0.62 0.22 0.02 92.30 12:22:15 12:21:01 7 4.72 0.00 0.30 0.00 0.02 94.96 12:22:15 12:22:01 all 5.95 0.00 0.57 1.76 0.03 91.69 12:22:15 12:22:01 0 3.19 0.00 0.40 0.02 0.03 96.36 12:22:15 12:22:01 1 4.53 0.00 0.60 0.73 0.05 94.08 12:22:15 12:22:01 2 0.94 0.00 0.38 4.45 0.05 94.18 12:22:15 12:22:01 3 0.70 0.00 0.40 5.59 0.02 93.29 12:22:15 12:22:01 4 29.36 0.00 1.12 0.50 0.05 68.98 12:22:15 12:22:01 5 0.80 0.00 0.42 0.23 0.02 98.53 12:22:15 12:22:01 6 1.87 0.00 0.60 2.40 0.03 95.09 12:22:15 12:22:01 7 6.16 0.00 0.67 0.18 0.02 92.97 12:22:15 Average: all 9.77 0.00 1.35 3.08 0.04 85.76 12:22:15 Average: 0 7.41 0.00 1.30 0.68 0.05 90.57 12:22:15 Average: 1 9.72 0.00 1.41 6.02 0.05 82.79 12:22:15 Average: 2 12.32 0.00 1.43 2.00 0.05 84.20 12:22:15 Average: 3 11.05 0.00 1.38 9.06 0.04 78.47 12:22:15 Average: 4 13.72 0.00 1.41 0.50 0.04 84.33 12:22:15 Average: 5 6.69 0.00 1.13 0.57 0.04 91.58 12:22:15 Average: 6 6.62 0.00 1.32 1.15 0.03 90.88 12:22:15 Average: 7 10.61 0.00 1.41 4.66 0.04 83.28 12:22:15 12:22:15 12:22:15