18:11:58 Started by timer 18:11:58 Running as SYSTEM 18:11:58 [EnvInject] - Loading node environment variables. 18:11:58 Building remotely on prd-ubuntu1804-docker-8c-8g-79772 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:11:58 [ssh-agent] Looking for ssh-agent implementation... 18:11:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:58 $ ssh-agent 18:11:58 SSH_AUTH_SOCK=/tmp/ssh-zzHDkaTpX0vx/agent.2098 18:11:58 SSH_AGENT_PID=2100 18:11:58 [ssh-agent] Started. 18:11:58 Running ssh-add (command line suppressed) 18:11:58 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_14926671554945685523.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_14926671554945685523.key) 18:11:58 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:11:58 The recommended git tool is: NONE 18:12:00 using credential onap-jenkins-ssh 18:12:00 Wiping out workspace first. 18:12:00 Cloning the remote Git repository 18:12:00 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:12:00 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:12:00 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:12:00 > git --version # timeout=10 18:12:00 > git --version # 'git version 2.17.1' 18:12:00 using GIT_SSH to set credentials Gerrit user 18:12:00 Verifying host key using manually-configured host key entries 18:12:00 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:12:00 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:12:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:01 Avoid second fetch 18:12:01 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:12:01 Checking out Revision 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 (refs/remotes/origin/montreal) 18:12:01 > git config core.sparsecheckout # timeout=10 18:12:01 > git checkout -f 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 # timeout=30 18:12:01 Commit message: "Fix timeout in pap CSIT for auditing undeploys" 18:12:01 > git rev-list --no-walk 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 # timeout=10 18:12:04 provisioning config files... 18:12:04 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:12:04 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:12:05 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10535960308256893422.sh 18:12:05 ---> python-tools-install.sh 18:12:05 Setup pyenv: 18:12:05 * system (set by /opt/pyenv/version) 18:12:05 * 3.8.13 (set by /opt/pyenv/version) 18:12:05 * 3.9.13 (set by /opt/pyenv/version) 18:12:05 * 3.10.6 (set by /opt/pyenv/version) 18:12:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c5Kp 18:12:09 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:12 lf-activate-venv(): INFO: Installing: lftools 18:12:39 lf-activate-venv(): INFO: Adding /tmp/venv-c5Kp/bin to PATH 18:12:39 Generating Requirements File 18:12:58 Python 3.10.6 18:12:59 pip 24.2 from /tmp/venv-c5Kp/lib/python3.10/site-packages/pip (python 3.10) 18:12:59 appdirs==1.4.4 18:12:59 argcomplete==3.5.1 18:12:59 aspy.yaml==1.3.0 18:12:59 attrs==24.2.0 18:12:59 autopage==0.5.2 18:12:59 beautifulsoup4==4.12.3 18:12:59 boto3==1.35.49 18:12:59 botocore==1.35.49 18:12:59 bs4==0.0.2 18:12:59 cachetools==5.5.0 18:12:59 certifi==2024.8.30 18:12:59 cffi==1.17.1 18:12:59 cfgv==3.4.0 18:12:59 chardet==5.2.0 18:12:59 charset-normalizer==3.4.0 18:12:59 click==8.1.7 18:12:59 cliff==4.7.0 18:12:59 cmd2==2.5.0 18:12:59 cryptography==3.3.2 18:12:59 debtcollector==3.0.0 18:12:59 decorator==5.1.1 18:12:59 defusedxml==0.7.1 18:12:59 Deprecated==1.2.14 18:12:59 distlib==0.3.9 18:12:59 dnspython==2.7.0 18:12:59 docker==4.2.2 18:12:59 dogpile.cache==1.3.3 18:12:59 durationpy==0.9 18:12:59 email_validator==2.2.0 18:12:59 filelock==3.16.1 18:12:59 future==1.0.0 18:12:59 gitdb==4.0.11 18:12:59 GitPython==3.1.43 18:12:59 google-auth==2.35.0 18:12:59 httplib2==0.22.0 18:12:59 identify==2.6.1 18:12:59 idna==3.10 18:12:59 importlib-resources==1.5.0 18:12:59 iso8601==2.1.0 18:12:59 Jinja2==3.1.4 18:12:59 jmespath==1.0.1 18:12:59 jsonpatch==1.33 18:12:59 jsonpointer==3.0.0 18:12:59 jsonschema==4.23.0 18:12:59 jsonschema-specifications==2024.10.1 18:12:59 keystoneauth1==5.8.0 18:12:59 kubernetes==31.0.0 18:12:59 lftools==0.37.10 18:12:59 lxml==5.3.0 18:12:59 MarkupSafe==3.0.2 18:12:59 msgpack==1.1.0 18:12:59 multi_key_dict==2.0.3 18:12:59 munch==4.0.0 18:12:59 netaddr==1.3.0 18:12:59 netifaces==0.11.0 18:12:59 niet==1.4.2 18:12:59 nodeenv==1.9.1 18:12:59 oauth2client==4.1.3 18:12:59 oauthlib==3.2.2 18:12:59 openstacksdk==4.1.0 18:12:59 os-client-config==2.1.0 18:12:59 os-service-types==1.7.0 18:12:59 osc-lib==3.1.0 18:12:59 oslo.config==9.6.0 18:12:59 oslo.context==5.6.0 18:12:59 oslo.i18n==6.4.0 18:12:59 oslo.log==6.1.2 18:12:59 oslo.serialization==5.5.0 18:12:59 oslo.utils==7.3.0 18:12:59 packaging==24.1 18:12:59 pbr==6.1.0 18:12:59 platformdirs==4.3.6 18:12:59 prettytable==3.11.0 18:12:59 pyasn1==0.6.1 18:12:59 pyasn1_modules==0.4.1 18:12:59 pycparser==2.22 18:12:59 pygerrit2==2.0.15 18:12:59 PyGithub==2.4.0 18:12:59 PyJWT==2.9.0 18:12:59 PyNaCl==1.5.0 18:12:59 pyparsing==2.4.7 18:12:59 pyperclip==1.9.0 18:12:59 pyrsistent==0.20.0 18:12:59 python-cinderclient==9.6.0 18:12:59 python-dateutil==2.9.0.post0 18:12:59 python-heatclient==4.0.0 18:12:59 python-jenkins==1.8.2 18:12:59 python-keystoneclient==5.5.0 18:12:59 python-magnumclient==4.7.0 18:12:59 python-openstackclient==7.2.0 18:12:59 python-swiftclient==4.6.0 18:12:59 PyYAML==6.0.2 18:12:59 referencing==0.35.1 18:12:59 requests==2.32.3 18:12:59 requests-oauthlib==2.0.0 18:12:59 requestsexceptions==1.4.0 18:12:59 rfc3986==2.0.0 18:12:59 rpds-py==0.20.0 18:12:59 rsa==4.9 18:12:59 ruamel.yaml==0.18.6 18:12:59 ruamel.yaml.clib==0.2.12 18:12:59 s3transfer==0.10.3 18:12:59 simplejson==3.19.3 18:12:59 six==1.16.0 18:12:59 smmap==5.0.1 18:12:59 soupsieve==2.6 18:12:59 stevedore==5.3.0 18:12:59 tabulate==0.9.0 18:12:59 toml==0.10.2 18:12:59 tomlkit==0.13.2 18:12:59 tqdm==4.66.5 18:12:59 typing_extensions==4.12.2 18:12:59 tzdata==2024.2 18:12:59 urllib3==1.26.20 18:12:59 virtualenv==20.27.0 18:12:59 wcwidth==0.2.13 18:12:59 websocket-client==1.8.0 18:12:59 wrapt==1.16.0 18:12:59 xdg==6.0.0 18:12:59 xmltodict==0.14.2 18:12:59 yq==3.4.3 18:12:59 [EnvInject] - Injecting environment variables from a build step. 18:12:59 [EnvInject] - Injecting as environment variables the properties content 18:12:59 SET_JDK_VERSION=openjdk17 18:12:59 GIT_URL="git://cloud.onap.org/mirror" 18:12:59 18:12:59 [EnvInject] - Variables injected successfully. 18:12:59 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins613511097247372555.sh 18:12:59 ---> update-java-alternatives.sh 18:12:59 ---> Updating Java version 18:12:59 ---> Ubuntu/Debian system detected 18:12:59 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:12:59 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:12:59 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 18:13:00 openjdk version "17.0.4" 2022-07-19 18:13:00 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:00 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:00 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:00 [EnvInject] - Injecting environment variables from a build step. 18:13:00 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:00 [EnvInject] - Variables injected successfully. 18:13:00 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins2626920165715271293.sh 18:13:00 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:00 + set +u 18:13:00 + save_set 18:13:00 + RUN_CSIT_SAVE_SET=ehxB 18:13:00 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:00 + '[' 1 -eq 0 ']' 18:13:00 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:00 + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:00 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:00 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:00 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:00 + export ROBOT_VARIABLES= 18:13:00 + ROBOT_VARIABLES= 18:13:00 + export PROJECT=api 18:13:00 + PROJECT=api 18:13:00 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:00 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:00 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:00 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:00 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:00 + relax_set 18:13:00 + set +e 18:13:00 + set +o pipefail 18:13:00 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:00 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:00 +++ mktemp -d 18:13:00 ++ ROBOT_VENV=/tmp/tmp.Q9rR751cXJ 18:13:00 ++ echo ROBOT_VENV=/tmp/tmp.Q9rR751cXJ 18:13:00 +++ python3 --version 18:13:00 ++ echo 'Python version is: Python 3.6.9' 18:13:00 Python version is: Python 3.6.9 18:13:00 ++ python3 -m venv --clear /tmp/tmp.Q9rR751cXJ 18:13:01 ++ source /tmp/tmp.Q9rR751cXJ/bin/activate 18:13:01 +++ deactivate nondestructive 18:13:01 +++ '[' -n '' ']' 18:13:01 +++ '[' -n '' ']' 18:13:01 +++ '[' -n /bin/bash -o -n '' ']' 18:13:01 +++ hash -r 18:13:01 +++ '[' -n '' ']' 18:13:01 +++ unset VIRTUAL_ENV 18:13:01 +++ '[' '!' nondestructive = nondestructive ']' 18:13:01 +++ VIRTUAL_ENV=/tmp/tmp.Q9rR751cXJ 18:13:01 +++ export VIRTUAL_ENV 18:13:01 +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:01 +++ PATH=/tmp/tmp.Q9rR751cXJ/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:01 +++ export PATH 18:13:01 +++ '[' -n '' ']' 18:13:01 +++ '[' -z '' ']' 18:13:01 +++ _OLD_VIRTUAL_PS1= 18:13:01 +++ '[' 'x(tmp.Q9rR751cXJ) ' '!=' x ']' 18:13:01 +++ PS1='(tmp.Q9rR751cXJ) ' 18:13:01 +++ export PS1 18:13:01 +++ '[' -n /bin/bash -o -n '' ']' 18:13:01 +++ hash -r 18:13:01 ++ set -exu 18:13:01 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:04 ++ echo 'Installing Python Requirements' 18:13:04 Installing Python Requirements 18:13:04 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:25 ++ python3 -m pip -qq freeze 18:13:25 bcrypt==4.0.1 18:13:25 beautifulsoup4==4.12.3 18:13:25 bitarray==3.0.0 18:13:25 certifi==2024.8.30 18:13:25 cffi==1.15.1 18:13:25 charset-normalizer==2.0.12 18:13:25 cryptography==40.0.2 18:13:25 decorator==5.1.1 18:13:25 elasticsearch==7.17.9 18:13:25 elasticsearch-dsl==7.4.1 18:13:25 enum34==1.1.10 18:13:25 idna==3.10 18:13:25 importlib-resources==5.4.0 18:13:25 ipaddr==2.2.0 18:13:25 isodate==0.6.1 18:13:25 jmespath==0.10.0 18:13:25 jsonpatch==1.32 18:13:25 jsonpath-rw==1.4.0 18:13:25 jsonpointer==2.3 18:13:25 lxml==5.3.0 18:13:25 netaddr==0.8.0 18:13:25 netifaces==0.11.0 18:13:25 odltools==0.1.28 18:13:25 paramiko==3.5.0 18:13:25 pkg_resources==0.0.0 18:13:25 ply==3.11 18:13:25 pyang==2.6.1 18:13:25 pyangbind==0.8.1 18:13:25 pycparser==2.21 18:13:25 pyhocon==0.3.60 18:13:25 PyNaCl==1.5.0 18:13:25 pyparsing==3.1.4 18:13:25 python-dateutil==2.9.0.post0 18:13:25 regex==2023.8.8 18:13:25 requests==2.27.1 18:13:25 robotframework==6.1.1 18:13:25 robotframework-httplibrary==0.4.2 18:13:25 robotframework-pythonlibcore==3.0.0 18:13:25 robotframework-requests==0.9.4 18:13:25 robotframework-selenium2library==3.0.0 18:13:25 robotframework-seleniumlibrary==5.1.3 18:13:25 robotframework-sshlibrary==3.8.0 18:13:25 scapy==2.5.0 18:13:25 scp==0.15.0 18:13:25 selenium==3.141.0 18:13:25 six==1.16.0 18:13:25 soupsieve==2.3.2.post1 18:13:25 urllib3==1.26.20 18:13:25 waitress==2.0.0 18:13:25 WebOb==1.8.9 18:13:25 WebTest==3.0.0 18:13:25 zipp==3.6.0 18:13:26 ++ mkdir -p /tmp/tmp.Q9rR751cXJ/src/onap 18:13:26 ++ rm -rf /tmp/tmp.Q9rR751cXJ/src/onap/testsuite 18:13:26 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 18:13:31 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:31 Uninstall docker-py and reinstall docker. 18:13:31 ++ python3 -m pip uninstall -y -qq docker 18:13:32 ++ python3 -m pip install -U -qq docker 18:13:33 ++ python3 -m pip -qq freeze 18:13:33 bcrypt==4.0.1 18:13:33 beautifulsoup4==4.12.3 18:13:33 bitarray==3.0.0 18:13:33 certifi==2024.8.30 18:13:33 cffi==1.15.1 18:13:33 charset-normalizer==2.0.12 18:13:33 cryptography==40.0.2 18:13:33 decorator==5.1.1 18:13:33 deepdiff==5.7.0 18:13:33 dnspython==2.2.1 18:13:33 docker==5.0.3 18:13:33 elasticsearch==7.17.9 18:13:33 elasticsearch-dsl==7.4.1 18:13:33 enum34==1.1.10 18:13:33 future==1.0.0 18:13:33 idna==3.10 18:13:33 importlib-resources==5.4.0 18:13:33 ipaddr==2.2.0 18:13:33 isodate==0.6.1 18:13:33 Jinja2==3.0.3 18:13:33 jmespath==0.10.0 18:13:33 jsonpatch==1.32 18:13:33 jsonpath-rw==1.4.0 18:13:33 jsonpointer==2.3 18:13:33 kafka-python==2.0.2 18:13:33 lxml==5.3.0 18:13:33 MarkupSafe==2.0.1 18:13:33 more-itertools==5.0.0 18:13:33 netaddr==0.8.0 18:13:33 netifaces==0.11.0 18:13:33 odltools==0.1.28 18:13:33 ordered-set==4.0.2 18:13:33 paramiko==3.5.0 18:13:33 pbr==6.1.0 18:13:33 pkg_resources==0.0.0 18:13:33 ply==3.11 18:13:33 protobuf==3.19.6 18:13:33 pyang==2.6.1 18:13:33 pyangbind==0.8.1 18:13:33 pycparser==2.21 18:13:33 pyhocon==0.3.60 18:13:33 PyNaCl==1.5.0 18:13:33 pyparsing==3.1.4 18:13:33 python-dateutil==2.9.0.post0 18:13:33 PyYAML==6.0.1 18:13:33 regex==2023.8.8 18:13:33 requests==2.27.1 18:13:33 robotframework==6.1.1 18:13:33 robotframework-httplibrary==0.4.2 18:13:33 robotframework-onap==0.6.0.dev105 18:13:33 robotframework-pythonlibcore==3.0.0 18:13:33 robotframework-requests==0.9.4 18:13:33 robotframework-selenium2library==3.0.0 18:13:33 robotframework-seleniumlibrary==5.1.3 18:13:33 robotframework-sshlibrary==3.8.0 18:13:33 robotlibcore-temp==1.0.2 18:13:33 scapy==2.5.0 18:13:33 scp==0.15.0 18:13:33 selenium==3.141.0 18:13:33 six==1.16.0 18:13:33 soupsieve==2.3.2.post1 18:13:33 urllib3==1.26.20 18:13:33 waitress==2.0.0 18:13:33 WebOb==1.8.9 18:13:33 websocket-client==1.3.1 18:13:33 WebTest==3.0.0 18:13:33 zipp==3.6.0 18:13:33 ++ uname 18:13:33 ++ grep -q Linux 18:13:33 ++ sudo apt-get -y -qq install libxml2-utils 18:13:34 + load_set 18:13:34 + _setopts=ehuxB 18:13:34 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:34 ++ tr : ' ' 18:13:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:34 + set +o braceexpand 18:13:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:34 + set +o hashall 18:13:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:34 + set +o interactive-comments 18:13:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:34 + set +o nounset 18:13:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:34 + set +o xtrace 18:13:34 ++ echo ehuxB 18:13:34 ++ sed 's/./& /g' 18:13:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:34 + set +e 18:13:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:34 + set +h 18:13:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:34 + set +u 18:13:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:34 + set +x 18:13:34 + source_safely /tmp/tmp.Q9rR751cXJ/bin/activate 18:13:34 + '[' -z /tmp/tmp.Q9rR751cXJ/bin/activate ']' 18:13:34 + relax_set 18:13:34 + set +e 18:13:34 + set +o pipefail 18:13:34 + . /tmp/tmp.Q9rR751cXJ/bin/activate 18:13:34 ++ deactivate nondestructive 18:13:34 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ']' 18:13:34 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:34 ++ export PATH 18:13:34 ++ unset _OLD_VIRTUAL_PATH 18:13:34 ++ '[' -n '' ']' 18:13:34 ++ '[' -n /bin/bash -o -n '' ']' 18:13:34 ++ hash -r 18:13:34 ++ '[' -n '' ']' 18:13:34 ++ unset VIRTUAL_ENV 18:13:34 ++ '[' '!' nondestructive = nondestructive ']' 18:13:34 ++ VIRTUAL_ENV=/tmp/tmp.Q9rR751cXJ 18:13:34 ++ export VIRTUAL_ENV 18:13:34 ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:34 ++ PATH=/tmp/tmp.Q9rR751cXJ/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:34 ++ export PATH 18:13:34 ++ '[' -n '' ']' 18:13:34 ++ '[' -z '' ']' 18:13:34 ++ _OLD_VIRTUAL_PS1='(tmp.Q9rR751cXJ) ' 18:13:34 ++ '[' 'x(tmp.Q9rR751cXJ) ' '!=' x ']' 18:13:34 ++ PS1='(tmp.Q9rR751cXJ) (tmp.Q9rR751cXJ) ' 18:13:34 ++ export PS1 18:13:34 ++ '[' -n /bin/bash -o -n '' ']' 18:13:34 ++ hash -r 18:13:34 + load_set 18:13:34 + _setopts=hxB 18:13:34 ++ tr : ' ' 18:13:34 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:34 + set +o braceexpand 18:13:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:34 + set +o hashall 18:13:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:34 + set +o interactive-comments 18:13:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:34 + set +o xtrace 18:13:34 ++ echo hxB 18:13:34 ++ sed 's/./& /g' 18:13:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:34 + set +h 18:13:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:34 + set +x 18:13:34 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:34 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:34 + export TEST_OPTIONS= 18:13:34 + TEST_OPTIONS= 18:13:34 ++ mktemp -d 18:13:34 + WORKDIR=/tmp/tmp.WSAaf7oaAS 18:13:34 + cd /tmp/tmp.WSAaf7oaAS 18:13:34 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:34 Configure a credential helper to remove this warning. See 18:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:34 18:13:34 Login Succeeded 18:13:34 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:34 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:34 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:34 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:34 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:34 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:34 + relax_set 18:13:34 + set +e 18:13:34 + set +o pipefail 18:13:34 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:34 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:34 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:34 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:34 +++ GERRIT_BRANCH=montreal 18:13:34 +++ echo GERRIT_BRANCH=montreal 18:13:34 GERRIT_BRANCH=montreal 18:13:34 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:34 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:34 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:34 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:35 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:35 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:35 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:35 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:35 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:35 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:35 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:35 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:35 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:35 +++ grafana=false 18:13:35 +++ gui=false 18:13:35 +++ [[ 2 -gt 0 ]] 18:13:35 +++ key=api 18:13:35 +++ case $key in 18:13:35 +++ echo api 18:13:35 api 18:13:35 +++ component=api 18:13:35 +++ shift 18:13:35 +++ [[ 1 -gt 0 ]] 18:13:35 +++ key=--grafana 18:13:35 +++ case $key in 18:13:35 +++ grafana=true 18:13:35 +++ shift 18:13:35 +++ [[ 0 -gt 0 ]] 18:13:35 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:35 +++ echo 'Configuring docker compose...' 18:13:35 Configuring docker compose... 18:13:35 +++ source export-ports.sh 18:13:35 +++ source get-versions.sh 18:13:37 +++ '[' -z api ']' 18:13:37 +++ '[' -n api ']' 18:13:37 +++ '[' api == logs ']' 18:13:37 +++ '[' true = true ']' 18:13:37 +++ echo 'Starting api application with Grafana' 18:13:37 Starting api application with Grafana 18:13:37 +++ docker-compose up -d api grafana 18:13:38 Creating network "compose_default" with the default driver 18:13:38 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:13:39 10.10.2: Pulling from mariadb 18:13:43 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:13:43 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:13:43 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:13:44 3.0.2: Pulling from onap/policy-db-migrator 18:13:48 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:13:48 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:13:48 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:13:48 3.0.2: Pulling from onap/policy-api 18:13:50 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:13:50 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:13:50 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:13:50 latest: Pulling from prom/prometheus 18:13:53 Digest: sha256:378f4e03703557d1c6419e6caccf922f96e6d88a530f7431d66a4c4f4b1000fe 18:13:53 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:13:53 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:13:54 latest: Pulling from grafana/grafana 18:13:59 Digest: sha256:a0f881232a6fb71a0554a47d0fe2203b6888fe77f4cefb7ea62bed7eb54e13c3 18:13:59 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:13:59 Creating prometheus ... 18:13:59 Creating mariadb ... 18:14:07 Creating prometheus ... done 18:14:07 Creating grafana ... 18:14:08 Creating grafana ... done 18:14:09 Creating mariadb ... done 18:14:09 Creating policy-db-migrator ... 18:14:10 Creating policy-db-migrator ... done 18:14:10 Creating policy-api ... 18:14:11 Creating policy-api ... done 18:14:11 +++ echo 'Prometheus server: http://localhost:30259' 18:14:11 Prometheus server: http://localhost:30259 18:14:11 +++ echo 'Grafana server: http://localhost:30269' 18:14:11 Grafana server: http://localhost:30269 18:14:11 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:11 ++ sleep 10 18:14:21 ++ unset http_proxy https_proxy 18:14:21 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:21 Waiting for REST to come up on localhost port 30002... 18:14:21 NAMES STATUS 18:14:21 policy-api Up 10 seconds 18:14:21 policy-db-migrator Up 11 seconds 18:14:21 grafana Up 13 seconds 18:14:21 mariadb Up 12 seconds 18:14:21 prometheus Up 14 seconds 18:14:26 NAMES STATUS 18:14:26 policy-api Up 15 seconds 18:14:26 grafana Up 18 seconds 18:14:26 mariadb Up 17 seconds 18:14:26 prometheus Up 19 seconds 18:14:31 NAMES STATUS 18:14:31 policy-api Up 20 seconds 18:14:31 grafana Up 23 seconds 18:14:31 mariadb Up 22 seconds 18:14:31 prometheus Up 24 seconds 18:14:37 NAMES STATUS 18:14:37 policy-api Up 25 seconds 18:14:37 grafana Up 28 seconds 18:14:37 mariadb Up 27 seconds 18:14:37 prometheus Up 29 seconds 18:14:37 ++ export 'SUITES=api-test.robot 18:14:37 api-slas.robot' 18:14:37 ++ SUITES='api-test.robot 18:14:37 api-slas.robot' 18:14:37 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:37 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:14:37 + load_set 18:14:37 + _setopts=hxB 18:14:37 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:14:37 ++ tr : ' ' 18:14:37 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:37 + set +o braceexpand 18:14:37 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:37 + set +o hashall 18:14:37 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:37 + set +o interactive-comments 18:14:37 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:37 + set +o xtrace 18:14:37 ++ echo hxB 18:14:37 ++ sed 's/./& /g' 18:14:37 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:37 + set +h 18:14:37 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:37 + set +x 18:14:37 + docker_stats 18:14:37 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:14:37 ++ uname -s 18:14:37 + '[' Linux == Darwin ']' 18:14:37 + sh -c 'top -bn1 | head -3' 18:14:37 top - 18:14:37 up 3 min, 0 users, load average: 1.77, 0.75, 0.29 18:14:37 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 18:14:37 %Cpu(s): 11.1 us, 2.4 sy, 0.0 ni, 83.0 id, 3.4 wa, 0.0 hi, 0.0 si, 0.1 st 18:14:37 + echo 18:14:37 + sh -c 'free -h' 18:14:37 18:14:37 total used free shared buff/cache available 18:14:37 Mem: 31G 1.5G 25G 1.0M 4.0G 29G 18:14:37 Swap: 1.0G 0B 1.0G 18:14:37 + echo 18:14:37 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:14:37 18:14:37 NAMES STATUS 18:14:37 policy-api Up 25 seconds 18:14:37 grafana Up 28 seconds 18:14:37 mariadb Up 27 seconds 18:14:37 prometheus Up 29 seconds 18:14:37 + echo 18:14:37 + docker stats --no-stream 18:14:37 18:14:39 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:14:39 0a3b4d70ebeb policy-api 0.14% 554.2MiB / 31.41GiB 1.72% 998kB / 710kB 0B / 0B 55 18:14:39 f75dc6712105 grafana 0.04% 69.11MiB / 31.41GiB 0.21% 8.45MB / 33.1kB 0B / 27MB 22 18:14:39 34be4b444e41 mariadb 0.01% 100.5MiB / 31.41GiB 0.31% 985kB / 1.18MB 11MB / 67.8MB 28 18:14:39 459ef4a4dba4 prometheus 0.00% 19.3MiB / 31.41GiB 0.06% 1.31kB / 0B 229kB / 0B 13 18:14:39 + echo 18:14:39 18:14:39 + cd /tmp/tmp.WSAaf7oaAS 18:14:39 + echo 'Reading the testplan:' 18:14:39 Reading the testplan: 18:14:39 + echo 'api-test.robot 18:14:39 api-slas.robot' 18:14:39 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:14:39 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:14:39 + cat testplan.txt 18:14:39 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:14:39 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:14:39 ++ xargs 18:14:39 + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' 18:14:39 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:39 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:14:39 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:39 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:14:39 + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' 18:14:39 Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... 18:14:39 + relax_set 18:14:39 + set +e 18:14:39 + set +o pipefail 18:14:39 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:14:40 ============================================================================== 18:14:40 api 18:14:40 ============================================================================== 18:14:40 api.Api-Test 18:14:40 ============================================================================== 18:14:40 Healthcheck :: Verify policy api health check | PASS | 18:14:40 ------------------------------------------------------------------------------ 18:14:42 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:14:42 ------------------------------------------------------------------------------ 18:14:43 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:14:43 ------------------------------------------------------------------------------ 18:14:43 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:14:43 ------------------------------------------------------------------------------ 18:14:43 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:14:43 ------------------------------------------------------------------------------ 18:14:43 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:14:43 ------------------------------------------------------------------------------ 18:14:44 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:14:44 ------------------------------------------------------------------------------ 18:14:44 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:14:44 ------------------------------------------------------------------------------ 18:14:44 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:14:44 ------------------------------------------------------------------------------ 18:14:45 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:14:45 ------------------------------------------------------------------------------ 18:14:45 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:14:45 ------------------------------------------------------------------------------ 18:14:45 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:14:45 ------------------------------------------------------------------------------ 18:14:45 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:14:45 ------------------------------------------------------------------------------ 18:14:46 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:14:46 ------------------------------------------------------------------------------ 18:14:46 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:14:46 ------------------------------------------------------------------------------ 18:14:46 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:14:46 ------------------------------------------------------------------------------ 18:14:46 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:14:46 ------------------------------------------------------------------------------ 18:14:47 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:14:47 ------------------------------------------------------------------------------ 18:14:47 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:14:47 ------------------------------------------------------------------------------ 18:14:47 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:14:47 ------------------------------------------------------------------------------ 18:14:47 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:14:47 ------------------------------------------------------------------------------ 18:14:47 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:14:47 ------------------------------------------------------------------------------ 18:14:47 api.Api-Test | PASS | 18:14:47 22 tests, 22 passed, 0 failed 18:14:47 ============================================================================== 18:14:47 api.Api-Slas 18:14:47 ============================================================================== 18:15:47 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:15:47 ------------------------------------------------------------------------------ 18:15:47 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:15:47 ------------------------------------------------------------------------------ 18:15:47 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:15:47 ------------------------------------------------------------------------------ 18:15:47 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:15:47 ------------------------------------------------------------------------------ 18:15:47 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:15:47 ------------------------------------------------------------------------------ 18:15:47 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:15:47 ------------------------------------------------------------------------------ 18:15:47 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:15:47 ------------------------------------------------------------------------------ 18:15:47 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:15:47 ------------------------------------------------------------------------------ 18:15:47 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:15:47 ------------------------------------------------------------------------------ 18:15:47 api.Api-Slas | PASS | 18:15:47 9 tests, 9 passed, 0 failed 18:15:47 ============================================================================== 18:15:47 api | PASS | 18:15:47 31 tests, 31 passed, 0 failed 18:15:47 ============================================================================== 18:15:47 Output: /tmp/tmp.WSAaf7oaAS/output.xml 18:15:48 Log: /tmp/tmp.WSAaf7oaAS/log.html 18:15:48 Report: /tmp/tmp.WSAaf7oaAS/report.html 18:15:48 + RESULT=0 18:15:48 + load_set 18:15:48 + _setopts=hxB 18:15:48 ++ tr : ' ' 18:15:48 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:15:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:48 + set +o braceexpand 18:15:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:48 + set +o hashall 18:15:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:48 + set +o interactive-comments 18:15:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:48 + set +o xtrace 18:15:48 ++ echo hxB 18:15:48 ++ sed 's/./& /g' 18:15:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:48 + set +h 18:15:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:48 + set +x 18:15:48 + echo 'RESULT: 0' 18:15:48 RESULT: 0 18:15:48 + exit 0 18:15:48 + on_exit 18:15:48 + rc=0 18:15:48 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:15:48 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:15:48 NAMES STATUS 18:15:48 policy-api Up About a minute 18:15:48 grafana Up About a minute 18:15:48 mariadb Up About a minute 18:15:48 prometheus Up About a minute 18:15:48 + docker_stats 18:15:48 ++ uname -s 18:15:48 + '[' Linux == Darwin ']' 18:15:48 + sh -c 'top -bn1 | head -3' 18:15:48 top - 18:15:48 up 4 min, 0 users, load average: 0.75, 0.69, 0.30 18:15:48 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 18:15:48 %Cpu(s): 9.3 us, 1.8 sy, 0.0 ni, 86.0 id, 2.7 wa, 0.0 hi, 0.0 si, 0.0 st 18:15:48 + echo 18:15:48 18:15:48 + sh -c 'free -h' 18:15:48 total used free shared buff/cache available 18:15:48 Mem: 31G 1.8G 25G 1.0M 4.0G 29G 18:15:48 Swap: 1.0G 0B 1.0G 18:15:48 + echo 18:15:48 18:15:48 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:15:48 NAMES STATUS 18:15:48 policy-api Up About a minute 18:15:48 grafana Up About a minute 18:15:48 mariadb Up About a minute 18:15:48 prometheus Up About a minute 18:15:48 + echo 18:15:48 18:15:48 + docker stats --no-stream 18:15:50 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:15:50 0a3b4d70ebeb policy-api 0.08% 848MiB / 31.41GiB 2.64% 7.01MB / 2.57MB 0B / 0B 55 18:15:50 f75dc6712105 grafana 0.05% 69.37MiB / 31.41GiB 0.22% 8.45MB / 35.7kB 0B / 27MB 22 18:15:50 34be4b444e41 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 68.2MB 18 18:15:50 459ef4a4dba4 prometheus 0.00% 24.2MiB / 31.41GiB 0.08% 82.3kB / 7.34kB 229kB / 0B 13 18:15:50 + echo 18:15:50 18:15:50 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:15:50 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:15:50 + relax_set 18:15:50 + set +e 18:15:50 + set +o pipefail 18:15:50 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:15:50 ++ echo 'Shut down started!' 18:15:50 Shut down started! 18:15:50 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:15:50 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:15:50 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:15:50 ++ source export-ports.sh 18:15:50 ++ source get-versions.sh 18:15:53 ++ echo 'Collecting logs from docker compose containers...' 18:15:53 Collecting logs from docker compose containers... 18:15:53 ++ docker-compose logs 18:15:54 ++ cat docker_compose.log 18:15:54 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693344964Z level=info msg="Starting Grafana" version=11.3.0 commit=d9455ff7db73b694db7d412e49a68bec767f2b5a branch=HEAD compiled=2024-10-26T18:14:08Z 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693627409Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693641989Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693646179Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693649859Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693653399Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693657419Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693661509Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693665639Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693669109Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693673509Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693677699Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693682349Z level=info msg=Target target=[all] 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693689599Z level=info msg="Path Home" path=/usr/share/grafana 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693693319Z level=info msg="Path Data" path=/var/lib/grafana 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693697169Z level=info msg="Path Logs" path=/var/log/grafana 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.693700839Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.69371284Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:15:54 grafana | logger=settings t=2024-10-26T18:14:08.6937165Z level=info msg="App mode production" 18:15:54 grafana | logger=featuremgmt t=2024-10-26T18:14:08.694054694Z level=info msg=FeatureToggles transformationsRedesign=true ssoSettingsApi=true prometheusConfigOverhaulAuth=true influxdbBackendMigration=true cloudWatchCrossAccountQuerying=true correlations=true dashboardScene=true dataplaneFrontendFallback=true topnav=true lokiQuerySplitting=true awsAsyncQueryCaching=true addFieldFromCalculationStatFunctions=true openSearchBackendFlowEnabled=true alertingNoDataErrorExecution=true prometheusMetricEncyclopedia=true notificationBanner=true dashboardSceneSolo=true exploreMetrics=true promQLScope=true transformationsVariableSupport=true kubernetesPlaylists=true lokiMetricDataplane=true panelMonitoring=true accessControlOnCall=true formatString=true nestedFolders=true alertingInsights=true lokiQueryHints=true autoMigrateXYChartPanel=true dashboardSceneForViewers=true logsContextDatasourceUi=true pinNavItems=true recoveryThreshold=true angularDeprecationUI=true lokiStructuredMetadata=true recordedQueriesMulti=true tlsMemcached=true cloudWatchNewLabelParsing=true groupToNestedTableTransformation=true dashgpt=true logRowsPopoverMenu=true prometheusAzureOverrideAudience=true publicDashboards=true alertingSimplifiedRouting=true logsExploreTableVisualisation=true cloudWatchRoundUpEndTime=true publicDashboardsScene=true annotationPermissionUpdate=true managedPluginsInstall=true logsInfiniteScrolling=true 18:15:54 grafana | logger=sqlstore t=2024-10-26T18:14:08.694132714Z level=info msg="Connecting to DB" dbtype=sqlite3 18:15:54 grafana | logger=sqlstore t=2024-10-26T18:14:08.694148455Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.695573551Z level=info msg="Locking database" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.695585901Z level=info msg="Starting DB migrations" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.696132728Z level=info msg="Executing migration" id="create migration_log table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.696992059Z level=info msg="Migration successfully executed" id="create migration_log table" duration=866.331µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.705955695Z level=info msg="Executing migration" id="create user table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.707163099Z level=info msg="Migration successfully executed" id="create user table" duration=1.209484ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.71310065Z level=info msg="Executing migration" id="add unique index user.login" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.713985081Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=884.57µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.717697974Z level=info msg="Executing migration" id="add unique index user.email" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.719042691Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.344587ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.722741395Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.723968769Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.226684ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.730150983Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.730929392Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=776.209µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.734170351Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.738016566Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.844495ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.741731731Z level=info msg="Executing migration" id="create user table v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.742656742Z level=info msg="Migration successfully executed" id="create user table v2" duration=926.541µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.745969781Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.746756621Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=785.73µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.75259506Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.753811775Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.215645ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.757507488Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.758084456Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=577.438µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.761585757Z level=info msg="Executing migration" id="Drop old table user_v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.762440677Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=854.6µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.767950353Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.769058455Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.106862ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.771875249Z level=info msg="Executing migration" id="Update user table charset" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.77190379Z level=info msg="Migration successfully executed" id="Update user table charset" duration=29.141µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.775148309Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.776868789Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.72355ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.780249339Z level=info msg="Executing migration" id="Add missing user data" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.780467892Z level=info msg="Migration successfully executed" id="Add missing user data" duration=218.483µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.786094829Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.787390494Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.294285ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.790803125Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.791983009Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.176984ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.795052015Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.796158628Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.106183ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.798968382Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.806947547Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.978985ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.813293862Z level=info msg="Executing migration" id="Add uid column to user" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.814467197Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.170495ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.81729351Z level=info msg="Executing migration" id="Update uid column values for users" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.817521343Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=227.623µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.820385047Z level=info msg="Executing migration" id="Add unique index user_uid" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.821124005Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=738.958µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.825711481Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.826238707Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=536.707µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.829374294Z level=info msg="Executing migration" id="update login and email fields to lowercase" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.829970401Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=595.937µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.833434152Z level=info msg="Executing migration" id="update login and email fields to lowercase2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.833904988Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=471.616µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.836908414Z level=info msg="Executing migration" id="create temp user table v1-7" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.837738224Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=829.82µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.842782604Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.843966837Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.183823ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.847309487Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.848431051Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.121014ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.851546088Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.852304327Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=757.719µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.857116304Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.857875283Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=758.609µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.860912239Z level=info msg="Executing migration" id="Update temp_user table charset" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.860939409Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.01µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.864504183Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.865222541Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=723.548µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.870141289Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.871295203Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.154484ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.874592352Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.875715206Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.115074ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.878759312Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.87947397Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=714.368µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.884093756Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.887141462Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.047026ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.890080077Z level=info msg="Executing migration" id="create temp_user v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.890982087Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=901.8µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.893802301Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.89463205Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=829.919µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.900016844Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.900856525Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=838.831µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.9037685Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.904539199Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=769.969µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.907454843Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.908253753Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=795.729µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.911125417Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.911558952Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=432.205µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.917060727Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.917887398Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=822.271µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.920952754Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.921553261Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=598.947µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.924586547Z level=info msg="Executing migration" id="create star table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.925274245Z level=info msg="Migration successfully executed" id="create star table" duration=686.638µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.93074992Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.931999796Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.248196ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.935445466Z level=info msg="Executing migration" id="create org table v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.936800862Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.354876ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.940158943Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.940972652Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=812.469µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.94417076Z level=info msg="Executing migration" id="create org_user table v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.944929669Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=758.589µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.950618436Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.951882952Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.262456ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.955236252Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.956554797Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.316165ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.959576843Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.960377383Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=799.76µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.963117696Z level=info msg="Executing migration" id="Update org table charset" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.963146106Z level=info msg="Migration successfully executed" id="Update org table charset" duration=28.54µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.968204987Z level=info msg="Executing migration" id="Update org_user table charset" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.968248337Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=47.93µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.971617167Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.971955261Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=337.974µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.975373451Z level=info msg="Executing migration" id="create dashboard table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.976597846Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.220535ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.979889575Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.981320682Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.431287ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.986743397Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.987654708Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=910.711µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.990456362Z level=info msg="Executing migration" id="create dashboard_tag table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.991132479Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=676.147µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.994018264Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:08.994888384Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=870.21µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.000132106Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.000844044Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=712.658µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.003782149Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.008740523Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.958034ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.011773654Z level=info msg="Executing migration" id="create dashboard v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.012491101Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=717.377µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.018236045Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.019333987Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.095641ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.022540137Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.023691658Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.150981ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.026661266Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.0269672Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=303.214µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.028919908Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.029707276Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=787.208µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.033729124Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.033791474Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=62.94µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.037348488Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.040094524Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.745496ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.044242684Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.046131122Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.888207ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.049234422Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.051034169Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.799587ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.054051597Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.054844585Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=792.818µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.058893354Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.060752552Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.858978ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.063952102Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.06485901Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=906.088µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.06798868Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.068891049Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=901.719µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.072878687Z level=info msg="Executing migration" id="Update dashboard table charset" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.072958648Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=80.371µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.076229469Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.076258409Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=29.68µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.080143987Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.083348077Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.20355ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.086982781Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.089285644Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.304093ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.093390432Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.095311511Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.925689ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.133775968Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.136902598Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.12969ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.140881005Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.141121987Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=240.662µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.14550161Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.146312917Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=811.077µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.149717519Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.150961602Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.244453ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.154525125Z level=info msg="Executing migration" id="Update dashboard title length" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.154571226Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=46.691µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.159401442Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.16034571Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=950.358µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.163968535Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.164677382Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=708.277µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.168323497Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.176105821Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.782734ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.180462671Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.18128435Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=822.029µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.184873094Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.185795212Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=921.338µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.189192764Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.190036723Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=843.728µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.1940039Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.194615675Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=611.285µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.19928099Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.200167818Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=886.478µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.204200027Z level=info msg="Executing migration" id="Add check_sum column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.207582539Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.381082ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.211432835Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.212321754Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=888.409µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.216966627Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.217172559Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=206.582µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.220704804Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.221067327Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=363.163µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.225079584Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.226185795Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.106971ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.230355845Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.232506895Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.150661ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.235507324Z level=info msg="Executing migration" id="Add deleted for dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.237687385Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.180272ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.241006816Z level=info msg="Executing migration" id="Add index for deleted" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.241855134Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=848.338µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.246104064Z level=info msg="Executing migration" id="create data_source table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.247044493Z level=info msg="Migration successfully executed" id="create data_source table" duration=940.569µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.251114612Z level=info msg="Executing migration" id="add index data_source.account_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.252063551Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=939.329µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.256084878Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.257463642Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.378504ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.261986264Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.262761652Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=775.818µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.266053573Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.26680286Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=749.637µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.270093921Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.276243901Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.14968ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.280414749Z level=info msg="Executing migration" id="create data_source table v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.281313168Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=898.179µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.2846737Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.285526338Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=850.698µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.2889172Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.290180993Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.264282ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.294862296Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.295422501Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=560.655µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.298605112Z level=info msg="Executing migration" id="Add column with_credentials" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.300909523Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.304471ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.303958642Z level=info msg="Executing migration" id="Add secure json data column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.306310205Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.351493ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.310048591Z level=info msg="Executing migration" id="Update data_source table charset" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.310079031Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=30.12µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.312724016Z level=info msg="Executing migration" id="Update initial version to 1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.312982759Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=258.033µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.316213969Z level=info msg="Executing migration" id="Add read_only data column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.318519601Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.304912ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.322778101Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.323161615Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=385.653µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.326693759Z level=info msg="Executing migration" id="Update json_data with nulls" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.327041252Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=347.263µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.330420444Z level=info msg="Executing migration" id="Add uid column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.33429058Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.870446ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.33744736Z level=info msg="Executing migration" id="Update uid value" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.337658002Z level=info msg="Migration successfully executed" id="Update uid value" duration=209.452µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.3416919Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.342520938Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=828.728µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.345478416Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.346305455Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=831.699µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.349405514Z level=info msg="Executing migration" id="Add is_prunable column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.351779507Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=2.373653ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.355541892Z level=info msg="Executing migration" id="Add api_version column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.358008926Z level=info msg="Migration successfully executed" id="Add api_version column" duration=2.467014ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.361410138Z level=info msg="Executing migration" id="create api_key table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.362203785Z level=info msg="Migration successfully executed" id="create api_key table" duration=793.768µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.365560317Z level=info msg="Executing migration" id="add index api_key.account_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.366390225Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=830.079µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.370415033Z level=info msg="Executing migration" id="add index api_key.key" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.371339701Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=926.488µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.374553992Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.3753859Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=831.728µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.378632331Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.379457348Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=824.367µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.383631689Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.384427166Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=795.387µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.387541765Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.388813128Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.271393ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.392926696Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.400978773Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.052637ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.404072712Z level=info msg="Executing migration" id="create api_key table v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.404893199Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=814.677µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.40798515Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.408863138Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=884.968µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.412597873Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.413451541Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=853.708µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.416891424Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.417750772Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=859.418µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.421231565Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.421608888Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=379.293µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.425901409Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.426945479Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.04292ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.430732985Z level=info msg="Executing migration" id="Update api_key table charset" 18:15:54 mariadb | 2024-10-26 18:14:09+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:15:54 mariadb | 2024-10-26 18:14:09+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:15:54 mariadb | 2024-10-26 18:14:09+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:15:54 mariadb | 2024-10-26 18:14:10+00:00 [Note] [Entrypoint]: Initializing database files 18:15:54 mariadb | 2024-10-26 18:14:10 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:15:54 mariadb | 2024-10-26 18:14:10 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:15:54 mariadb | 2024-10-26 18:14:10 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:15:54 mariadb | 18:15:54 mariadb | 18:15:54 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:15:54 mariadb | To do so, start the server, then issue the following command: 18:15:54 mariadb | 18:15:54 mariadb | '/usr/bin/mysql_secure_installation' 18:15:54 mariadb | 18:15:54 mariadb | which will also give you the option of removing the test 18:15:54 mariadb | databases and anonymous user created by default. This is 18:15:54 mariadb | strongly recommended for production servers. 18:15:54 mariadb | 18:15:54 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:15:54 mariadb | 18:15:54 mariadb | Please report any problems at https://mariadb.org/jira 18:15:54 mariadb | 18:15:54 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:15:54 mariadb | 18:15:54 mariadb | Consider joining MariaDB's strong and vibrant community: 18:15:54 mariadb | https://mariadb.org/get-involved/ 18:15:54 mariadb | 18:15:54 mariadb | 2024-10-26 18:14:11+00:00 [Note] [Entrypoint]: Database files initialized 18:15:54 mariadb | 2024-10-26 18:14:11+00:00 [Note] [Entrypoint]: Starting temporary server 18:15:54 mariadb | 2024-10-26 18:14:11+00:00 [Note] [Entrypoint]: Waiting for server startup 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: Number of transaction pools: 1 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: Completed initialization of buffer pool 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: 128 rollback segments are active. 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] Plugin 'FEEDBACK' is disabled. 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:15:54 mariadb | 2024-10-26 18:14:11 0 [Note] mariadbd: ready for connections. 18:15:54 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 18:15:54 mariadb | 2024-10-26 18:14:12+00:00 [Note] [Entrypoint]: Temporary server started. 18:15:54 mariadb | 2024-10-26 18:14:14+00:00 [Note] [Entrypoint]: Creating user policy_user 18:15:54 mariadb | 2024-10-26 18:14:14+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:15:54 mariadb | 18:15:54 mariadb | 18:15:54 mariadb | 2024-10-26 18:14:14+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:15:54 mariadb | 2024-10-26 18:14:14+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:15:54 mariadb | #!/bin/bash -xv 18:15:54 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:15:54 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:15:54 mariadb | # 18:15:54 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:15:54 mariadb | # you may not use this file except in compliance with the License. 18:15:54 mariadb | # You may obtain a copy of the License at 18:15:54 mariadb | # 18:15:54 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:15:54 mariadb | # 18:15:54 mariadb | # Unless required by applicable law or agreed to in writing, software 18:15:54 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:15:54 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:15:54 mariadb | # See the License for the specific language governing permissions and 18:15:54 mariadb | # limitations under the License. 18:15:54 mariadb | 18:15:54 policy-api | Waiting for mariadb port 3306... 18:15:54 policy-api | mariadb (172.17.0.2:3306) open 18:15:54 policy-api | Waiting for policy-db-migrator port 6824... 18:15:54 policy-api | policy-db-migrator (172.17.0.5:6824) open 18:15:54 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:15:54 policy-api | 18:15:54 policy-api | . ____ _ __ _ _ 18:15:54 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:15:54 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:15:54 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:15:54 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:15:54 policy-api | =========|_|==============|___/=/_/_/_/ 18:15:54 policy-api | :: Spring Boot :: (v3.1.4) 18:15:54 policy-api | 18:15:54 policy-api | [2024-10-26T18:14:25.163+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) 18:15:54 policy-api | [2024-10-26T18:14:25.165+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:15:54 policy-api | [2024-10-26T18:14:26.888+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:15:54 policy-api | [2024-10-26T18:14:26.993+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 94 ms. Found 6 JPA repository interfaces. 18:15:54 policy-api | [2024-10-26T18:14:27.417+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 18:15:54 policy-api | [2024-10-26T18:14:27.418+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 18:15:54 policy-api | [2024-10-26T18:14:28.083+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:15:54 policy-api | [2024-10-26T18:14:28.093+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:15:54 policy-api | [2024-10-26T18:14:28.095+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:15:54 policy-api | [2024-10-26T18:14:28.096+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:15:54 policy-api | [2024-10-26T18:14:28.231+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:15:54 policy-api | [2024-10-26T18:14:28.232+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3004 ms 18:15:54 policy-api | [2024-10-26T18:14:28.658+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:15:54 policy-api | [2024-10-26T18:14:28.731+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:15:54 policy-api | [2024-10-26T18:14:28.734+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:15:54 policy-api | [2024-10-26T18:14:28.778+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:15:54 policy-api | [2024-10-26T18:14:29.111+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:15:54 policy-api | [2024-10-26T18:14:29.131+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:15:54 policy-api | [2024-10-26T18:14:29.225+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b 18:15:54 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.430770816Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.451µs 18:15:54 policy-db-migrator | Waiting for mariadb port 3306... 18:15:54 policy-api | [2024-10-26T18:14:29.227+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:15:54 mariadb | do 18:15:54 prometheus | ts=2024-10-26T18:14:07.839Z caller=main.go:627 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.434540011Z level=info msg="Executing migration" id="Add expires to api_key table" 18:15:54 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:15:54 policy-api | [2024-10-26T18:14:29.253+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 18:15:54 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:15:54 prometheus | ts=2024-10-26T18:14:07.839Z caller=main.go:671 level=info msg="Starting Prometheus Server" mode=server version="(version=2.55.0, branch=HEAD, revision=91d80252c3e528728b0f88d254dd720f6be07cb8)" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.437101975Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.562164ms 18:15:54 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:15:54 policy-api | [2024-10-26T18:14:29.254+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:15:54 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:15:54 prometheus | ts=2024-10-26T18:14:07.839Z caller=main.go:676 level=info build_context="(go=go1.23.2, platform=linux/amd64, user=root@9fad779131cc, date=20241022-13:47:22, tags=netgo,builtinassets,stringlabels)" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.440349956Z level=info msg="Executing migration" id="Add service account foreign key" 18:15:54 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:15:54 policy-api | [2024-10-26T18:14:31.025+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:15:54 mariadb | done 18:15:54 prometheus | ts=2024-10-26T18:14:07.839Z caller=main.go:677 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.442940541Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.568424ms 18:15:54 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:15:54 policy-api | [2024-10-26T18:14:31.029+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:15:54 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:15:54 prometheus | ts=2024-10-26T18:14:07.839Z caller=main.go:678 level=info fd_limits="(soft=1048576, hard=1048576)" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.446800087Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:15:54 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:15:54 policy-api | [2024-10-26T18:14:32.242+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:15:54 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.839Z caller=main.go:679 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.446995679Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=195.892µs 18:15:54 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:15:54 policy-api | [2024-10-26T18:14:33.018+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:15:54 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.842Z caller=web.go:585 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.450142609Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:15:54 policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! 18:15:54 policy-api | [2024-10-26T18:14:34.031+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 18:15:54 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:15:54 prometheus | ts=2024-10-26T18:14:07.842Z caller=main.go:1197 level=info msg="Starting TSDB ..." 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.452745594Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.602975ms 18:15:54 policy-db-migrator | 321 blocks 18:15:54 policy-api | [2024-10-26T18:14:34.209+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1692d173, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@32c503d3, org.springframework.security.web.context.SecurityContextHolderFilter@45fa7f1a, org.springframework.security.web.header.HeaderWriterFilter@3770dd80, org.springframework.security.web.authentication.logout.LogoutFilter@69765d94, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@285bee4e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@44264fb6, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1f9a472e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5626cb89, org.springframework.security.web.access.ExceptionTranslationFilter@453ef145, org.springframework.security.web.access.intercept.AuthorizationFilter@c0d114b] 18:15:54 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.846Z caller=tls_config.go:348 level=info component=web msg="Listening on" address=[::]:9090 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.455933654Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:15:54 policy-db-migrator | Preparing upgrade release version: 0800 18:15:54 policy-api | [2024-10-26T18:14:35.057+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:15:54 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.846Z caller=tls_config.go:351 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.460642098Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.710484ms 18:15:54 policy-db-migrator | Preparing upgrade release version: 0900 18:15:54 policy-api | [2024-10-26T18:14:35.110+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:15:54 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:15:54 prometheus | ts=2024-10-26T18:14:07.850Z caller=head.go:627 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.465048751Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:15:54 policy-db-migrator | Preparing upgrade release version: 1000 18:15:54 policy-api | [2024-10-26T18:14:35.138+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:15:54 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.850Z caller=head.go:714 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.41µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.465820878Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=772.137µs 18:15:54 policy-db-migrator | Preparing upgrade release version: 1100 18:15:54 policy-api | [2024-10-26T18:14:35.157+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.727 seconds (process running for 11.393) 18:15:54 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.850Z caller=head.go:722 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.469347721Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:15:54 policy-db-migrator | Preparing upgrade release version: 1200 18:15:54 policy-api | [2024-10-26T18:14:39.903+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:15:54 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:15:54 prometheus | ts=2024-10-26T18:14:07.850Z caller=head.go:794 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.470001098Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=647.716µs 18:15:54 policy-db-migrator | Preparing upgrade release version: 1300 18:15:54 policy-api | [2024-10-26T18:14:39.903+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 18:15:54 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.850Z caller=head.go:831 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=69.571µs wal_replay_duration=373.324µs wbl_replay_duration=170ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.41µs total_replay_duration=516.846µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.473553421Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:15:54 policy-db-migrator | Done 18:15:54 policy-api | [2024-10-26T18:14:39.905+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms 18:15:54 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.853Z caller=main.go:1218 level=info fs_type=EXT4_SUPER_MAGIC 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.474881143Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.327942ms 18:15:54 policy-db-migrator | name version 18:15:54 policy-api | [2024-10-26T18:14:42.838+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-3] ***** OrderedServiceImpl implementers: 18:15:54 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:15:54 prometheus | ts=2024-10-26T18:14:07.853Z caller=main.go:1221 level=info msg="TSDB started" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.479694339Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:15:54 policy-db-migrator | policyadmin 0 18:15:54 policy-api | [] 18:15:54 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.853Z caller=main.go:1404 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.480620468Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=926.859µs 18:15:54 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:15:54 policy-api | [2024-10-26T18:14:43.003+00:00|WARN|CommonRestController|http-nio-6969-exec-3] POST /policytypes 18:15:54 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.855Z caller=main.go:1441 level=info msg="updated GOGC" old=100 new=75 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.483907609Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:15:54 policy-db-migrator | upgrade: 0 -> 1300 18:15:54 policy-api | [2024-10-26T18:14:43.318+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 18:15:54 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:15:54 prometheus | ts=2024-10-26T18:14:07.855Z caller=main.go:1452 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.337285ms db_storage=1.14µs remote_storage=1.81µs web_handler=510ns query_engine=1.13µs scrape=334.364µs scrape_sd=134.951µs notify=47.841µs notify_sd=11.15µs rules=1.83µs tracing=6.24µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.484762097Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=854.248µs 18:15:54 policy-db-migrator | 18:15:54 policy-api | [2024-10-26T18:14:44.486+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 18:15:54 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.855Z caller=main.go:1182 level=info msg="Server is ready to receive web requests." 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.487913957Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:15:54 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:15:54 policy-api | [2024-10-26T18:14:46.427+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:15:54 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:15:54 prometheus | ts=2024-10-26T18:14:07.855Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..." 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.488827015Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=912.518µs 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-api | [2024-10-26T18:14:46.769+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 18:15:54 mariadb | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.493179047Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 18:15:54 policy-api | [2024-10-26T18:14:46.994+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 18:15:54 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.493270478Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=91.661µs 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-api | [2024-10-26T18:14:47.269+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:15:54 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.49673401Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:15:54 policy-db-migrator | 18:15:54 policy-api | [2024-10-26T18:14:47.501+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:15:54 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.496816951Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=83.911µs 18:15:54 policy-db-migrator | 18:15:54 policy-api | [2024-10-26T18:14:47.729+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:15:54 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.50079668Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:15:54 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:15:54 mariadb | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.505548944Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.752674ms 18:15:54 policy-db-migrator | -------------- 18:15:54 mariadb | 2024-10-26 18:14:15+00:00 [Note] [Entrypoint]: Stopping temporary server 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.509983406Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.512649562Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.665776ms 18:15:54 policy-db-migrator | -------------- 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: FTS optimize thread exiting. 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.551535591Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:15:54 policy-db-migrator | 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Starting shutdown... 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.551660102Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=125.301µs 18:15:54 policy-db-migrator | 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.55576148Z level=info msg="Executing migration" id="create quota table v1" 18:15:54 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Buffer pool(s) dump completed at 241026 18:14:15 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.556957342Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.195422ms 18:15:54 policy-db-migrator | -------------- 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.560680407Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Shutdown completed; log sequence number 340437; transaction id 298 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.56200893Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.327833ms 18:15:54 policy-db-migrator | -------------- 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] mariadbd: Shutdown complete 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.566466542Z level=info msg="Executing migration" id="Update quota table charset" 18:15:54 policy-db-migrator | 18:15:54 mariadb | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.566491142Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=25.25µs 18:15:54 policy-db-migrator | 18:15:54 mariadb | 2024-10-26 18:14:15+00:00 [Note] [Entrypoint]: Temporary server stopped 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.569222998Z level=info msg="Executing migration" id="create plugin_setting table" 18:15:54 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:15:54 mariadb | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.569989305Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=765.557µs 18:15:54 policy-db-migrator | -------------- 18:15:54 mariadb | 2024-10-26 18:14:15+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.573769622Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:15:54 mariadb | 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.575105774Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.335652ms 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.580142642Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.584930107Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.762555ms 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Number of transaction pools: 1 18:15:54 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.588269299Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.588291969Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=23.34µs 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.5916064Z level=info msg="Executing migration" id="create session table" 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.592346777Z level=info msg="Migration successfully executed" id="create session table" duration=740.087µs 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.596559218Z level=info msg="Executing migration" id="Drop old table playlist table" 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.596636248Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=77.22µs 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Completed initialization of buffer pool 18:15:54 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.600337273Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:15:54 policy-db-migrator | -------------- 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: 128 rollback segments are active. 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.600416304Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=78.471µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.603992028Z level=info msg="Executing migration" id="create playlist table v2" 18:15:54 policy-db-migrator | -------------- 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.605188409Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.195701ms 18:15:54 policy-db-migrator | 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: log sequence number 340437; transaction id 299 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.609004265Z level=info msg="Executing migration" id="create playlist item table v2" 18:15:54 policy-db-migrator | 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] Plugin 'FEEDBACK' is disabled. 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.610268698Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.263903ms 18:15:54 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.61482364Z level=info msg="Executing migration" id="Update playlist table charset" 18:15:54 policy-db-migrator | -------------- 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.61485037Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=27.63µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.618335764Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:15:54 policy-db-migrator | -------------- 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] Server socket created on IP: '0.0.0.0'. 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.618359475Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=24.38µs 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] Server socket created on IP: '::'. 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.62110913Z level=info msg="Executing migration" id="Add playlist column created_at" 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] mariadbd: ready for connections. 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.626020686Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.910826ms 18:15:54 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.630318668Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:15:54 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:15:54 mariadb | 2024-10-26 18:14:15 0 [Note] InnoDB: Buffer pool(s) load completed at 241026 18:14:15 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.633500778Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.180861ms 18:15:54 mariadb | 2024-10-26 18:14:16 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.637113652Z level=info msg="Executing migration" id="drop preferences table v2" 18:15:54 mariadb | 2024-10-26 18:14:16 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.637200433Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=91.511µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.640841758Z level=info msg="Executing migration" id="drop preferences table v3" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.640934238Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=91.83µs 18:15:54 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.644384381Z level=info msg="Executing migration" id="create preferences table v3" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.645253999Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=868.898µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.649742722Z level=info msg="Executing migration" id="Update preferences table charset" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.649783462Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=37.97µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.653670399Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.658306183Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.636244ms 18:15:54 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.661971648Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.662145949Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=173.921µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.666798964Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.670058734Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.26007ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.67270387Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.674967991Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.263761ms 18:15:54 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.67798146Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.67803213Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=48.82µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.684765013Z level=info msg="Executing migration" id="Add preferences index org_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.685607662Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=844.369µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.68853424Z level=info msg="Executing migration" id="Add preferences index user_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.689372998Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=838.808µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.692227315Z level=info msg="Executing migration" id="create alert table v1" 18:15:54 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.693294544Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.06702ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.699181301Z level=info msg="Executing migration" id="add index alert org_id & id " 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.699993949Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=812.068µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.703007647Z level=info msg="Executing migration" id="add index alert state" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.703852075Z level=info msg="Migration successfully executed" id="add index alert state" duration=844.048µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.708388438Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:15:54 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.709251326Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=866.078µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.714190103Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.715236963Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.04616ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.71807862Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.718973769Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=896.209µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.722631233Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:15:54 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.723941835Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.310412ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.727097955Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.738678326Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.581151ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.742930375Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.743621182Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=690.897µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.746680301Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.747506159Z 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=825.788µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.751042682Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.751347185Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=304.393µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.755390194Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:15:54 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.755869708Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=481.784µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.75921142Z level=info msg="Executing migration" id="create alert_notification table v1" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.76035222Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.14062ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.763856544Z level=info msg="Executing migration" id="Add column is_default" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.768881681Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.025837ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.772978271Z level=info msg="Executing migration" id="Add column frequency" 18:15:54 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.776620765Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.639194ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.782243848Z level=info msg="Executing migration" id="Add column send_reminder" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.785818872Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.574474ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.789178535Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.792690617Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.508902ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.796998718Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:15:54 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.79931837Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=2.318762ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.802701802Z level=info msg="Executing migration" id="Update alert table charset" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.802728042Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=27.34µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.805503978Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.805529049Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=25.861µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.809353546Z level=info msg="Executing migration" id="create notification_journal table v1" 18:15:54 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.810543527Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.191941ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.818861265Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.8203807Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.518955ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.824062715Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.825329777Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.266232ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.829422926Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.830393995Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=971.799µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.834949258Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.835947057Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=997.559µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.840073297Z level=info msg="Executing migration" id="Add for to alert table" 18:15:54 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.843798102Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.724835ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.848047223Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.854441903Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=6.34124ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.862246767Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.862594621Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=347.344µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.864817412Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:15:54 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.866445977Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.627545ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.871692357Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.873397973Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.707496ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.876408452Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.880246538Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.840086ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.893319792Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:15:54 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.893678625Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=399.564µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.900649671Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.902267417Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.618606ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.905658829Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.907250354Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.591395ms 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.910545075Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.910729877Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=184.292µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.91629328Z level=info msg="Executing migration" id="create annotation table v5" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.917257098Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=963.128µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.92053281Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:15:54 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.922160045Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.626815ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.925664168Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.926604128Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=939.33µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.9710696Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.973364351Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=2.296281ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.976804464Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:15:54 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.978707341Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.901237ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.984840849Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.985650088Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=808.899µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.989184581Z level=info msg="Executing migration" id="Update annotation table charset" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.989322652Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=90.791µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:09.993298351Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:15:54 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.000370287Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.071096ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.007388214Z level=info msg="Executing migration" id="Drop category_id index" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.008306386Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=918.562µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.012290785Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.016871611Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.580186ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.021302516Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:15:54 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.022064215Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=761.529µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.02821178Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.029376584Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.167404ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.033613317Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.034270025Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=659.358µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.036904927Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:15:54 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.046210861Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=9.305734ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.052734112Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.056960983Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=4.225671ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.060054931Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.060801581Z 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=746.53µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.063623015Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:15:54 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.063814768Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=191.773µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.06640313Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.066813474Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=408.104µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.071778386Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.071979758Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=201.612µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.075034265Z level=info msg="Executing migration" id="Add created time to annotation table" 18:15:54 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.079076125Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.04125ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.082458196Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.087448897Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.990501ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.093141237Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.09492206Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.782923ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.100046493Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:15:54 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.101063145Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.018472ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.104897851Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.105131454Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=233.513µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.107736276Z level=info msg="Executing migration" id="Add epoch_end column" 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.111918998Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.182632ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.117105882Z level=info msg="Executing migration" id="Add index for epoch_end" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.117986093Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=879.55µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.120727656Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.120916938Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=188.452µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.126039912Z level=info msg="Executing migration" id="Move region to single row" 18:15:54 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.126803561Z level=info msg="Migration successfully executed" id="Move region to single row" duration=765.29µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.130153252Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.131472798Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.319886ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.134707118Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.135510877Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=803.729µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.140956514Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:15:54 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.141829946Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=873.472µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.145219067Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.146080587Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=861.45µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.149611671Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.150434351Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=816.251µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.155000217Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:15:54 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.155847508Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=844.891µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.15931437Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.159416971Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=103.361µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.163101127Z level=info msg="Executing migration" id="create test_data table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.164514085Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.412368ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.169140731Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:15:54 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.170538869Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.401958ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.175702432Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.177105759Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.403187ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.182294544Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.183754961Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.460837ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.186640407Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:15:54 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.18683092Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=191.223µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.190389263Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.190822898Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=434.485µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.197726113Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.197814595Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=91.242µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.200813512Z level=info msg="Executing migration" id="create team table" 18:15:54 policy-db-migrator | > upgrade 0470-pdp.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.201619262Z level=info msg="Migration successfully executed" id="create team table" duration=806.43µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.206835686Z level=info msg="Executing migration" id="add index team.org_id" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.207931969Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.098913ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.210987507Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.21197193Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=986.503µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.215320311Z level=info msg="Executing migration" id="Add column uid in team" 18:15:54 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.223250689Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.931218ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.232624264Z level=info msg="Executing migration" id="Update uid column values in team" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.232886257Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=253.333µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.236863706Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.238384175Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.519899ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.246714738Z level=info msg="Executing migration" id="create team member table" 18:15:54 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.247491947Z level=info msg="Migration successfully executed" id="create team member table" duration=776.969µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.250384133Z level=info msg="Executing migration" id="add index team_member.org_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.251794551Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.409258ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.256695651Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.258205619Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.510448ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.262192018Z level=info msg="Executing migration" id="add index team_member.team_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.264137592Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.944294ms 18:15:54 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.267796207Z level=info msg="Executing migration" id="Add column email to team table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.272660308Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.863541ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.277366176Z level=info msg="Executing migration" id="Add column external to team_member table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.282031854Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.661498ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.284445993Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.289168691Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.724739ms 18:15:54 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.292973968Z level=info msg="Executing migration" id="add unique index team_member_user_id_org_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.29392341Z level=info msg="Migration successfully executed" id="add unique index team_member_user_id_org_id" duration=949.012µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.299983975Z level=info msg="Executing migration" id="create dashboard acl table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.300871905Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=887.27µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.304750964Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.306707757Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.955983ms 18:15:54 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.312655941Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.313975457Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.319466ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.317544591Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.31906094Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.514599ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.323199541Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.324361016Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.167365ms 18:15:54 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.32800373Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.328890671Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=886.661µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.33449114Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.335610334Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.117714ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.340387302Z level=info msg="Executing migration" id="add index dashboard_permission" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.34176755Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.380508ms 18:15:54 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.387637195Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.38799914Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=362.555µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.393799821Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.393975424Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=174.023µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.39685883Z level=info msg="Executing migration" id="create tag table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.398266837Z level=info msg="Migration successfully executed" id="create tag table" duration=1.406157ms 18:15:54 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.403817765Z level=info msg="Executing migration" id="add index tag.key_value" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.405291324Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.472459ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.408435842Z level=info msg="Executing migration" id="create login attempt table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.409662077Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.226135ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.41314703Z level=info msg="Executing migration" id="add index login_attempt.username" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.415306547Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=2.161177ms 18:15:54 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.419899923Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.420953286Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.053393ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.425755166Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.440392506Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.63696ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.446362409Z level=info msg="Executing migration" id="create login_attempt v2" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.4471699Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=807.051µs 18:15:54 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.450670153Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.452408064Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.737961ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.457008891Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.457586678Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=576.867µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.462045403Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.462716341Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=670.138µs 18:15:54 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.466449777Z level=info msg="Executing migration" id="create user auth table" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.467237787Z level=info msg="Migration successfully executed" id="create user auth table" duration=787.49µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.472166697Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.473201701Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.034114ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.478036901Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:15:54 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.478103642Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=67.111µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.482338903Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.487469177Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.130484ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.491311214Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.496537488Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.223464ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.501452099Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:15:54 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.506557852Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.105053ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.510837794Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.516090379Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.251935ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.519487911Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.520511174Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.022273ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.524501143Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:15:54 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.529853229Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.349906ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.53315015Z level=info msg="Executing migration" id="create server_lock table" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.534126282Z level=info msg="Migration successfully executed" id="create server_lock table" duration=975.412µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.539453997Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.540752034Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.295537ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.547219913Z level=info msg="Executing migration" id="create user auth token table" 18:15:54 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.548716252Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.497179ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.553774875Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.554750416Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=975.711µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.558166598Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.560408396Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=2.243838ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.566360249Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:15:54 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.567330111Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=969.922µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.575529092Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.586287085Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=10.757503ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.590554868Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.591333667Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=778.369µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.595842313Z level=info msg="Executing migration" id="add external_session_id to user_auth_token" 18:15:54 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.60122776Z level=info msg="Migration successfully executed" id="add external_session_id to user_auth_token" duration=5.381157ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.603982534Z level=info msg="Executing migration" id="create cache_data table" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.605475002Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.492648ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.608620591Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.610365812Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.744271ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.616242605Z level=info msg="Executing migration" id="create short_url table v1" 18:15:54 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.618094768Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.851953ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.621680072Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.623286971Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.606499ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.627302101Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.627348492Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=46.601µs 18:15:54 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.63209264Z level=info msg="Executing migration" id="delete alert_definition table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.632148821Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=56.011µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.636809278Z level=info msg="Executing migration" id="recreate alert_definition table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.638250486Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.441268ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.6418235Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.643001664Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.177884ms 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.645578576Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.646620009Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.041213ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.652750525Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.652828056Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=77.891µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.656812524Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.658479965Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.666311ms 18:15:54 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.662262222Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.663651069Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.389317ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.668343056Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.669585072Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.243646ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.673294148Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.6742389Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=944.472µs 18:15:54 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.679568155Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.685222476Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.653931ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.69127977Z level=info msg="Executing migration" id="drop alert_definition table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.692198541Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=919.461µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.695858066Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.696030128Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=172.762µs 18:15:54 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.701555306Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.702931614Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.376228ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.707304427Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.708474762Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.170065ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.712256678Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.713273201Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.016203ms 18:15:54 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.719211485Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.719308566Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=101.631µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.724906865Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.727053011Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=2.146036ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.733297899Z level=info msg="Executing migration" id="create alert_instance table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.734978959Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.723821ms 18:15:54 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.738624594Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.739621086Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=996.352µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.743020778Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.744296704Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.274756ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.750010154Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.756595285Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.585151ms 18:15:54 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.759807295Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.760423612Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=616.487µs 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.76425915Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.764915958Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=656.728µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.773576135Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.799571465Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=25.9969ms 18:15:54 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.941306143Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.970608044Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=29.296821ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.97350504Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.974197569Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=692.639µs 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.976818591Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:15:54 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.978536572Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.717541ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.984442125Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.993456207Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.018543ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:10.997525956Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.002373676Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.84492ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.009319041Z level=info msg="Executing migration" id="create alert_rule table" 18:15:54 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.010245382Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=926.422µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.020218813Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.022063595Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.846002ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.027841855Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.029763528Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.919843ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.033662305Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:15:54 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.035370066Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.70742ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.04066862Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.04073846Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=70.52µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.044393706Z level=info msg="Executing migration" id="add column for to alert_rule" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.050365068Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.971252ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.054880472Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:15:54 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.062006188Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=7.125286ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.067439754Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.073278024Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.83797ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.079174366Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.08026833Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.085953ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.085009376Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:15:54 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.086031469Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.019563ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.089775924Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.096047319Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.270805ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.099791805Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.105620806Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.831452ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.109995078Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:15:54 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.11173322Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.741052ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.115824119Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.122960256Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.136256ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.125892971Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.130259333Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.366272ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.132922825Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:15:54 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.133013156Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=90.621µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.136758772Z level=info msg="Executing migration" id="create alert_rule_version table" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.137941536Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.182214ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.141354247Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.143022038Z 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.671251ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.148299732Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.149425325Z 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.126033ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.154611348Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:15:54 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.154674799Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=63.731µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.158923471Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.168308693Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.385692ms 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.173878131Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.180847585Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.968404ms 18:15:54 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.186749697Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.19611552Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.365663ms 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.200017587Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.208626431Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=8.609534ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.212476258Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.218935296Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.455908ms 18:15:54 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.222362867Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.222433838Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=71.271µs 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.226578458Z level=info msg="Executing migration" id=create_alert_configuration_table 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.227806283Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.227365ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.231989964Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.240840391Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.849617ms 18:15:54 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.289821153Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.289988865Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=171.422µs 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.2945052Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.304349259Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.835689ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.307918702Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:15:54 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.308883193Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=964.501µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.313303947Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.319515402Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.212165ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.323583301Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.324618544Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.034653ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.329961669Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:15:54 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.331645909Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.680419ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.337203416Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.343836497Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.633601ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.347421009Z level=info msg="Executing migration" id="create provenance_type table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.348046517Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=625.088µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.352914006Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:15:54 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.353699315Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=784.729µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.35746744Z level=info msg="Executing migration" id="create alert_image table" 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.3590207Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.55243ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.362902336Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.363928399Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.027133ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.368851589Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:15:54 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.368914Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=65.541µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.373468434Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.375078394Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.60929ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.379314345Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.380909675Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.59558ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.38382508Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:15:54 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.384256565Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.389142744Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.389588689Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=445.725µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.395245798Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.397164131Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.917963ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.40123431Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:15:54 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.410950878Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.718298ms 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.414336509Z level=info msg="Executing migration" id="create library_element table v1" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.415402521Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.065602ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.419839745Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.421186411Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.346196ms 18:15:54 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.427491377Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.428993206Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.501639ms 18:15:54 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.433784104Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.43596032Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.165005ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.439343891Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.441373565Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=2.029274ms 18:15:54 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.444420733Z level=info msg="Executing migration" id="increase max description length to 2048" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.444449393Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=29.77µs 18:15:54 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.44750363Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.447654592Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=150.292µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.451633069Z level=info msg="Executing migration" id="add library_element folder uid" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.461644651Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=10.012722ms 18:15:54 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.464203142Z level=info msg="Executing migration" id="populate library_element folder_uid" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.464561486Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=357.924µs 18:15:54 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.46732871Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.468341132Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=1.011642ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.471341298Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.471812833Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=470.945µs 18:15:54 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.47487566Z level=info msg="Executing migration" id="create data_keys table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.476021155Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.145155ms 18:15:54 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.480471748Z level=info msg="Executing migration" id="create secrets table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.48144186Z level=info msg="Migration successfully executed" id="create secrets table" duration=969.512µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.484391706Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.515716315Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.324659ms 18:15:54 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.518378987Z level=info msg="Executing migration" id="add name column into data_keys" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.523671851Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.292514ms 18:15:54 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.526640157Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.52691911Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=286.113µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.529265438Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.566337326Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=37.071748ms 18:15:54 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.569530345Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.605474Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=35.938215ms 18:15:54 policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.608366905Z level=info msg="Executing migration" id="create kv_store table v1" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.609202675Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=835.899µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.612348173Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.613993903Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.64501ms 18:15:54 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.618452587Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.61873067Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=277.693µs 18:15:54 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.621284422Z level=info msg="Executing migration" id="create permission table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.622176872Z level=info msg="Migration successfully executed" id="create permission table" duration=892.14µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.6253875Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.626766978Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.378258ms 18:15:54 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.630026897Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.6319783Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.950753ms 18:15:54 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.637404325Z level=info msg="Executing migration" id="create role table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.638867134Z level=info msg="Migration successfully executed" id="create role table" duration=1.462499ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.646608858Z level=info msg="Executing migration" id="add column display_name" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.657062423Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.454705ms 18:15:54 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.666741261Z level=info msg="Executing migration" id="add column group_name" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.678800666Z level=info msg="Migration successfully executed" id="add column group_name" duration=12.059455ms 18:15:54 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.687149967Z level=info msg="Executing migration" id="add index role.org_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.687841845Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=691.438µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.747097943Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.748290747Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.193294ms 18:15:54 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.759096028Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.761041631Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.945333ms 18:15:54 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.769359222Z level=info msg="Executing migration" id="create team role table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.770568546Z level=info msg="Migration successfully executed" id="create team role table" duration=1.200254ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.778366851Z level=info msg="Executing migration" id="add index team_role.org_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.780111221Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.74521ms 18:15:54 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.786316987Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.788169979Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.866662ms 18:15:54 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.791472919Z level=info msg="Executing migration" id="add index team_role.team_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.792614843Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.141904ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.798780407Z level=info msg="Executing migration" id="create user role table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.800410138Z level=info msg="Migration successfully executed" id="create user role table" duration=1.631031ms 18:15:54 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.803620566Z level=info msg="Executing migration" id="add index user_role.org_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.805015103Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.394616ms 18:15:54 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.808255371Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.809615638Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.360707ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.812688276Z level=info msg="Executing migration" id="add index user_role.user_id" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.814004861Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.315915ms 18:15:54 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.817752727Z level=info msg="Executing migration" id="create builtin role table" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.819278645Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.522838ms 18:15:54 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.824362646Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.825825875Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.462399ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.828927562Z level=info msg="Executing migration" id="add index builtin_role.name" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.830091676Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.164154ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.83292927Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.840928877Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.996347ms 18:15:54 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.844218346Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:15:54 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.845563533Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.344627ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.848795392Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.850123858Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.328926ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.853161264Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:15:54 policy-db-migrator | > upgrade 0100-pdp.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.854239968Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.078604ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.857242384Z level=info msg="Executing migration" id="add unique index role.uid" 18:15:54 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.858462969Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.220585ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.862914923Z level=info msg="Executing migration" id="create seed assignment table" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.863880124Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=964.941µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.867653441Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:15:54 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.868991996Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.338265ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.872113524Z level=info msg="Executing migration" id="add column hidden to role table" 18:15:54 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.880537636Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.412411ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.883989447Z level=info msg="Executing migration" id="permission kind migration" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.892880046Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.890329ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.896026533Z level=info msg="Executing migration" id="permission attribute migration" 18:15:54 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.902264469Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=6.242956ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.905231735Z level=info msg="Executing migration" id="permission identifier migration" 18:15:54 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.914311344Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.079159ms 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.917601104Z level=info msg="Executing migration" id="add permission identifier index" 18:15:54 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.918567616Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=966.282µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.922061178Z level=info msg="Executing migration" id="add permission action scope role_id index" 18:15:54 policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.922972779Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=911.411µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.929381297Z level=info msg="Executing migration" id="remove permission role_id action scope index" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.930578761Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.191484ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.936183939Z level=info msg="Executing migration" id="add group mapping UID column to user_role table" 18:15:54 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.947284523Z level=info msg="Migration successfully executed" id="add group mapping UID column to user_role table" duration=11.113564ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.950692264Z level=info msg="Executing migration" id="add user_role org ID, user ID, role ID, group mapping UID index" 18:15:54 policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.95196176Z level=info msg="Migration successfully executed" id="add user_role org ID, user ID, role ID, group mapping UID index" duration=1.262726ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.956242501Z level=info msg="Executing migration" id="remove user_role org ID, user ID, role ID index" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.957353265Z level=info msg="Migration successfully executed" id="remove user_role org ID, user ID, role ID index" duration=1.111264ms 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.960735126Z level=info msg="Executing migration" id="create query_history table v1" 18:15:54 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.961684887Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=949.611µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.964706324Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.965879048Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.172364ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.970022418Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:15:54 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.97017586Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=146.862µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.973423129Z level=info msg="Executing migration" id="create query_history_details table v1" 18:15:54 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.974374421Z level=info msg="Migration successfully executed" id="create query_history_details table v1" duration=951.182µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.979136378Z level=info msg="Executing migration" id="rbac disabled migrator" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.979259529Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=123.851µs 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.983227328Z level=info msg="Executing migration" id="teams permissions migration" 18:15:54 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.983731774Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=504.176µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.986881432Z level=info msg="Executing migration" id="dashboard permissions" 18:15:54 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.987856574Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=976.332µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.991231975Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.992361428Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.138963ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.99583615Z level=info msg="Executing migration" id="drop managed folder create actions" 18:15:54 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.996121943Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=285.593µs 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:11.99992057Z level=info msg="Executing migration" id="alerting notification permissions" 18:15:54 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.000476886Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=566.016µs 18:15:54 policy-db-migrator | JOIN pdpstatistics b 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.003780156Z level=info msg="Executing migration" id="create query_history_star table v1" 18:15:54 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.005204132Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.423716ms 18:15:54 policy-db-migrator | SET a.id = b.id 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.008906713Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.010795283Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.88833ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.01460672Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.0229586Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.35138ms 18:15:54 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.026807406Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.026961977Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=154.331µs 18:15:54 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.030388461Z level=info msg="Executing migration" id="create correlation table v1" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.031872224Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.481783ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.035627831Z level=info msg="Executing migration" id="add index correlations.uid" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.037501698Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.873397ms 18:15:54 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.041921331Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.043060351Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.13211ms 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.046417813Z level=info msg="Executing migration" id="add correlation config column" 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.055112637Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.700294ms 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.058479279Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:15:54 policy-db-migrator | 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.059605109Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.12565ms 18:15:54 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.063490577Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0210-sequence.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0220-sequence.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.064588997Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.09817ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.067684686Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.089349613Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.665207ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.092399072Z level=info msg="Executing migration" id="create correlation v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.09323014Z level=info msg="Migration successfully executed" id="create correlation v2" duration=830.618µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.097043606Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.097871724Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=828.058µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.101068145Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.102951503Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.882618ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.106759319Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.10796349Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.205311ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.112478163Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.112812556Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=333.733µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.116039837Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.116846405Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=806.168µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.119869654Z level=info msg="Executing migration" id="add provisioning column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.128215324Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.34524ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.132244292Z level=info msg="Executing migration" id="add type column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.140576791Z level=info msg="Migration successfully executed" id="add type column" duration=8.331979ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.173448295Z level=info msg="Executing migration" id="create entity_events table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.174962449Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.513474ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.178310711Z level=info msg="Executing migration" id="create dashboard public config v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.180009727Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.698676ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.184394539Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.185216687Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.18866191Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.189184554Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.192553597Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.193396845Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=842.778µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.197424333Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.199084349Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.659406ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.202515122Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.204301629Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.786387ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.207805662Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.208970763Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.164341ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.213282945Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.214592417Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.308412ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.21805811Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.219773736Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.715516ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.224195499Z level=info msg="Executing migration" id="Drop public config table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.225023106Z level=info msg="Migration successfully executed" id="Drop public config table" duration=827.217µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.228060615Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.229296128Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.231743ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.232524698Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.233694109Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.169301ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.237629877Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.238763578Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.133681ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.242050659Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.24318716Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.130181ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.248244968Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.270405799Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=22.161021ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.274487288Z level=info msg="Executing migration" id="add annotations_enabled column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.280602867Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.115119ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.283649656Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.292292358Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.629912ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.295570529Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.295863141Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=292.592µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.300006491Z level=info msg="Executing migration" id="add share column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.308429612Z level=info msg="Migration successfully executed" id="add share column" duration=8.422061ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.311772443Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.311956225Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=183.572µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.314930073Z level=info msg="Executing migration" id="create file table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.315691561Z level=info msg="Migration successfully executed" id="create file table" duration=756.368µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.319948871Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.321782029Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.832888ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.325343972Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.32713284Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.788778ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.330744754Z level=info msg="Executing migration" id="create file_meta table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.331606362Z level=info msg="Migration successfully executed" id="create file_meta table" duration=860.918µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.335915543Z level=info msg="Executing migration" id="file table idx: path key" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.33775605Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.845257ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.341464546Z level=info msg="Executing migration" id="set path collation in file table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.341685688Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=220.972µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.34508694Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.345236711Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=149.831µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.348342671Z level=info msg="Executing migration" id="managed permissions migration" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.348955107Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=615.166µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.353026216Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.35349274Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=465.814µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.357147255Z level=info msg="Executing migration" id="RBAC action name migrator" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.359175924Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.028479ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.363838799Z level=info msg="Executing migration" id="Add UID column to playlist" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.372710643Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.871534ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.375934574Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.376170386Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=235.522µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.381524317Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.382665337Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.14123ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.385804538Z level=info msg="Executing migration" id="update group index for alert rules" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.386215542Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=411.524µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.38922922Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.389609094Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=379.114µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.392714533Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.393523001Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=805.728µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.398565189Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.41024425Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.679591ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.413699323Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.422922911Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.223688ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.426044961Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.426816478Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=771.207µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.431281Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.503895821Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=72.614461ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.506751319Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.507567396Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=815.847µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.510517024Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.511672495Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.163401ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.516821674Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.542242206Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.420552ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.545401256Z level=info msg="Executing migration" id="add origin column to seed_assignment" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.551753877Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.352441ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.59733499Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.597816625Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=481.765µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.601057395Z level=info msg="Executing migration" id="prevent seeding OnCall access" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.601291898Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=234.953µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.604476199Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.604894463Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=418.034µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.607960002Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.608242494Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=282.032µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.613684006Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.614003509Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=320.083µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.61732842Z level=info msg="Executing migration" id="create folder table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.618942026Z level=info msg="Migration successfully executed" id="create folder table" duration=1.613206ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.622433409Z level=info msg="Executing migration" id="Add index for parent_uid" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.623560989Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.13011ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.629274264Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.631130622Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.855848ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.634317452Z level=info msg="Executing migration" id="Update folder title length" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.634354572Z level=info msg="Migration successfully executed" id="Update folder title length" duration=38.1µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.636718565Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.637979717Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.261592ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.643286447Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.644337418Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.050301ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.647220625Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.648417566Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.196291ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.651146402Z level=info msg="Executing migration" id="Sync dashboard and folder table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.651571946Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=424.984µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.655930838Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.65619885Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=268.012µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.658820225Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.659917275Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.09716ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.662817643Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.664727581Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.908128ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.670116043Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.671986021Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.880198ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.6749988Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.6761683Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.16907ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.678889676Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.679985407Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.095361ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.684398778Z level=info msg="Executing migration" id="create anon_device table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.685322267Z level=info msg="Migration successfully executed" id="create anon_device table" duration=923.359µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.687892072Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.689074283Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.181911ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.694645667Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0100-upgrade.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | msg 18:15:54 policy-db-migrator | upgrade to 1100 completed 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | -------------- 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.696728987Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.086821ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.701638022Z level=info msg="Executing migration" id="create signing_key table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.702702003Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.073441ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.705837013Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.706999053Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.16183ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.709942511Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.711173874Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.231213ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.715926038Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.716267093Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=341.704µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.719486253Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.731481677Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.001804ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.734291393Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.734843179Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=552.326µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.739915757Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.739934527Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=19.81µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.742893485Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.743928385Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.03489ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.747245577Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.747281847Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=38.09µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.752651769Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.754598996Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.947257ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.757972808Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.759816596Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.843788ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.763002317Z level=info msg="Executing migration" id="create sso_setting table" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.764092168Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.090221ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.768441458Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.769289696Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=848.308µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.772671019Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.773024732Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=354.213µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.776493575Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.777156541Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=663.146µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.781562983Z level=info msg="Executing migration" id="create cloud_migration table v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.782916236Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=1.352583ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.786632632Z level=info msg="Executing migration" id="create cloud_migration_run table v1" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.788068685Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=1.429723ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.791666319Z level=info msg="Executing migration" id="add stack_id column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.800985918Z level=info msg="Migration successfully executed" id="add stack_id column" duration=9.319169ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.805119707Z level=info msg="Executing migration" id="add region_slug column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.815288064Z level=info msg="Migration successfully executed" id="add region_slug column" duration=10.167637ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.818675146Z level=info msg="Executing migration" id="add cluster_slug column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.827916754Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=9.241988ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.831158506Z level=info msg="Executing migration" id="add migration uid column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.840730036Z level=info msg="Migration successfully executed" id="add migration uid column" duration=9.57104ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.845642743Z level=info msg="Executing migration" id="Update uid column values for migration" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.845811035Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=168.642µs 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.851003384Z level=info msg="Executing migration" id="Add unique index migration_uid" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.852207425Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=1.204021ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.856512407Z level=info msg="Executing migration" id="add migration run uid column" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.868967835Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=12.456178ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.873064694Z level=info msg="Executing migration" id="Update uid column values for migration run" 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.873236936Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=165.642µs 18:15:54 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | TRUNCATE TABLE sequence 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP TABLE pdpstatistics 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | DROP TABLE statistics_sequence 18:15:54 policy-db-migrator | -------------- 18:15:54 policy-db-migrator | 18:15:54 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:15:54 policy-db-migrator | name version 18:15:54 policy-db-migrator | policyadmin 1300 18:15:54 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:15:54 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.876368546Z level=info msg="Executing migration" id="Add unique index migration_run_uid" 18:15:54 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.877482876Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=1.11372ms 18:15:54 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.880946579Z level=info msg="Executing migration" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" 18:15:54 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.906792855Z level=info msg="Migration successfully executed" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" duration=25.846346ms 18:15:54 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:17 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.910189437Z level=info msg="Executing migration" id="create cloud_migration_session v2" 18:15:54 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.910842253Z level=info msg="Migration successfully executed" id="create cloud_migration_session v2" duration=652.616µs 18:15:54 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.914894461Z level=info msg="Executing migration" id="create index UQE_cloud_migration_session_uid - v2" 18:15:54 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.916064793Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_session_uid - v2" duration=1.169932ms 18:15:54 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.919473385Z level=info msg="Executing migration" id="copy cloud_migration_session v1 to v2" 18:15:54 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.919845769Z level=info msg="Migration successfully executed" id="copy cloud_migration_session v1 to v2" duration=372.254µs 18:15:54 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.923272171Z level=info msg="Executing migration" id="drop cloud_migration_session_tmp_qwerty" 18:15:54 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.92408742Z level=info msg="Migration successfully executed" id="drop cloud_migration_session_tmp_qwerty" duration=815.159µs 18:15:54 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.929664513Z level=info msg="Executing migration" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" 18:15:54 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.954887823Z level=info msg="Migration successfully executed" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" duration=25.22323ms 18:15:54 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.958228114Z level=info msg="Executing migration" id="create cloud_migration_snapshot v2" 18:15:54 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.95884942Z level=info msg="Migration successfully executed" id="create cloud_migration_snapshot v2" duration=621.136µs 18:15:54 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.962758778Z level=info msg="Executing migration" id="create index UQE_cloud_migration_snapshot_uid - v2" 18:15:54 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.963896558Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_snapshot_uid - v2" duration=1.13743ms 18:15:54 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.9672724Z level=info msg="Executing migration" id="copy cloud_migration_snapshot v1 to v2" 18:15:54 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.967595403Z level=info msg="Migration successfully executed" id="copy cloud_migration_snapshot v1 to v2" duration=322.423µs 18:15:54 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.971117497Z level=info msg="Executing migration" id="drop cloud_migration_snapshot_tmp_qwerty" 18:15:54 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.972379169Z level=info msg="Migration successfully executed" id="drop cloud_migration_snapshot_tmp_qwerty" duration=1.261502ms 18:15:54 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.976867002Z level=info msg="Executing migration" id="add snapshot upload_url column" 18:15:54 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.987465672Z level=info msg="Migration successfully executed" id="add snapshot upload_url column" duration=10.59922ms 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.990907606Z level=info msg="Executing migration" id="add snapshot status column" 18:15:54 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:12.997621059Z level=info msg="Migration successfully executed" id="add snapshot status column" duration=6.712963ms 18:15:54 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.001163502Z level=info msg="Executing migration" id="add snapshot local_directory column" 18:15:54 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.010354678Z level=info msg="Migration successfully executed" id="add snapshot local_directory column" duration=9.191506ms 18:15:54 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.087442474Z level=info msg="Executing migration" id="add snapshot gms_snapshot_uid column" 18:15:54 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.098301456Z level=info msg="Migration successfully executed" id="add snapshot gms_snapshot_uid column" duration=10.869873ms 18:15:54 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.101724837Z level=info msg="Executing migration" id="add snapshot encryption_key column" 18:15:54 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:18 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.11099517Z level=info msg="Migration successfully executed" id="add snapshot encryption_key column" duration=9.275583ms 18:15:54 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.11429194Z level=info msg="Executing migration" id="add snapshot error_string column" 18:15:54 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.120955071Z level=info msg="Migration successfully executed" id="add snapshot error_string column" duration=6.663011ms 18:15:54 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.123891107Z level=info msg="Executing migration" id="create cloud_migration_resource table v1" 18:15:54 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.124789007Z level=info msg="Migration successfully executed" id="create cloud_migration_resource table v1" duration=897.6µs 18:15:54 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.128853257Z level=info msg="Executing migration" id="delete cloud_migration_snapshot.result column" 18:15:54 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.167111342Z level=info msg="Migration successfully executed" id="delete cloud_migration_snapshot.result column" duration=38.259215ms 18:15:54 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.170086459Z level=info msg="Executing migration" id="add cloud_migration_resource.name column" 18:15:54 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.177344717Z level=info msg="Migration successfully executed" id="add cloud_migration_resource.name column" duration=7.257368ms 18:15:54 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.182652562Z level=info msg="Executing migration" id="add cloud_migration_resource.parent_name column" 18:15:54 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.192047436Z level=info msg="Migration successfully executed" id="add cloud_migration_resource.parent_name column" duration=9.395534ms 18:15:54 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.195216575Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 18:15:54 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.195280336Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=63.671µs 18:15:54 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.198340263Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 18:15:54 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.207677547Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.336444ms 18:15:54 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.213253715Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 18:15:54 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.222820551Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.566336ms 18:15:54 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.225882148Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 18:15:54 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.226167023Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=284.615µs 18:15:54 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.229184279Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" 18:15:54 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.229396482Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=212.523µs 18:15:54 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.232416218Z level=info msg="Executing migration" id="add record column to alert_rule table" 18:15:54 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.241733932Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=9.311384ms 18:15:54 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.245815532Z level=info msg="Executing migration" id="add record column to alert_rule_version table" 18:15:54 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:19 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.256087537Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=10.287385ms 18:15:54 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.259682391Z level=info msg="Executing migration" id="add resolved_at column to alert_instance table" 18:15:54 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.269891415Z level=info msg="Migration successfully executed" id="add resolved_at column to alert_instance table" duration=10.173534ms 18:15:54 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.27438285Z level=info msg="Executing migration" id="add last_sent_at column to alert_instance table" 18:15:54 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.283947296Z level=info msg="Migration successfully executed" id="add last_sent_at column to alert_instance table" duration=9.563916ms 18:15:54 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.287445779Z level=info msg="Executing migration" id="Enable traceQL streaming for all Tempo datasources" 18:15:54 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.287491219Z level=info msg="Migration successfully executed" id="Enable traceQL streaming for all Tempo datasources" duration=46.06µs 18:15:54 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.29075046Z level=info msg="Executing migration" id="Add scope to alert.notifications.receivers:read and alert.notifications.receivers.secrets:read" 18:15:54 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.291284196Z level=info msg="Migration successfully executed" id="Add scope to alert.notifications.receivers:read and alert.notifications.receivers.secrets:read" duration=533.336µs 18:15:54 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.294769849Z level=info msg="Executing migration" id="add metadata column to alert_rule table" 18:15:54 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.304485727Z level=info msg="Migration successfully executed" id="add metadata column to alert_rule table" duration=9.701478ms 18:15:54 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.308900791Z level=info msg="Executing migration" id="add metadata column to alert_rule_version table" 18:15:54 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.31865375Z level=info msg="Migration successfully executed" id="add metadata column to alert_rule_version table" duration=9.752539ms 18:15:54 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.322180423Z level=info msg="Executing migration" id="delete orphaned service account permissions" 18:15:54 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.322538797Z level=info msg="Migration successfully executed" id="delete orphaned service account permissions" duration=358.034µs 18:15:54 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.325363102Z level=info msg="Executing migration" id="adding action set permissions" 18:15:54 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.325958309Z level=info msg="Migration successfully executed" id="adding action set permissions" duration=595.097µs 18:15:54 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.330531355Z level=info msg="Executing migration" id="create user_external_session table" 18:15:54 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.331753389Z level=info msg="Migration successfully executed" id="create user_external_session table" duration=1.221604ms 18:15:54 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.335386304Z level=info msg="migrations completed" performed=608 skipped=0 duration=4.639284157s 18:15:54 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=migrator t=2024-10-26T18:14:13.336069612Z level=info msg="Unlocking database" 18:15:54 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:20 18:15:54 grafana | logger=sqlstore t=2024-10-26T18:14:13.353335733Z level=info msg="Created default admin" user=admin 18:15:54 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=sqlstore t=2024-10-26T18:14:13.353733337Z level=info msg="Created default organization" 18:15:54 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=secrets t=2024-10-26T18:14:13.358183322Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:15:54 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-10-26T18:14:13.427426356Z level=info msg="Restored cache from database" duration=656.708µs 18:15:54 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=plugin.store t=2024-10-26T18:14:13.429049486Z level=info msg="Loading plugins..." 18:15:54 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2610241814170800u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=plugins.registration t=2024-10-26T18:14:13.483718772Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" 18:15:54 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=plugins.initialization t=2024-10-26T18:14:13.483844794Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" 18:15:54 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=local.finder t=2024-10-26T18:14:13.484230619Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:15:54 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=plugin.store t=2024-10-26T18:14:13.4843609Z level=info msg="Plugins loaded" count=54 duration=55.312054ms 18:15:54 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=query_data t=2024-10-26T18:14:13.493113537Z level=info msg="Query Service initialization" 18:15:54 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=live.push_http t=2024-10-26T18:14:13.499325942Z level=info msg="Live Push Gateway initialization" 18:15:54 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=ngalert.notifier.alertmanager org=1 t=2024-10-26T18:14:13.506099905Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 18:15:54 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=ngalert.state.manager t=2024-10-26T18:14:13.522397424Z level=info msg="Running in alternative execution of Error/NoData mode" 18:15:54 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=infra.usagestats.collector t=2024-10-26T18:14:13.526050679Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:15:54 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=provisioning.datasources t=2024-10-26T18:14:13.528462427Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:15:54 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=provisioning.alerting t=2024-10-26T18:14:13.549254732Z level=info msg="starting to provision alerting" 18:15:54 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=provisioning.alerting t=2024-10-26T18:14:13.549278802Z level=info msg="finished to provision alerting" 18:15:54 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=plugin.backgroundinstaller t=2024-10-26T18:14:13.549460064Z level=info msg="Installing plugin" pluginId=grafana-lokiexplore-app version= 18:15:54 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2610241814170900u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=ngalert.multiorg.alertmanager t=2024-10-26T18:14:13.549668626Z level=info msg="Starting MultiOrg Alertmanager" 18:15:54 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2610241814171000u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=grafanaStorageLogger t=2024-10-26T18:14:13.550367365Z level=info msg="Storage starting" 18:15:54 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2610241814171000u 1 2024-10-26 18:14:21 18:15:54 grafana | logger=ngalert.state.manager t=2024-10-26T18:14:13.549366853Z level=info msg="Warming state cache for startup" 18:15:54 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2610241814171000u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=http.server t=2024-10-26T18:14:13.554523856Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:15:54 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2610241814171000u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=plugins.update.checker t=2024-10-26T18:14:13.621092268Z level=info msg="Update check succeeded" duration=71.030877ms 18:15:54 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2610241814171000u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=grafana.update.checker t=2024-10-26T18:14:13.637630818Z level=info msg="Update check succeeded" duration=88.059173ms 18:15:54 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2610241814171000u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=ngalert.state.manager t=2024-10-26T18:14:13.669420097Z level=info msg="State cache has been initialized" states=0 duration=120.042933ms 18:15:54 grafana | logger=ngalert.scheduler t=2024-10-26T18:14:13.669952433Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 18:15:54 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2610241814171000u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=ticker t=2024-10-26T18:14:13.670142935Z level=info msg=starting first_tick=2024-10-26T18:14:20Z 18:15:54 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2610241814171000u 1 2024-10-26 18:14:22 18:15:54 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2610241814171000u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=provisioning.dashboard t=2024-10-26T18:14:13.681709696Z level=info msg="starting to provision dashboards" 18:15:54 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2610241814171100u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=sqlstore.transactions t=2024-10-26T18:14:13.746470295Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:15:54 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2610241814171200u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-10-26T18:14:13.763491533Z level=info msg="Patterns update finished" duration=80.055866ms 18:15:54 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2610241814171200u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=sqlstore.transactions t=2024-10-26T18:14:13.768513634Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:15:54 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2610241814171200u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=grafana-apiserver t=2024-10-26T18:14:13.853262627Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 18:15:54 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2610241814171200u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=grafana-apiserver t=2024-10-26T18:14:13.854566294Z level=info msg="Adding GroupVersion iam.grafana.app v0alpha1 to ResourceManager" 18:15:54 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2610241814171300u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=grafana-apiserver t=2024-10-26T18:14:13.85509433Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 18:15:54 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2610241814171300u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=plugin.installer t=2024-10-26T18:14:13.962984446Z level=info msg="Installing plugin" pluginId=grafana-lokiexplore-app version= 18:15:54 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2610241814171300u 1 2024-10-26 18:14:22 18:15:54 grafana | logger=provisioning.dashboard t=2024-10-26T18:14:14.053962806Z level=info msg="finished to provision dashboards" 18:15:54 policy-db-migrator | policyadmin: OK @ 1300 18:15:54 grafana | logger=installer.fs t=2024-10-26T18:14:14.094766446Z level=info msg="Downloaded and extracted grafana-lokiexplore-app v1.0.2 zip successfully to /var/lib/grafana/plugins/grafana-lokiexplore-app" 18:15:54 grafana | logger=plugins.registration t=2024-10-26T18:14:14.124059617Z level=info msg="Plugin registered" pluginId=grafana-lokiexplore-app 18:15:54 grafana | logger=plugin.backgroundinstaller t=2024-10-26T18:14:14.124082497Z level=info msg="Plugin successfully installed" pluginId=grafana-lokiexplore-app version= duration=574.599153ms 18:15:54 ++ echo 'Tearing down containers...' 18:15:54 Tearing down containers... 18:15:54 ++ docker-compose down -v --remove-orphans 18:15:54 Stopping policy-api ... 18:15:54 Stopping grafana ... 18:15:54 Stopping mariadb ... 18:15:54 Stopping prometheus ... 18:15:55 Stopping grafana ... done 18:15:55 Stopping prometheus ... done 18:15:55 Stopping mariadb ... done 18:16:05 Stopping policy-api ... done 18:16:05 Removing policy-api ... 18:16:05 Removing policy-db-migrator ... 18:16:05 Removing grafana ... 18:16:05 Removing mariadb ... 18:16:05 Removing prometheus ... 18:16:05 Removing prometheus ... done 18:16:05 Removing policy-api ... done 18:16:05 Removing grafana ... done 18:16:05 Removing policy-db-migrator ... done 18:16:05 Removing mariadb ... done 18:16:05 Removing network compose_default 18:16:05 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:05 + load_set 18:16:05 + _setopts=hxB 18:16:05 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:05 ++ tr : ' ' 18:16:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:05 + set +o braceexpand 18:16:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:05 + set +o hashall 18:16:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:05 + set +o interactive-comments 18:16:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:05 + set +o xtrace 18:16:05 ++ echo hxB 18:16:05 ++ sed 's/./& /g' 18:16:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:05 + set +h 18:16:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:05 + set +x 18:16:05 + [[ -n /tmp/tmp.WSAaf7oaAS ]] 18:16:05 + rsync -av /tmp/tmp.WSAaf7oaAS/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:05 sending incremental file list 18:16:05 ./ 18:16:05 log.html 18:16:05 output.xml 18:16:05 report.html 18:16:05 testplan.txt 18:16:05 18:16:05 sent 1,345,809 bytes received 95 bytes 2,691,808.00 bytes/sec 18:16:05 total size is 1,345,158 speedup is 1.00 18:16:05 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:05 + exit 0 18:16:05 $ ssh-agent -k 18:16:05 unset SSH_AUTH_SOCK; 18:16:05 unset SSH_AGENT_PID; 18:16:05 echo Agent pid 2100 killed; 18:16:05 [ssh-agent] Stopped. 18:16:05 Robot results publisher started... 18:16:05 INFO: Checking test criticality is deprecated and will be dropped in a future release! 18:16:05 -Parsing output xml: 18:16:06 Done! 18:16:06 -Copying log files to build dir: 18:16:06 Done! 18:16:06 -Assigning results to build: 18:16:06 Done! 18:16:06 -Checking thresholds: 18:16:06 Done! 18:16:06 Done publishing Robot results. 18:16:06 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:06 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6265495907271138789.sh 18:16:06 ---> sysstat.sh 18:16:06 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1177189799208617170.sh 18:16:06 ---> package-listing.sh 18:16:06 ++ facter osfamily 18:16:06 ++ tr '[:upper:]' '[:lower:]' 18:16:06 + OS_FAMILY=debian 18:16:06 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:06 + START_PACKAGES=/tmp/packages_start.txt 18:16:06 + END_PACKAGES=/tmp/packages_end.txt 18:16:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:06 + PACKAGES=/tmp/packages_start.txt 18:16:06 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:06 + PACKAGES=/tmp/packages_end.txt 18:16:06 + case "${OS_FAMILY}" in 18:16:06 + dpkg -l 18:16:06 + grep '^ii' 18:16:07 + '[' -f /tmp/packages_start.txt ']' 18:16:07 + '[' -f /tmp/packages_end.txt ']' 18:16:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:07 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:07 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:07 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16224828076318345509.sh 18:16:07 ---> capture-instance-metadata.sh 18:16:07 Setup pyenv: 18:16:07 system 18:16:07 3.8.13 18:16:07 3.9.13 18:16:07 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c5Kp from file:/tmp/.os_lf_venv 18:16:08 lf-activate-venv(): INFO: Installing: lftools 18:16:16 lf-activate-venv(): INFO: Adding /tmp/venv-c5Kp/bin to PATH 18:16:16 INFO: Running in OpenStack, capturing instance metadata 18:16:16 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10545389504018489721.sh 18:16:16 provisioning config files... 18:16:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config17326251324052425234tmp 18:16:16 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:16 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:16 [EnvInject] - Injecting environment variables from a build step. 18:16:16 [EnvInject] - Injecting as environment variables the properties content 18:16:16 SERVER_ID=logs 18:16:16 18:16:16 [EnvInject] - Variables injected successfully. 18:16:16 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7861601308393527608.sh 18:16:16 ---> create-netrc.sh 18:16:17 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12133211117765190664.sh 18:16:17 ---> python-tools-install.sh 18:16:17 Setup pyenv: 18:16:17 system 18:16:17 3.8.13 18:16:17 3.9.13 18:16:17 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c5Kp from file:/tmp/.os_lf_venv 18:16:18 lf-activate-venv(): INFO: Installing: lftools 18:16:26 lf-activate-venv(): INFO: Adding /tmp/venv-c5Kp/bin to PATH 18:16:26 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3080940282337726713.sh 18:16:26 ---> sudo-logs.sh 18:16:26 Archiving 'sudo' log.. 18:16:26 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8695501702306737200.sh 18:16:26 ---> job-cost.sh 18:16:26 Setup pyenv: 18:16:26 system 18:16:26 3.8.13 18:16:26 3.9.13 18:16:26 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c5Kp from file:/tmp/.os_lf_venv 18:16:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:16:31 lf-activate-venv(): INFO: Adding /tmp/venv-c5Kp/bin to PATH 18:16:31 INFO: No Stack... 18:16:31 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:31 INFO: Archiving Costs 18:16:31 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins16174383839759390682.sh 18:16:31 ---> logs-deploy.sh 18:16:31 Setup pyenv: 18:16:31 system 18:16:31 3.8.13 18:16:31 3.9.13 18:16:31 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:31 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c5Kp from file:/tmp/.os_lf_venv 18:16:32 lf-activate-venv(): INFO: Installing: lftools 18:16:40 lf-activate-venv(): INFO: Adding /tmp/venv-c5Kp/bin to PATH 18:16:40 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/350 18:16:40 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:16:41 Archives upload complete. 18:16:41 INFO: archiving logs to Nexus 18:16:42 ---> uname -a: 18:16:42 Linux prd-ubuntu1804-docker-8c-8g-79772 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 18:16:42 18:16:42 18:16:42 ---> lscpu: 18:16:42 Architecture: x86_64 18:16:42 CPU op-mode(s): 32-bit, 64-bit 18:16:42 Byte Order: Little Endian 18:16:42 CPU(s): 8 18:16:42 On-line CPU(s) list: 0-7 18:16:42 Thread(s) per core: 1 18:16:42 Core(s) per socket: 1 18:16:42 Socket(s): 8 18:16:42 NUMA node(s): 1 18:16:42 Vendor ID: AuthenticAMD 18:16:42 CPU family: 23 18:16:42 Model: 49 18:16:42 Model name: AMD EPYC-Rome Processor 18:16:42 Stepping: 0 18:16:42 CPU MHz: 2799.998 18:16:42 BogoMIPS: 5599.99 18:16:42 Virtualization: AMD-V 18:16:42 Hypervisor vendor: KVM 18:16:42 Virtualization type: full 18:16:42 L1d cache: 32K 18:16:42 L1i cache: 32K 18:16:42 L2 cache: 512K 18:16:42 L3 cache: 16384K 18:16:42 NUMA node0 CPU(s): 0-7 18:16:42 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 18:16:42 18:16:42 18:16:42 ---> nproc: 18:16:42 8 18:16:42 18:16:42 18:16:42 ---> df -h: 18:16:42 Filesystem Size Used Avail Use% Mounted on 18:16:42 udev 16G 0 16G 0% /dev 18:16:42 tmpfs 3.2G 708K 3.2G 1% /run 18:16:42 /dev/vda1 155G 12G 144G 8% / 18:16:42 tmpfs 16G 0 16G 0% /dev/shm 18:16:42 tmpfs 5.0M 0 5.0M 0% /run/lock 18:16:42 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:16:42 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:16:42 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:16:42 18:16:42 18:16:42 ---> free -m: 18:16:42 total used free shared buff/cache available 18:16:42 Mem: 32167 871 27210 0 4084 30839 18:16:42 Swap: 1023 0 1023 18:16:42 18:16:42 18:16:42 ---> ip addr: 18:16:42 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:16:42 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:16:42 inet 127.0.0.1/8 scope host lo 18:16:42 valid_lft forever preferred_lft forever 18:16:42 inet6 ::1/128 scope host 18:16:42 valid_lft forever preferred_lft forever 18:16:42 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:16:42 link/ether fa:16:3e:dd:18:4e brd ff:ff:ff:ff:ff:ff 18:16:42 inet 10.30.107.188/23 brd 10.30.107.255 scope global dynamic ens3 18:16:42 valid_lft 86081sec preferred_lft 86081sec 18:16:42 inet6 fe80::f816:3eff:fedd:184e/64 scope link 18:16:42 valid_lft forever preferred_lft forever 18:16:42 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:16:42 link/ether 02:42:21:03:62:e4 brd ff:ff:ff:ff:ff:ff 18:16:42 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:16:42 valid_lft forever preferred_lft forever 18:16:42 18:16:42 18:16:42 ---> sar -b -r -n DEV: 18:16:42 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-79772) 10/26/24 _x86_64_ (8 CPU) 18:16:42 18:16:42 18:11:27 LINUX RESTART (8 CPU) 18:16:42 18:16:42 18:12:01 tps rtps wtps bread/s bwrtn/s 18:16:42 18:13:01 349.86 49.36 300.50 2780.20 27325.71 18:16:42 18:14:01 159.42 10.04 149.38 1694.62 43815.83 18:16:42 18:15:01 343.78 11.93 331.84 798.13 72955.17 18:16:42 18:16:01 35.13 0.08 35.04 15.46 20333.31 18:16:42 Average: 222.04 17.85 204.19 1322.14 41107.73 18:16:42 18:16:42 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:16:42 18:13:01 30017836 31705176 2921384 8.87 75868 1916776 1401180 4.12 867520 1748932 220448 18:16:42 18:14:01 27926140 31639364 5013080 15.22 114012 3829516 1413188 4.16 1024132 3566544 1409904 18:16:42 18:15:01 26789676 30559072 6149544 18.67 128732 3861596 4352832 12.81 2187084 3505256 84 18:16:42 18:16:01 26960476 30754052 5978744 18.15 129080 3888860 2728488 8.03 2017428 3517572 80 18:16:42 Average: 27923532 31164416 5015688 15.23 111923 3374187 2473922 7.28 1524041 3084576 407629 18:16:42 18:16:42 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:16:42 18:13:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 18:16:42 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:42 18:13:01 ens3 85.87 59.36 1012.29 27.38 0.00 0.00 0.00 0.00 18:16:42 18:14:01 lo 9.20 9.20 0.85 0.85 0.00 0.00 0.00 0.00 18:16:42 18:14:01 br-b47539a0fcc2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:42 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:42 18:14:01 ens3 328.69 207.10 10441.08 17.90 0.00 0.00 0.00 0.00 18:16:42 18:15:01 lo 8.02 8.02 8.42 8.42 0.00 0.00 0.00 0.00 18:16:42 18:15:01 br-b47539a0fcc2 8.45 10.58 6.60 139.67 0.00 0.00 0.00 0.00 18:16:42 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:42 18:15:01 vethde787e2 0.17 0.47 0.02 0.46 0.00 0.00 0.00 0.00 18:16:42 18:16:01 lo 10.23 10.23 0.78 0.78 0.00 0.00 0.00 0.00 18:16:42 18:16:01 br-b47539a0fcc2 1.98 2.07 0.15 0.19 0.00 0.00 0.00 0.00 18:16:42 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:42 18:16:01 veth71233ee 126.21 107.00 41.91 114.02 0.00 0.00 0.00 0.01 18:16:42 Average: lo 7.19 7.19 2.55 2.55 0.00 0.00 0.00 0.00 18:16:42 Average: br-b47539a0fcc2 2.61 3.16 1.69 34.96 0.00 0.00 0.00 0.00 18:16:42 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:42 Average: veth71233ee 31.55 26.75 10.48 28.50 0.00 0.00 0.00 0.00 18:16:42 18:16:42 18:16:42 ---> sar -P ALL: 18:16:42 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-79772) 10/26/24 _x86_64_ (8 CPU) 18:16:42 18:16:42 18:11:27 LINUX RESTART (8 CPU) 18:16:42 18:16:42 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:16:42 18:13:01 all 9.89 0.00 0.89 2.95 0.04 86.24 18:16:42 18:13:01 0 0.87 0.00 0.23 6.01 0.03 92.86 18:16:42 18:13:01 1 0.90 0.00 1.09 4.16 0.02 93.83 18:16:42 18:13:01 2 7.24 0.00 0.73 4.32 0.02 87.69 18:16:42 18:13:01 3 22.09 0.00 1.45 1.27 0.03 75.16 18:16:42 18:13:01 4 28.58 0.00 1.66 2.24 0.05 67.47 18:16:42 18:13:01 5 1.92 0.00 0.45 3.75 0.07 93.81 18:16:42 18:13:01 6 13.86 0.00 1.13 1.78 0.05 83.17 18:16:42 18:13:01 7 3.64 0.00 0.35 0.05 0.02 95.94 18:16:42 18:14:01 all 12.19 0.00 3.17 2.75 0.06 81.83 18:16:42 18:14:01 0 16.11 0.00 3.84 0.32 0.07 79.66 18:16:42 18:14:01 1 6.10 0.00 2.87 0.93 0.07 90.04 18:16:42 18:14:01 2 9.14 0.00 3.58 7.10 0.07 80.12 18:16:42 18:14:01 3 7.70 0.00 3.33 4.19 0.05 84.73 18:16:42 18:14:01 4 13.57 0.00 3.46 3.65 0.05 79.27 18:16:42 18:14:01 5 30.58 0.00 3.49 1.46 0.10 64.36 18:16:42 18:14:01 6 5.61 0.00 2.57 4.23 0.05 87.54 18:16:42 18:14:01 7 8.72 0.00 2.20 0.17 0.05 88.86 18:16:42 18:15:01 all 15.71 0.00 2.23 3.41 0.06 78.59 18:16:42 18:15:01 0 13.03 0.00 1.91 10.22 0.07 74.78 18:16:42 18:15:01 1 17.62 0.00 2.43 0.67 0.05 79.23 18:16:42 18:15:01 2 19.45 0.00 2.43 2.19 0.08 75.84 18:16:42 18:15:01 3 10.97 0.00 2.55 9.41 0.07 77.00 18:16:42 18:15:01 4 7.00 0.00 1.30 1.39 0.05 90.26 18:16:42 18:15:01 5 25.73 0.00 3.31 1.97 0.05 68.94 18:16:42 18:15:01 6 17.69 0.00 2.28 0.94 0.05 79.05 18:16:42 18:15:01 7 14.17 0.00 1.63 0.50 0.07 83.63 18:16:42 18:16:01 all 0.84 0.00 0.24 1.19 0.03 97.70 18:16:42 18:16:01 0 0.28 0.00 0.28 7.40 0.02 92.02 18:16:42 18:16:01 1 0.82 0.00 0.12 0.02 0.02 99.03 18:16:42 18:16:01 2 0.88 0.00 0.35 0.02 0.05 98.70 18:16:42 18:16:01 3 1.70 0.00 0.30 0.23 0.07 97.70 18:16:42 18:16:01 4 0.33 0.00 0.15 0.20 0.02 99.30 18:16:42 18:16:01 5 0.67 0.00 0.22 0.50 0.02 98.60 18:16:42 18:16:01 6 0.67 0.00 0.23 0.62 0.02 98.46 18:16:42 18:16:01 7 1.40 0.00 0.28 0.53 0.03 97.75 18:16:42 Average: all 9.65 0.00 1.63 2.57 0.05 86.10 18:16:42 Average: 0 7.55 0.00 1.56 5.99 0.05 84.85 18:16:42 Average: 1 6.35 0.00 1.62 1.45 0.04 90.54 18:16:42 Average: 2 9.17 0.00 1.77 3.40 0.05 85.60 18:16:42 Average: 3 10.62 0.00 1.90 3.76 0.05 83.66 18:16:42 Average: 4 12.36 0.00 1.64 1.87 0.04 84.09 18:16:42 Average: 5 14.70 0.00 1.86 1.92 0.06 81.46 18:16:42 Average: 6 9.46 0.00 1.55 1.89 0.04 87.06 18:16:42 Average: 7 6.97 0.00 1.12 0.31 0.04 91.56 18:16:42 18:16:42 18:16:42