18:14:02 Started by timer 18:14:02 Running as SYSTEM 18:14:02 [EnvInject] - Loading node environment variables. 18:14:02 Building remotely on prd-ubuntu1804-docker-8c-8g-14416 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:14:02 [ssh-agent] Looking for ssh-agent implementation... 18:14:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:14:03 $ ssh-agent 18:14:03 SSH_AUTH_SOCK=/tmp/ssh-ZTI4yYqc1Sbq/agent.2159 18:14:03 SSH_AGENT_PID=2161 18:14:03 [ssh-agent] Started. 18:14:03 Running ssh-add (command line suppressed) 18:14:03 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_18151972364503181878.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_18151972364503181878.key) 18:14:03 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:14:03 The recommended git tool is: NONE 18:14:04 using credential onap-jenkins-ssh 18:14:04 Wiping out workspace first. 18:14:04 Cloning the remote Git repository 18:14:04 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:14:04 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:14:04 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:14:04 > git --version # timeout=10 18:14:04 > git --version # 'git version 2.17.1' 18:14:04 using GIT_SSH to set credentials Gerrit user 18:14:05 Verifying host key using manually-configured host key entries 18:14:05 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:14:05 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:14:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:14:05 Avoid second fetch 18:14:05 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:14:05 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:14:05 > git config core.sparsecheckout # timeout=10 18:14:05 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:14:06 Commit message: "Set Montreal default branch" 18:14:06 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:14:06 provisioning config files... 18:14:06 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:14:06 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:14:06 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16094035423016881059.sh 18:14:06 ---> python-tools-install.sh 18:14:06 Setup pyenv: 18:14:06 * system (set by /opt/pyenv/version) 18:14:06 * 3.8.13 (set by /opt/pyenv/version) 18:14:06 * 3.9.13 (set by /opt/pyenv/version) 18:14:06 * 3.10.6 (set by /opt/pyenv/version) 18:14:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tTXc 18:14:11 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:14:14 lf-activate-venv(): INFO: Installing: lftools 18:14:50 lf-activate-venv(): INFO: Adding /tmp/venv-tTXc/bin to PATH 18:14:50 Generating Requirements File 18:15:19 Python 3.10.6 18:15:19 pip 24.0 from /tmp/venv-tTXc/lib/python3.10/site-packages/pip (python 3.10) 18:15:19 appdirs==1.4.4 18:15:19 argcomplete==3.2.3 18:15:19 aspy.yaml==1.3.0 18:15:19 attrs==23.2.0 18:15:19 autopage==0.5.2 18:15:19 beautifulsoup4==4.12.3 18:15:19 boto3==1.34.65 18:15:19 botocore==1.34.65 18:15:19 bs4==0.0.2 18:15:19 cachetools==5.3.3 18:15:19 certifi==2024.2.2 18:15:19 cffi==1.16.0 18:15:19 cfgv==3.4.0 18:15:19 chardet==5.2.0 18:15:19 charset-normalizer==3.3.2 18:15:19 click==8.1.7 18:15:19 cliff==4.6.0 18:15:19 cmd2==2.4.3 18:15:19 cryptography==3.3.2 18:15:19 debtcollector==3.0.0 18:15:19 decorator==5.1.1 18:15:19 defusedxml==0.7.1 18:15:19 Deprecated==1.2.14 18:15:19 distlib==0.3.8 18:15:19 dnspython==2.6.1 18:15:19 docker==4.2.2 18:15:19 dogpile.cache==1.3.2 18:15:19 email_validator==2.1.1 18:15:19 filelock==3.13.1 18:15:19 future==1.0.0 18:15:19 gitdb==4.0.11 18:15:19 GitPython==3.1.42 18:15:19 google-auth==2.28.2 18:15:19 httplib2==0.22.0 18:15:19 identify==2.5.35 18:15:19 idna==3.6 18:15:19 importlib-resources==1.5.0 18:15:19 iso8601==2.1.0 18:15:19 Jinja2==3.1.3 18:15:19 jmespath==1.0.1 18:15:19 jsonpatch==1.33 18:15:19 jsonpointer==2.4 18:15:19 jsonschema==4.21.1 18:15:19 jsonschema-specifications==2023.12.1 18:15:19 keystoneauth1==5.6.0 18:15:19 kubernetes==29.0.0 18:15:19 lftools==0.37.10 18:15:19 lxml==5.1.0 18:15:19 MarkupSafe==2.1.5 18:15:19 msgpack==1.0.8 18:15:19 multi_key_dict==2.0.3 18:15:19 munch==4.0.0 18:15:19 netaddr==1.2.1 18:15:19 netifaces==0.11.0 18:15:19 niet==1.4.2 18:15:19 nodeenv==1.8.0 18:15:19 oauth2client==4.1.3 18:15:19 oauthlib==3.2.2 18:15:19 openstacksdk==3.0.0 18:15:19 os-client-config==2.1.0 18:15:19 os-service-types==1.7.0 18:15:19 osc-lib==3.0.1 18:15:19 oslo.config==9.4.0 18:15:19 oslo.context==5.5.0 18:15:19 oslo.i18n==6.3.0 18:15:19 oslo.log==5.5.0 18:15:19 oslo.serialization==5.4.0 18:15:19 oslo.utils==7.1.0 18:15:19 packaging==24.0 18:15:19 pbr==6.0.0 18:15:19 platformdirs==4.2.0 18:15:19 prettytable==3.10.0 18:15:19 pyasn1==0.5.1 18:15:19 pyasn1-modules==0.3.0 18:15:19 pycparser==2.21 18:15:19 pygerrit2==2.0.15 18:15:19 PyGithub==2.2.0 18:15:19 pyinotify==0.9.6 18:15:19 PyJWT==2.8.0 18:15:19 PyNaCl==1.5.0 18:15:19 pyparsing==2.4.7 18:15:19 pyperclip==1.8.2 18:15:19 pyrsistent==0.20.0 18:15:19 python-cinderclient==9.5.0 18:15:19 python-dateutil==2.9.0.post0 18:15:19 python-heatclient==3.5.0 18:15:19 python-jenkins==1.8.2 18:15:19 python-keystoneclient==5.4.0 18:15:19 python-magnumclient==4.4.0 18:15:19 python-novaclient==18.6.0 18:15:19 python-openstackclient==6.6.0 18:15:19 python-swiftclient==4.5.0 18:15:19 PyYAML==6.0.1 18:15:19 referencing==0.34.0 18:15:19 requests==2.31.0 18:15:19 requests-oauthlib==1.4.0 18:15:19 requestsexceptions==1.4.0 18:15:19 rfc3986==2.0.0 18:15:19 rpds-py==0.18.0 18:15:19 rsa==4.9 18:15:19 ruamel.yaml==0.18.6 18:15:19 ruamel.yaml.clib==0.2.8 18:15:19 s3transfer==0.10.1 18:15:19 simplejson==3.19.2 18:15:19 six==1.16.0 18:15:19 smmap==5.0.1 18:15:19 soupsieve==2.5 18:15:19 stevedore==5.2.0 18:15:19 tabulate==0.9.0 18:15:19 toml==0.10.2 18:15:19 tomlkit==0.12.4 18:15:19 tqdm==4.66.2 18:15:19 typing_extensions==4.10.0 18:15:19 tzdata==2024.1 18:15:19 urllib3==1.26.18 18:15:19 virtualenv==20.25.1 18:15:19 wcwidth==0.2.13 18:15:19 websocket-client==1.7.0 18:15:19 wrapt==1.16.0 18:15:19 xdg==6.0.0 18:15:19 xmltodict==0.13.0 18:15:19 yq==3.2.3 18:15:20 [EnvInject] - Injecting environment variables from a build step. 18:15:20 [EnvInject] - Injecting as environment variables the properties content 18:15:20 SET_JDK_VERSION=openjdk17 18:15:20 GIT_URL="git://cloud.onap.org/mirror" 18:15:20 18:15:20 [EnvInject] - Variables injected successfully. 18:15:20 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins17854614638734576483.sh 18:15:20 ---> update-java-alternatives.sh 18:15:20 ---> Updating Java version 18:15:20 ---> Ubuntu/Debian system detected 18:15:20 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:15:20 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:15:20 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 18:15:20 openjdk version "17.0.4" 2022-07-19 18:15:20 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:15:20 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:15:20 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:15:20 [EnvInject] - Injecting environment variables from a build step. 18:15:20 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:15:20 [EnvInject] - Variables injected successfully. 18:15:20 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins6522399318416467324.sh 18:15:20 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:15:20 + set +u 18:15:20 + save_set 18:15:20 + RUN_CSIT_SAVE_SET=ehxB 18:15:20 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:15:20 + '[' 1 -eq 0 ']' 18:15:20 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:15:20 + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:15:20 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:15:20 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:15:20 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:15:20 + export ROBOT_VARIABLES= 18:15:20 + ROBOT_VARIABLES= 18:15:20 + export PROJECT=api 18:15:20 + PROJECT=api 18:15:20 + cd /w/workspace/policy-api-montreal-project-csit-api 18:15:20 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:15:20 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:15:20 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:15:20 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:15:20 + relax_set 18:15:20 + set +e 18:15:20 + set +o pipefail 18:15:20 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:15:20 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:15:20 +++ mktemp -d 18:15:20 ++ ROBOT_VENV=/tmp/tmp.z2ptUu1Jw1 18:15:20 ++ echo ROBOT_VENV=/tmp/tmp.z2ptUu1Jw1 18:15:20 +++ python3 --version 18:15:20 ++ echo 'Python version is: Python 3.6.9' 18:15:20 Python version is: Python 3.6.9 18:15:20 ++ python3 -m venv --clear /tmp/tmp.z2ptUu1Jw1 18:15:22 ++ source /tmp/tmp.z2ptUu1Jw1/bin/activate 18:15:22 +++ deactivate nondestructive 18:15:22 +++ '[' -n '' ']' 18:15:22 +++ '[' -n '' ']' 18:15:22 +++ '[' -n /bin/bash -o -n '' ']' 18:15:22 +++ hash -r 18:15:22 +++ '[' -n '' ']' 18:15:22 +++ unset VIRTUAL_ENV 18:15:22 +++ '[' '!' nondestructive = nondestructive ']' 18:15:22 +++ VIRTUAL_ENV=/tmp/tmp.z2ptUu1Jw1 18:15:22 +++ export VIRTUAL_ENV 18:15:22 +++ _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:15:22 +++ PATH=/tmp/tmp.z2ptUu1Jw1/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:15:22 +++ export PATH 18:15:22 +++ '[' -n '' ']' 18:15:22 +++ '[' -z '' ']' 18:15:22 +++ _OLD_VIRTUAL_PS1= 18:15:22 +++ '[' 'x(tmp.z2ptUu1Jw1) ' '!=' x ']' 18:15:22 +++ PS1='(tmp.z2ptUu1Jw1) ' 18:15:22 +++ export PS1 18:15:22 +++ '[' -n /bin/bash -o -n '' ']' 18:15:22 +++ hash -r 18:15:22 ++ set -exu 18:15:22 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:15:25 ++ echo 'Installing Python Requirements' 18:15:25 Installing Python Requirements 18:15:25 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:15:45 ++ python3 -m pip -qq freeze 18:15:45 bcrypt==4.0.1 18:15:45 beautifulsoup4==4.12.3 18:15:45 bitarray==2.9.2 18:15:45 certifi==2024.2.2 18:15:45 cffi==1.15.1 18:15:45 charset-normalizer==2.0.12 18:15:45 cryptography==40.0.2 18:15:45 decorator==5.1.1 18:15:45 elasticsearch==7.17.9 18:15:45 elasticsearch-dsl==7.4.1 18:15:45 enum34==1.1.10 18:15:45 idna==3.6 18:15:45 importlib-resources==5.4.0 18:15:45 ipaddr==2.2.0 18:15:45 isodate==0.6.1 18:15:45 jmespath==0.10.0 18:15:45 jsonpatch==1.32 18:15:45 jsonpath-rw==1.4.0 18:15:45 jsonpointer==2.3 18:15:45 lxml==5.1.0 18:15:45 netaddr==0.8.0 18:15:45 netifaces==0.11.0 18:15:45 odltools==0.1.28 18:15:45 paramiko==3.4.0 18:15:45 pkg_resources==0.0.0 18:15:45 ply==3.11 18:15:45 pyang==2.6.0 18:15:45 pyangbind==0.8.1 18:15:45 pycparser==2.21 18:15:45 pyhocon==0.3.60 18:15:45 PyNaCl==1.5.0 18:15:45 pyparsing==3.1.2 18:15:45 python-dateutil==2.9.0.post0 18:15:45 regex==2023.8.8 18:15:45 requests==2.27.1 18:15:45 robotframework==6.1.1 18:15:45 robotframework-httplibrary==0.4.2 18:15:45 robotframework-pythonlibcore==3.0.0 18:15:45 robotframework-requests==0.9.4 18:15:45 robotframework-selenium2library==3.0.0 18:15:45 robotframework-seleniumlibrary==5.1.3 18:15:45 robotframework-sshlibrary==3.8.0 18:15:45 scapy==2.5.0 18:15:45 scp==0.14.5 18:15:45 selenium==3.141.0 18:15:45 six==1.16.0 18:15:45 soupsieve==2.3.2.post1 18:15:45 urllib3==1.26.18 18:15:45 waitress==2.0.0 18:15:45 WebOb==1.8.7 18:15:45 WebTest==3.0.0 18:15:45 zipp==3.6.0 18:15:45 ++ mkdir -p /tmp/tmp.z2ptUu1Jw1/src/onap 18:15:45 ++ rm -rf /tmp/tmp.z2ptUu1Jw1/src/onap/testsuite 18:15:45 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 18:15:51 ++ echo 'Uninstall docker-py and reinstall docker.' 18:15:51 Uninstall docker-py and reinstall docker. 18:15:51 ++ python3 -m pip uninstall -y -qq docker 18:15:51 ++ python3 -m pip install -U -qq docker 18:15:52 ++ python3 -m pip -qq freeze 18:15:53 bcrypt==4.0.1 18:15:53 beautifulsoup4==4.12.3 18:15:53 bitarray==2.9.2 18:15:53 certifi==2024.2.2 18:15:53 cffi==1.15.1 18:15:53 charset-normalizer==2.0.12 18:15:53 cryptography==40.0.2 18:15:53 decorator==5.1.1 18:15:53 deepdiff==5.7.0 18:15:53 dnspython==2.2.1 18:15:53 docker==5.0.3 18:15:53 elasticsearch==7.17.9 18:15:53 elasticsearch-dsl==7.4.1 18:15:53 enum34==1.1.10 18:15:53 future==1.0.0 18:15:53 idna==3.6 18:15:53 importlib-resources==5.4.0 18:15:53 ipaddr==2.2.0 18:15:53 isodate==0.6.1 18:15:53 Jinja2==3.0.3 18:15:53 jmespath==0.10.0 18:15:53 jsonpatch==1.32 18:15:53 jsonpath-rw==1.4.0 18:15:53 jsonpointer==2.3 18:15:53 kafka-python==2.0.2 18:15:53 lxml==5.1.0 18:15:53 MarkupSafe==2.0.1 18:15:53 more-itertools==5.0.0 18:15:53 netaddr==0.8.0 18:15:53 netifaces==0.11.0 18:15:53 odltools==0.1.28 18:15:53 ordered-set==4.0.2 18:15:53 paramiko==3.4.0 18:15:53 pbr==6.0.0 18:15:53 pkg_resources==0.0.0 18:15:53 ply==3.11 18:15:53 protobuf==3.19.6 18:15:53 pyang==2.6.0 18:15:53 pyangbind==0.8.1 18:15:53 pycparser==2.21 18:15:53 pyhocon==0.3.60 18:15:53 PyNaCl==1.5.0 18:15:53 pyparsing==3.1.2 18:15:53 python-dateutil==2.9.0.post0 18:15:53 PyYAML==6.0.1 18:15:53 regex==2023.8.8 18:15:53 requests==2.27.1 18:15:53 robotframework==6.1.1 18:15:53 robotframework-httplibrary==0.4.2 18:15:53 robotframework-onap==0.6.0.dev105 18:15:53 robotframework-pythonlibcore==3.0.0 18:15:53 robotframework-requests==0.9.4 18:15:53 robotframework-selenium2library==3.0.0 18:15:53 robotframework-seleniumlibrary==5.1.3 18:15:53 robotframework-sshlibrary==3.8.0 18:15:53 robotlibcore-temp==1.0.2 18:15:53 scapy==2.5.0 18:15:53 scp==0.14.5 18:15:53 selenium==3.141.0 18:15:53 six==1.16.0 18:15:53 soupsieve==2.3.2.post1 18:15:53 urllib3==1.26.18 18:15:53 waitress==2.0.0 18:15:53 WebOb==1.8.7 18:15:53 websocket-client==1.3.1 18:15:53 WebTest==3.0.0 18:15:53 zipp==3.6.0 18:15:53 ++ uname 18:15:53 ++ grep -q Linux 18:15:53 ++ sudo apt-get -y -qq install libxml2-utils 18:15:53 + load_set 18:15:53 + _setopts=ehuxB 18:15:53 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:15:53 ++ tr : ' ' 18:15:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:53 + set +o braceexpand 18:15:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:53 + set +o hashall 18:15:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:53 + set +o interactive-comments 18:15:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:53 + set +o nounset 18:15:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:53 + set +o xtrace 18:15:53 ++ sed 's/./& /g' 18:15:53 ++ echo ehuxB 18:15:53 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:53 + set +e 18:15:53 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:53 + set +h 18:15:53 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:53 + set +u 18:15:53 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:53 + set +x 18:15:53 + source_safely /tmp/tmp.z2ptUu1Jw1/bin/activate 18:15:53 + '[' -z /tmp/tmp.z2ptUu1Jw1/bin/activate ']' 18:15:53 + relax_set 18:15:53 + set +e 18:15:53 + set +o pipefail 18:15:53 + . /tmp/tmp.z2ptUu1Jw1/bin/activate 18:15:53 ++ deactivate nondestructive 18:15:53 ++ '[' -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:15:53 ++ 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:15:53 ++ export PATH 18:15:53 ++ unset _OLD_VIRTUAL_PATH 18:15:53 ++ '[' -n '' ']' 18:15:53 ++ '[' -n /bin/bash -o -n '' ']' 18:15:53 ++ hash -r 18:15:53 ++ '[' -n '' ']' 18:15:53 ++ unset VIRTUAL_ENV 18:15:53 ++ '[' '!' nondestructive = nondestructive ']' 18:15:53 ++ VIRTUAL_ENV=/tmp/tmp.z2ptUu1Jw1 18:15:53 ++ export VIRTUAL_ENV 18:15:53 ++ _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:15:53 ++ PATH=/tmp/tmp.z2ptUu1Jw1/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:15:53 ++ export PATH 18:15:53 ++ '[' -n '' ']' 18:15:53 ++ '[' -z '' ']' 18:15:53 ++ _OLD_VIRTUAL_PS1='(tmp.z2ptUu1Jw1) ' 18:15:53 ++ '[' 'x(tmp.z2ptUu1Jw1) ' '!=' x ']' 18:15:53 ++ PS1='(tmp.z2ptUu1Jw1) (tmp.z2ptUu1Jw1) ' 18:15:53 ++ export PS1 18:15:53 ++ '[' -n /bin/bash -o -n '' ']' 18:15:53 ++ hash -r 18:15:53 + load_set 18:15:53 + _setopts=hxB 18:15:53 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:15:53 ++ tr : ' ' 18:15:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:53 + set +o braceexpand 18:15:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:53 + set +o hashall 18:15:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:53 + set +o interactive-comments 18:15:53 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:53 + set +o xtrace 18:15:53 ++ echo hxB 18:15:53 ++ sed 's/./& /g' 18:15:53 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:53 + set +h 18:15:53 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:53 + set +x 18:15:53 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:15:53 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:15:53 + export TEST_OPTIONS= 18:15:53 + TEST_OPTIONS= 18:15:53 ++ mktemp -d 18:15:53 + WORKDIR=/tmp/tmp.vHf8phkpWy 18:15:53 + cd /tmp/tmp.vHf8phkpWy 18:15:53 + docker login -u docker -p docker nexus3.onap.org:10001 18:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:53 Configure a credential helper to remove this warning. See 18:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:53 18:15:53 Login Succeeded 18:15:53 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:15:53 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:15:53 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:15:53 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:15:53 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:15:53 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:15:53 + relax_set 18:15:53 + set +e 18:15:53 + set +o pipefail 18:15:53 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:15:53 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:15:53 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:15:53 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:15:53 +++ GERRIT_BRANCH=montreal 18:15:53 +++ echo GERRIT_BRANCH=montreal 18:15:53 GERRIT_BRANCH=montreal 18:15:53 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:15:53 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:15:53 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:15:53 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:15:54 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:15:54 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:15:54 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:15:54 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:15:54 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:15:54 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:15:54 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:15:54 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:15:54 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:15:54 +++ grafana=false 18:15:54 +++ gui=false 18:15:54 +++ [[ 2 -gt 0 ]] 18:15:54 +++ key=api 18:15:54 +++ case $key in 18:15:54 +++ echo api 18:15:54 api 18:15:54 +++ component=api 18:15:54 +++ shift 18:15:54 +++ [[ 1 -gt 0 ]] 18:15:54 +++ key=--grafana 18:15:54 +++ case $key in 18:15:54 +++ grafana=true 18:15:54 +++ shift 18:15:54 +++ [[ 0 -gt 0 ]] 18:15:54 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:15:54 +++ echo 'Configuring docker compose...' 18:15:54 Configuring docker compose... 18:15:54 +++ source export-ports.sh 18:15:54 +++ source get-versions.sh 18:15:57 +++ '[' -z api ']' 18:15:57 +++ '[' -n api ']' 18:15:57 +++ '[' api == logs ']' 18:15:57 +++ '[' true = true ']' 18:15:57 +++ echo 'Starting api application with Grafana' 18:15:57 Starting api application with Grafana 18:15:57 +++ docker-compose up -d api grafana 18:15:58 Creating network "compose_default" with the default driver 18:15:58 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:15:58 10.10.2: Pulling from mariadb 18:16:03 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:16:03 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:16:03 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:16:03 3.0.2: Pulling from onap/policy-db-migrator 18:16:07 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:16:07 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:16:07 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:16:07 3.0.2: Pulling from onap/policy-api 18:16:08 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:16:08 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:16:08 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:16:09 latest: Pulling from prom/prometheus 18:16:11 Digest: sha256:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e 18:16:11 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:16:11 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:16:11 latest: Pulling from grafana/grafana 18:16:17 Digest: sha256:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 18:16:17 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:16:17 Creating prometheus ... 18:16:17 Creating mariadb ... 18:16:31 Creating mariadb ... done 18:16:31 Creating policy-db-migrator ... 18:16:31 Creating policy-db-migrator ... done 18:16:31 Creating policy-api ... 18:16:32 Creating policy-api ... done 18:16:33 Creating prometheus ... done 18:16:33 Creating grafana ... 18:16:34 Creating grafana ... done 18:16:34 +++ echo 'Prometheus server: http://localhost:30259' 18:16:34 Prometheus server: http://localhost:30259 18:16:34 +++ echo 'Grafana server: http://localhost:30269' 18:16:34 Grafana server: http://localhost:30269 18:16:34 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:34 ++ sleep 10 18:16:44 ++ unset http_proxy https_proxy 18:16:44 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:16:44 Waiting for REST to come up on localhost port 30002... 18:16:44 NAMES STATUS 18:16:44 grafana Up 10 seconds 18:16:44 policy-api Up 11 seconds 18:16:44 mariadb Up 12 seconds 18:16:44 prometheus Up 10 seconds 18:16:49 NAMES STATUS 18:16:49 grafana Up 15 seconds 18:16:49 policy-api Up 16 seconds 18:16:49 mariadb Up 18 seconds 18:16:49 prometheus Up 15 seconds 18:16:54 NAMES STATUS 18:16:54 grafana Up 20 seconds 18:16:54 policy-api Up 21 seconds 18:16:54 mariadb Up 23 seconds 18:16:54 prometheus Up 21 seconds 18:16:59 NAMES STATUS 18:16:59 grafana Up 25 seconds 18:16:59 policy-api Up 26 seconds 18:16:59 mariadb Up 28 seconds 18:16:59 prometheus Up 26 seconds 18:16:59 ++ export 'SUITES=api-test.robot 18:16:59 api-slas.robot' 18:16:59 ++ SUITES='api-test.robot 18:16:59 api-slas.robot' 18:16:59 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:16:59 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:16:59 + load_set 18:16:59 + _setopts=hxB 18:16:59 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:59 ++ tr : ' ' 18:16:59 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:59 + set +o braceexpand 18:16:59 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:59 + set +o hashall 18:16:59 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:59 + set +o interactive-comments 18:16:59 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:59 + set +o xtrace 18:16:59 ++ echo hxB 18:16:59 ++ sed 's/./& /g' 18:16:59 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:59 + set +h 18:16:59 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:59 + set +x 18:16:59 + docker_stats 18:16:59 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:16:59 ++ uname -s 18:16:59 + '[' Linux == Darwin ']' 18:16:59 + sh -c 'top -bn1 | head -3' 18:16:59 top - 18:16:59 up 3 min, 0 users, load average: 2.21, 1.00, 0.40 18:16:59 Tasks: 177 total, 1 running, 101 sleeping, 0 stopped, 0 zombie 18:16:59 %Cpu(s): 10.5 us, 2.1 sy, 0.0 ni, 82.0 id, 5.3 wa, 0.0 hi, 0.0 si, 0.0 st 18:16:59 + echo 18:16:59 + sh -c 'free -h' 18:16:59 18:16:59 total used free shared buff/cache available 18:16:59 Mem: 31G 1.4G 26G 1.0M 4.0G 29G 18:16:59 Swap: 1.0G 0B 1.0G 18:16:59 + echo 18:16:59 18:16:59 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:59 NAMES STATUS 18:16:59 grafana Up 25 seconds 18:16:59 policy-api Up 26 seconds 18:16:59 mariadb Up 28 seconds 18:16:59 prometheus Up 26 seconds 18:16:59 + echo 18:16:59 + docker stats --no-stream 18:16:59 18:17:02 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:17:02 4f1ec3f868b1 grafana 0.04% 55.59MiB / 31.41GiB 0.17% 18.1kB / 3.12kB 0B / 24.6MB 14 18:17:02 3707c6483d80 policy-api 0.15% 469.1MiB / 31.41GiB 1.46% 999kB / 710kB 0B / 0B 54 18:17:02 83655dde3a7d mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 986kB / 1.17MB 11MB / 68.1MB 26 18:17:02 1d814824a58e prometheus 0.30% 18.55MiB / 31.41GiB 0.06% 1.08kB / 158B 98.3kB / 0B 13 18:17:02 + echo 18:17:02 18:17:02 + cd /tmp/tmp.vHf8phkpWy 18:17:02 + echo 'Reading the testplan:' 18:17:02 Reading the testplan: 18:17:02 + echo 'api-test.robot 18:17:02 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:17:02 api-slas.robot' 18:17:02 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:17:02 + cat testplan.txt 18:17:02 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:17:02 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:17:02 ++ xargs 18:17:02 + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' 18:17:02 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:17:02 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:17:02 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:17:02 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:17:02 + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' 18:17:02 Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... 18:17:02 + relax_set 18:17:02 + set +e 18:17:02 + set +o pipefail 18:17:02 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:17:02 ============================================================================== 18:17:02 api 18:17:02 ============================================================================== 18:17:02 api.Api-Test 18:17:02 ============================================================================== 18:17:02 Healthcheck :: Verify policy api health check | PASS | 18:17:02 ------------------------------------------------------------------------------ 18:17:05 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:17:05 ------------------------------------------------------------------------------ 18:17:05 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:17:05 ------------------------------------------------------------------------------ 18:17:05 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:17:05 ------------------------------------------------------------------------------ 18:17:06 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:17:06 ------------------------------------------------------------------------------ 18:17:06 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:17:06 ------------------------------------------------------------------------------ 18:17:06 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:17:06 ------------------------------------------------------------------------------ 18:17:06 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:17:06 ------------------------------------------------------------------------------ 18:17:07 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:17:07 ------------------------------------------------------------------------------ 18:17:07 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:17:07 ------------------------------------------------------------------------------ 18:17:07 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:17:07 ------------------------------------------------------------------------------ 18:17:08 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:17:08 ------------------------------------------------------------------------------ 18:17:08 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:17:08 ------------------------------------------------------------------------------ 18:17:08 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:17:08 ------------------------------------------------------------------------------ 18:17:08 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:17:08 ------------------------------------------------------------------------------ 18:17:08 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:17:08 ------------------------------------------------------------------------------ 18:17:09 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:17:09 ------------------------------------------------------------------------------ 18:17:09 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:17:09 ------------------------------------------------------------------------------ 18:17:09 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:17:09 ------------------------------------------------------------------------------ 18:17:09 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:17:09 ------------------------------------------------------------------------------ 18:17:10 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:17:10 ------------------------------------------------------------------------------ 18:17:10 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:17:10 ------------------------------------------------------------------------------ 18:17:10 api.Api-Test | PASS | 18:17:10 22 tests, 22 passed, 0 failed 18:17:10 ============================================================================== 18:17:10 api.Api-Slas 18:17:10 ============================================================================== 18:18:10 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:18:10 ------------------------------------------------------------------------------ 18:18:10 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:18:10 ------------------------------------------------------------------------------ 18:18:10 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:18:10 ------------------------------------------------------------------------------ 18:18:10 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:18:10 ------------------------------------------------------------------------------ 18:18:10 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:18:10 ------------------------------------------------------------------------------ 18:18:10 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:18:10 ------------------------------------------------------------------------------ 18:18:10 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:18:10 ------------------------------------------------------------------------------ 18:18:10 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:18:10 ------------------------------------------------------------------------------ 18:18:10 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:18:10 ------------------------------------------------------------------------------ 18:18:10 api.Api-Slas | PASS | 18:18:10 9 tests, 9 passed, 0 failed 18:18:10 ============================================================================== 18:18:10 api | PASS | 18:18:10 31 tests, 31 passed, 0 failed 18:18:10 ============================================================================== 18:18:10 Output: /tmp/tmp.vHf8phkpWy/output.xml 18:18:10 Log: /tmp/tmp.vHf8phkpWy/log.html 18:18:10 Report: /tmp/tmp.vHf8phkpWy/report.html 18:18:10 + RESULT=0 18:18:10 + load_set 18:18:10 + _setopts=hxB 18:18:10 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:18:10 ++ tr : ' ' 18:18:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:18:10 + set +o braceexpand 18:18:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:18:10 + set +o hashall 18:18:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:18:10 + set +o interactive-comments 18:18:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:18:10 + set +o xtrace 18:18:10 ++ echo hxB 18:18:10 ++ sed 's/./& /g' 18:18:10 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:18:10 + set +h 18:18:10 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:18:10 + set +x 18:18:10 + echo 'RESULT: 0' 18:18:10 RESULT: 0 18:18:10 + exit 0 18:18:10 + on_exit 18:18:10 + rc=0 18:18:10 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:18:10 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:18:10 NAMES STATUS 18:18:10 grafana Up About a minute 18:18:10 policy-api Up About a minute 18:18:10 mariadb Up About a minute 18:18:10 prometheus Up About a minute 18:18:10 + docker_stats 18:18:10 ++ uname -s 18:18:10 + '[' Linux == Darwin ']' 18:18:10 + sh -c 'top -bn1 | head -3' 18:18:10 top - 18:18:10 up 4 min, 0 users, load average: 0.85, 0.86, 0.39 18:18:10 Tasks: 175 total, 1 running, 99 sleeping, 0 stopped, 0 zombie 18:18:10 %Cpu(s): 9.0 us, 1.6 sy, 0.0 ni, 85.3 id, 4.0 wa, 0.0 hi, 0.0 si, 0.0 st 18:18:10 + echo 18:18:10 18:18:10 + sh -c 'free -h' 18:18:10 total used free shared buff/cache available 18:18:10 Mem: 31G 1.8G 25G 1.0M 4.0G 29G 18:18:10 Swap: 1.0G 0B 1.0G 18:18:10 + echo 18:18:10 18:18:10 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:18:10 NAMES STATUS 18:18:10 grafana Up About a minute 18:18:10 policy-api Up About a minute 18:18:10 mariadb Up About a minute 18:18:10 prometheus Up About a minute 18:18:10 + echo 18:18:10 18:18:10 + docker stats --no-stream 18:18:13 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:18:13 4f1ec3f868b1 grafana 0.03% 55.91MiB / 31.41GiB 0.17% 18.9kB / 4.26kB 0B / 24.6MB 14 18:18:13 3707c6483d80 policy-api 0.17% 885.8MiB / 31.41GiB 2.75% 7MB / 2.55MB 0B / 0B 54 18:18:13 83655dde3a7d mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 68.4MB 18 18:18:13 1d814824a58e prometheus 0.00% 23.94MiB / 31.41GiB 0.07% 55kB / 6.58kB 98.3kB / 0B 14 18:18:13 + echo 18:18:13 18:18:13 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:18:13 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:18:13 + relax_set 18:18:13 + set +e 18:18:13 + set +o pipefail 18:18:13 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:18:13 ++ echo 'Shut down started!' 18:18:13 Shut down started! 18:18:13 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:18:13 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:18:13 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:18:13 ++ source export-ports.sh 18:18:13 ++ source get-versions.sh 18:18:15 ++ echo 'Collecting logs from docker compose containers...' 18:18:15 Collecting logs from docker compose containers... 18:18:15 ++ docker-compose logs 18:18:16 ++ cat docker_compose.log 18:18:16 Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.160443137Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-19T18:16:34Z 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.160672689Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.160684859Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16068833Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16069136Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16069407Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16069677Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16069957Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16070261Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16070544Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16070806Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16071514Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16071801Z level=info msg=Target target=[all] 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16072375Z level=info msg="Path Home" path=/usr/share/grafana 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16073136Z level=info msg="Path Data" path=/var/lib/grafana 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16073419Z level=info msg="Path Logs" path=/var/log/grafana 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16073889Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.16078556Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:18:16 grafana | logger=settings t=2024-03-19T18:16:34.160789071Z level=info msg="App mode production" 18:18:16 grafana | logger=sqlstore t=2024-03-19T18:16:34.161199526Z level=info msg="Connecting to DB" dbtype=sqlite3 18:18:16 grafana | logger=sqlstore t=2024-03-19T18:16:34.161219416Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.161845922Z level=info msg="Starting DB migrations" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.162959383Z level=info msg="Executing migration" id="create migration_log table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.163858072Z level=info msg="Migration successfully executed" id="create migration_log table" duration=898.319µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.171750554Z level=info msg="Executing migration" id="create user table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.172710675Z level=info msg="Migration successfully executed" id="create user table" duration=959.801µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.176005479Z level=info msg="Executing migration" id="add unique index user.login" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.177406483Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.402804ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.18191124Z level=info msg="Executing migration" id="add unique index user.email" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.183173313Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.262173ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.189005953Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.189788912Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=784.439µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.192901984Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.193777243Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=877.589µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.197054187Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.200715245Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.660288ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.205957329Z level=info msg="Executing migration" id="create user table v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.20695361Z level=info msg="Migration successfully executed" id="create user table v2" duration=996.261µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.210186673Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.211632879Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.444946ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.215001643Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.215859212Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=857.119µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.219369008Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.219945274Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=576.486µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.225237889Z level=info msg="Executing migration" id="Drop old table user_v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.225852806Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=614.597µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.22914836Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.231020799Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.871869ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.234416385Z level=info msg="Executing migration" id="Update user table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.234518666Z level=info msg="Migration successfully executed" id="Update user table charset" duration=101.221µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.239979113Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.241165244Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.185722ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.244570939Z level=info msg="Executing migration" id="Add missing user data" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.245093405Z level=info msg="Migration successfully executed" id="Add missing user data" duration=514.456µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.248923075Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.250750733Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.823358ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.254114439Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.254980568Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=865.979µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.260327833Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.261646456Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.320173ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.265151054Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.27550886Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.358516ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.278997137Z level=info msg="Executing migration" id="Add uid column to user" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.28025227Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.254673ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.28418807Z level=info msg="Executing migration" id="Update uid column values for users" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.284537085Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=348.345µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.288531526Z level=info msg="Executing migration" id="Add unique index user_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.289367404Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=835.768µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.292644808Z level=info msg="Executing migration" id="create temp user table v1-7" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.293975452Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.334084ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.297980293Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.298934404Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=954.751µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.303593041Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.304408741Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=818.12µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.308029308Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.308846756Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=818.868µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.312526915Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.313341343Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=814.248µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.318110483Z level=info msg="Executing migration" id="Update temp_user table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.318159873Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=44.53µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.32168381Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.322467207Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=783.597µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.325868983Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.327087616Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.217633ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.331811264Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.332959097Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.148263ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.336859707Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.337963719Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.104232ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.341531675Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.344744069Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.211924ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.349085004Z level=info msg="Executing migration" id="create temp_user v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.350088474Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.00295ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.353315527Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.354240007Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=924.22µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.357817424Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.358602372Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=784.758µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.362799355Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.363535714Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=733.039µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.366792237Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.367528595Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=736.108µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.371268084Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.3718812Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=612.676µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.375040113Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.375623319Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=582.776µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.379805343Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.380234267Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=428.924µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.383658872Z level=info msg="Executing migration" id="create star table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.384368189Z level=info msg="Migration successfully executed" id="create star table" duration=711.997µs 18:18:16 mariadb | 2024-03-19 18:16:31+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:18:16 mariadb | 2024-03-19 18:16:31+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:18:16 mariadb | 2024-03-19 18:16:31+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:18:16 mariadb | 2024-03-19 18:16:31+00:00 [Note] [Entrypoint]: Initializing database files 18:18:16 mariadb | 2024-03-19 18:16:31 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:18:16 mariadb | 2024-03-19 18:16:31 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:18:16 mariadb | 2024-03-19 18:16:31 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:18:16 mariadb | 18:18:16 mariadb | 18:18:16 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:18:16 mariadb | To do so, start the server, then issue the following command: 18:18:16 mariadb | 18:18:16 mariadb | '/usr/bin/mysql_secure_installation' 18:18:16 mariadb | 18:18:16 mariadb | which will also give you the option of removing the test 18:18:16 mariadb | databases and anonymous user created by default. This is 18:18:16 mariadb | strongly recommended for production servers. 18:18:16 mariadb | 18:18:16 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:18:16 mariadb | 18:18:16 mariadb | Please report any problems at https://mariadb.org/jira 18:18:16 mariadb | 18:18:16 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:18:16 mariadb | 18:18:16 mariadb | Consider joining MariaDB's strong and vibrant community: 18:18:16 mariadb | https://mariadb.org/get-involved/ 18:18:16 mariadb | 18:18:16 mariadb | 2024-03-19 18:16:32+00:00 [Note] [Entrypoint]: Database files initialized 18:18:16 mariadb | 2024-03-19 18:16:32+00:00 [Note] [Entrypoint]: Starting temporary server 18:18:16 mariadb | 2024-03-19 18:16:32+00:00 [Note] [Entrypoint]: Waiting for server startup 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: Number of transaction pools: 1 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: Completed initialization of buffer pool 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: 128 rollback segments are active. 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] InnoDB: log sequence number 45452; transaction id 14 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] Plugin 'FEEDBACK' is disabled. 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:18:16 mariadb | 2024-03-19 18:16:32 0 [Note] mariadbd: ready for connections. 18:18:16 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 18:18:16 mariadb | 2024-03-19 18:16:33+00:00 [Note] [Entrypoint]: Temporary server started. 18:18:16 mariadb | 2024-03-19 18:16:35+00:00 [Note] [Entrypoint]: Creating user policy_user 18:18:16 mariadb | 2024-03-19 18:16:35+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:18:16 mariadb | 18:18:16 mariadb | 2024-03-19 18:16:35+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:18:16 mariadb | 18:18:16 mariadb | 2024-03-19 18:16:35+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:18:16 mariadb | #!/bin/bash -xv 18:18:16 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:18:16 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:18:16 mariadb | # 18:18:16 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:18:16 mariadb | # you may not use this file except in compliance with the License. 18:18:16 mariadb | # You may obtain a copy of the License at 18:18:16 mariadb | # 18:18:16 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:18:16 mariadb | # 18:18:16 mariadb | # Unless required by applicable law or agreed to in writing, software 18:18:16 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:18:16 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:18:16 mariadb | # See the License for the specific language governing permissions and 18:18:16 mariadb | # limitations under the License. 18:18:16 mariadb | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.387717334Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.388454562Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=737.088µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.392666175Z level=info msg="Executing migration" id="create org table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.393558584Z level=info msg="Migration successfully executed" id="create org table v1" duration=892.239µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.39695469Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.397676208Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=720.798µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.401297885Z level=info msg="Executing migration" id="create org_user table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.402015242Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=717.027µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.405273867Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.406045634Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=771.657µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.410081086Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.410922015Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=840.559µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.414052558Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.414893516Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=840.988µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.418248401Z level=info msg="Executing migration" id="Update org table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.418276271Z level=info msg="Migration successfully executed" id="Update org table charset" duration=28.07µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.421731887Z level=info msg="Executing migration" id="Update org_user table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.421758258Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=26.561µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.425798569Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.426043902Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=244.983µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.429252885Z level=info msg="Executing migration" id="create dashboard table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.429920821Z level=info msg="Migration successfully executed" id="create dashboard table" duration=667.556µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.434014614Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.434848953Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=835.059µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.438044096Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.438945176Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=903.07µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.443026858Z level=info msg="Executing migration" id="create dashboard_tag table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.443703014Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=675.666µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.446984409Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.447789417Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=804.478µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.451026691Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.451677897Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=650.926µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.455627019Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.460520329Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.89294ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.463949675Z level=info msg="Executing migration" id="create dashboard v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.464711873Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=761.748µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.467201749Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.467931466Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=729.617µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.472960878Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.473804517Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=843.529µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.47704205Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.477445244Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=400.704µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.481527457Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.482387826Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=859.849µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.486707921Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.486871203Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=160.052µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.490021955Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.491936165Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.91057ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.49532779Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.497098308Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.766028ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.501556345Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.503407274Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.850439ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.506609857Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.507421726Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=811.759µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.510641719Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.512440428Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.798099ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.516296267Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.517118007Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=821.23µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.520599972Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.52137819Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=782.918µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.524738155Z level=info msg="Executing migration" id="Update dashboard table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.524762065Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=39.03µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.528142381Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.528174891Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=28.6µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.532302724Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.534232074Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.92893ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.537310066Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.539274255Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.963609ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.542762562Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.544693882Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.93034ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.548986717Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.55219665Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.213253ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.556593966Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.556939519Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=346.883µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.560110472Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.560982711Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=871.939µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.565221565Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.566441718Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.220682ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.569848723Z level=info msg="Executing migration" id="Update dashboard title length" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.570026544Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=34.85µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.573543822Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.57438639Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=842.268µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.578671455Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.579467713Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=797.398µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.582597265Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.588043772Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.445937ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.591465997Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.592293705Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=827.308µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.595616201Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.59651616Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=899.819µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.601686973Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.602607273Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=923.32µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.605951917Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.606417632Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=464.075µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.609847218Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.611089871Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.232542ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.615714359Z level=info msg="Executing migration" id="Add check_sum column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.618824731Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.109782ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.622230476Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.623110075Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=879.789µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.62637721Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.626662153Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=277.962µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.630760755Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.631042217Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=281.192µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.634285241Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.634961589Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=676.448µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.63807649Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.639681866Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=1.604946ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.643520447Z level=info msg="Executing migration" id="create data_source table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.644252684Z level=info msg="Migration successfully executed" id="create data_source table" duration=732.997µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.647373126Z level=info msg="Executing migration" id="add index data_source.account_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.648012163Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=635.417µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.651047314Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.651713962Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=666.558µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.655581792Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.656174578Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=591.556µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.659049087Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.659650853Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=601.926µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.663278372Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.671883651Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.609019ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.677055015Z level=info msg="Executing migration" id="create data_source table v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.677921543Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=866.618µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.681258838Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.682242089Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=982.991µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.685549073Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.686602603Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.05333ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.690607894Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:18:16 policy-api | Waiting for mariadb port 3306... 18:18:16 policy-api | mariadb (172.17.0.3:3306) open 18:18:16 policy-api | Waiting for policy-db-migrator port 6824... 18:18:16 policy-api | policy-db-migrator (172.17.0.4:6824) open 18:18:16 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:18:16 policy-api | 18:18:16 policy-api | . ____ _ __ _ _ 18:18:16 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:18:16 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:18:16 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:18:16 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:18:16 policy-api | =========|_|==============|___/=/_/_/_/ 18:18:16 policy-api | :: Spring Boot :: (v3.1.4) 18:18:16 policy-api | 18:18:16 policy-api | [2024-03-19T18:16:44.231+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 20 (/app/api.jar started by policy in /opt/app/policy/api/bin) 18:18:16 policy-api | [2024-03-19T18:16:44.234+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:18:16 policy-api | [2024-03-19T18:16:46.017+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:18:16 policy-api | [2024-03-19T18:16:46.103+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. 18:18:16 policy-api | [2024-03-19T18:16:46.511+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:18:16 policy-api | [2024-03-19T18:16:46.512+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:18:16 policy-api | [2024-03-19T18:16:47.160+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:18:16 policy-api | [2024-03-19T18:16:47.170+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:18:16 policy-api | [2024-03-19T18:16:47.173+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:18:16 policy-api | [2024-03-19T18:16:47.173+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:18:16 policy-api | [2024-03-19T18:16:47.275+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:18:16 policy-api | [2024-03-19T18:16:47.275+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2960 ms 18:18:16 policy-api | [2024-03-19T18:16:47.709+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:18:16 policy-api | [2024-03-19T18:16:47.787+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:18:16 policy-api | [2024-03-19T18:16:47.790+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:18:16 policy-api | [2024-03-19T18:16:47.829+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:18:16 policy-api | [2024-03-19T18:16:48.205+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.691277402Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=668.848µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.694456395Z level=info msg="Executing migration" id="Add column with_credentials" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.696990431Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.533606ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.700314256Z level=info msg="Executing migration" id="Add secure json data column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.702897922Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.583206ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.707318628Z level=info msg="Executing migration" id="Update data_source table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.707355378Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=38.24µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.711134208Z level=info msg="Executing migration" id="Update initial version to 1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.711586562Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=450.784µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.715572993Z level=info msg="Executing migration" id="Add read_only data column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.718379262Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.809049ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.722683138Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.723010761Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=332.804µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.726210344Z level=info msg="Executing migration" id="Update json_data with nulls" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.726499847Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=288.533µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.72973744Z level=info msg="Executing migration" id="Add uid column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.732204846Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.466846ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.736334319Z level=info msg="Executing migration" id="Update uid value" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.736639782Z level=info msg="Migration successfully executed" id="Update uid value" duration=307.813µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.740587683Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.741528743Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=940.67µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.744820507Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.746180211Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.359334ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.74991924Z level=info msg="Executing migration" id="create api_key table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.751110922Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.193162ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.755194915Z level=info msg="Executing migration" id="add index api_key.account_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.756152195Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=957.28µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.759265607Z level=info msg="Executing migration" id="add index api_key.key" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.760178816Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=913.219µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.763490551Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.764422641Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=934.14µs 18:18:16 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:18:16 mariadb | do 18:18:16 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:18:16 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:18:16 mariadb | done 18:18:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:18:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:18:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:18:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:18:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:18:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:18:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:18:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:18:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:18:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:18:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:18:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:18:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:18:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:18:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:18:16 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:18:16 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:18:16 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:18:16 mariadb | 18:18:16 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:18:16 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:18:16 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:18:16 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:18:16 mariadb | 18:18:16 mariadb | 2024-03-19 18:16:36+00:00 [Note] [Entrypoint]: Stopping temporary server 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: FTS optimize thread exiting. 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Starting shutdown... 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Buffer pool(s) dump completed at 240319 18:16:36 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Shutdown completed; log sequence number 348985; transaction id 298 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] mariadbd: Shutdown complete 18:18:16 mariadb | 18:18:16 mariadb | 2024-03-19 18:16:36+00:00 [Note] [Entrypoint]: Temporary server stopped 18:18:16 mariadb | 18:18:16 mariadb | 2024-03-19 18:16:36+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:18:16 mariadb | 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Number of transaction pools: 1 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Completed initialization of buffer pool 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: 128 rollback segments are active. 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: log sequence number 348985; transaction id 299 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] Plugin 'FEEDBACK' is disabled. 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] Server socket created on IP: '0.0.0.0'. 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] Server socket created on IP: '::'. 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] mariadbd: ready for connections. 18:18:16 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 18:18:16 mariadb | 2024-03-19 18:16:36 0 [Note] InnoDB: Buffer pool(s) load completed at 240319 18:16:36 18:18:16 mariadb | 2024-03-19 18:16:36 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 18:18:16 mariadb | 2024-03-19 18:16:37 52 [Warning] Aborted connection 52 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:18:16 policy-api | [2024-03-19T18:16:48.229+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:18:16 policy-api | [2024-03-19T18:16:48.331+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 18:18:16 policy-api | [2024-03-19T18:16:48.334+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:18:16 policy-api | [2024-03-19T18:16:48.366+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:18:16 policy-api | [2024-03-19T18:16:48.368+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:18:16 policy-api | [2024-03-19T18:16:50.301+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:18:16 policy-api | [2024-03-19T18:16:50.305+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:18:16 policy-api | [2024-03-19T18:16:51.566+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:18:16 policy-api | [2024-03-19T18:16:52.269+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:18:16 policy-api | [2024-03-19T18:16:53.335+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:18:16 policy-api | [2024-03-19T18:16:53.531+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6149184e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6f3a8d5e, org.springframework.security.web.context.SecurityContextHolderFilter@39d666e0, org.springframework.security.web.header.HeaderWriterFilter@5f160f9c, org.springframework.security.web.authentication.logout.LogoutFilter@79462469, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@407bfc49, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@56bc8c45, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2f29400e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@680f7a5e, org.springframework.security.web.access.ExceptionTranslationFilter@9bc10bd, org.springframework.security.web.access.intercept.AuthorizationFilter@1e33203f] 18:18:16 policy-api | [2024-03-19T18:16:54.400+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:18:16 policy-api | [2024-03-19T18:16:54.458+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:18:16 policy-api | [2024-03-19T18:16:54.479+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:18:16 policy-api | [2024-03-19T18:16:54.501+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.05 seconds (process running for 11.652) 18:18:16 policy-api | [2024-03-19T18:17:02.421+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:18:16 policy-api | [2024-03-19T18:17:02.421+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 18:18:16 policy-api | [2024-03-19T18:17:02.423+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms 18:18:16 policy-api | [2024-03-19T18:17:05.368+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 18:18:16 policy-api | [] 18:18:16 policy-api | [2024-03-19T18:17:05.495+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 18:18:16 policy-api | [2024-03-19T18:17:05.748+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 18:18:16 policy-api | [2024-03-19T18:17:06.875+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 18:18:16 policy-api | [2024-03-19T18:17:08.878+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:18:16 policy-api | [2024-03-19T18:17:09.199+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 18:18:16 policy-api | [2024-03-19T18:17:09.432+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 18:18:16 policy-api | [2024-03-19T18:17:09.672+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:18:16 policy-api | [2024-03-19T18:17:09.899+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:18:16 policy-api | [2024-03-19T18:17:10.132+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.768543663Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.769442713Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=899.21µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.772856008Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.773710667Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=854.619µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.777210083Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.778081252Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=871.249µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.782561258Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.789685362Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.123614ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.925814764Z level=info msg="Executing migration" id="create api_key table v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.927064937Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.250423ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.933746876Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.935206012Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.459226ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.940181513Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.941547727Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.360184ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.944662559Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.945530798Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=868.229µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.949776983Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.950260107Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=482.964µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.953679593Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.954466162Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=783.008µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.958049848Z level=info msg="Executing migration" id="Update api_key table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.958090649Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=41.641µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.962427944Z level=info msg="Executing migration" id="Add expires to api_key table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.9650257Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.597256ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.968575378Z level=info msg="Executing migration" id="Add service account foreign key" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.971241176Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.664417ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.974922593Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.97559394Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=670.877µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.980310919Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.982919286Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.608187ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.986948458Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.989525395Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.576527ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:34.994267194Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.003633031Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=9.351937ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.010365001Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.011163779Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=799.558µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.014482923Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.015618875Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.136152ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.019829909Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.020656457Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=826.478µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.02386867Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.0247503Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=881.63µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.027735751Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.028571689Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=836.028µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.031818213Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.031920424Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=105.281µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.036111358Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.036149398Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=39.35µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.039039358Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.043024269Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.985831ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.046267452Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.04900918Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.741398ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.053601098Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.053709519Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=108.571µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.058135686Z level=info msg="Executing migration" id="create quota table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.058940124Z level=info msg="Migration successfully executed" id="create quota table v1" duration=802.218µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.062400559Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.063803344Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.400515ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.067453102Z level=info msg="Executing migration" id="Update quota table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.067490902Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=39.57µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.094698734Z level=info msg="Executing migration" id="create plugin_setting table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.096042658Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.343244ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.103753318Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.105107762Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.353744ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.10876993Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.113412198Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.641028ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.118574161Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.118599582Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=26.071µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.121949116Z level=info msg="Executing migration" id="create session table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.12320607Z level=info msg="Migration successfully executed" id="create session table" duration=1.252244ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.127200051Z level=info msg="Executing migration" id="Drop old table playlist table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.127440353Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=239.642µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.131534166Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.131613806Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=79.87µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.135748459Z level=info msg="Executing migration" id="create playlist table v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.136532948Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=783.709µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.14069637Z level=info msg="Executing migration" id="create playlist item table v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.141934264Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.236814ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.17536021Z level=info msg="Executing migration" id="Update playlist table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.17540322Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=44.07µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.180688354Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.180726485Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=39.721µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.20914765Z level=info msg="Executing migration" id="Add playlist column created_at" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.213870868Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.722338ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.273569137Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.278657609Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.084962ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.285177217Z level=info msg="Executing migration" id="drop preferences table v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.285350309Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=146.021µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.288879185Z level=info msg="Executing migration" id="drop preferences table v3" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.289020906Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=141.161µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.293293291Z level=info msg="Executing migration" id="create preferences table v3" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.294921078Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.626817ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.299902979Z level=info msg="Executing migration" id="Update preferences table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.29993037Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=28.631µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.304078002Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.307207036Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.128104ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.310980404Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.311213717Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=232.773µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.314517601Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.318835656Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.315045ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.348516423Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.353663717Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.147544ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.359255634Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.359319675Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=64.971µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.385547658Z level=info msg="Executing migration" id="Add preferences index org_id" 18:18:16 prometheus | ts=2024-03-19T18:16:33.174Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:18:16 prometheus | ts=2024-03-19T18:16:33.174Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" 18:18:16 prometheus | ts=2024-03-19T18:16:33.174Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" 18:18:16 prometheus | ts=2024-03-19T18:16:33.174Z caller=main.go:614 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 18:18:16 prometheus | ts=2024-03-19T18:16:33.174Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" 18:18:16 prometheus | ts=2024-03-19T18:16:33.174Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:18:16 prometheus | ts=2024-03-19T18:16:33.178Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:18:16 prometheus | ts=2024-03-19T18:16:33.178Z caller=main.go:1118 level=info msg="Starting TSDB ..." 18:18:16 prometheus | ts=2024-03-19T18:16:33.182Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 18:18:16 prometheus | ts=2024-03-19T18:16:33.182Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:18:16 prometheus | ts=2024-03-19T18:16:33.187Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:18:16 prometheus | ts=2024-03-19T18:16:33.187Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.03µs 18:18:16 prometheus | ts=2024-03-19T18:16:33.187Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:18:16 prometheus | ts=2024-03-19T18:16:33.188Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:18:16 prometheus | ts=2024-03-19T18:16:33.188Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=65.121µs wal_replay_duration=349.153µs wbl_replay_duration=160ns total_replay_duration=440.484µs 18:18:16 prometheus | ts=2024-03-19T18:16:33.192Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC 18:18:16 prometheus | ts=2024-03-19T18:16:33.192Z caller=main.go:1142 level=info msg="TSDB started" 18:18:16 prometheus | ts=2024-03-19T18:16:33.192Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:18:16 prometheus | ts=2024-03-19T18:16:33.193Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.386395ms db_storage=1.06µs remote_storage=2.1µs web_handler=660ns query_engine=680ns scrape=442.815µs scrape_sd=141.171µs notify=33.69µs notify_sd=11.43µs rules=1.7µs tracing=5.841µs 18:18:16 prometheus | ts=2024-03-19T18:16:33.193Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." 18:18:16 prometheus | ts=2024-03-19T18:16:33.193Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.387136823Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.589325ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.393035035Z level=info msg="Executing migration" id="Add preferences index user_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.393920374Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=885.189µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.398250318Z level=info msg="Executing migration" id="create alert table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.399412991Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.162113ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.403084089Z level=info msg="Executing migration" id="add index alert org_id & id " 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.404055788Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=971.469µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.409104771Z level=info msg="Executing migration" id="add index alert state" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.409946679Z level=info msg="Migration successfully executed" id="add index alert state" duration=841.978µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.413576098Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.414459287Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=882.459µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.417947133Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.418910172Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=961µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.424292018Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.425691673Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.399605ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.430327411Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.43119709Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=869.559µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.436145342Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.448470519Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.326497ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.453616182Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.454242038Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=625.356µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.458412922Z 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:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.459298391Z 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=885.359µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.463014879Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.463341833Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=326.384µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.468263994Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.4688503Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=585.736µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.472053353Z level=info msg="Executing migration" id="create alert_notification table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.472845912Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=791.889µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.476420978Z level=info msg="Executing migration" id="Add column is_default" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.479896994Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.475156ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.484410551Z level=info msg="Executing migration" id="Add column frequency" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.487883577Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.471086ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.491183761Z level=info msg="Executing migration" id="Add column send_reminder" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.494740709Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.555157ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.498218744Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.501785351Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.565557ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.505924075Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.506930815Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.00652ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.51040223Z level=info msg="Executing migration" id="Update alert table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.510427471Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=25.931µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.513965767Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.513987927Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=22.94µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.517536594Z level=info msg="Executing migration" id="create notification_journal table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.518836997Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.299373ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.523794369Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.525381985Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.587836ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.530809311Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.53158362Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=774.409µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.535733523Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.536647323Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=913.41µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.540910106Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.541796885Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=885.769µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.545209251Z level=info msg="Executing migration" id="Add for to alert table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.550429915Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.217244ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.5566489Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.560359938Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.710508ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.56451094Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.564756454Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=243.914µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.568051658Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.568944217Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=892.379µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.573359243Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.574694206Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.335343ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.581652779Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.58754806Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.894311ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.595249319Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.59535392Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=101.731µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.604608426Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.60595915Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.350694ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.61366803Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.615202176Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.534056ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.622445411Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.622717894Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=271.453µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.629507085Z level=info msg="Executing migration" id="create annotation table v5" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.631292242Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.782787ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.641180245Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.642575449Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.395124ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.648769474Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.650235329Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.465125ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.65613507Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.657046489Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=911.079µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.666415567Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.668055123Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.639016ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.672596441Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.674242358Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.645737ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.679644354Z level=info msg="Executing migration" id="Update annotation table charset" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.679672084Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.48µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.687763207Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.694102323Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.337876ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.699276977Z level=info msg="Executing migration" id="Drop category_id index" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.700170996Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=893.959µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.704887825Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.711190631Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.302076ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.717282633Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.718380524Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.097261ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.722028313Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.723462577Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.433554ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.732238318Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.734160088Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.92155ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.740993709Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.755612021Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.618833ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.760740434Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.761521082Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=779.928µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.770950189Z 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:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.772343724Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.393045ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.783959734Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.78449451Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=534.086µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.790920936Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.792135749Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.213683ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.797759137Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.798141301Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=381.484µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.80771886Z level=info msg="Executing migration" id="Add created time to annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.814196838Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.477678ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.820615724Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.82597703Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.359406ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.830674748Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.831589988Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=915.16µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.844128767Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.845526672Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.398615ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.852823107Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.853261102Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=436.425µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.858596757Z level=info msg="Executing migration" id="Add epoch_end column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.865017134Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.419697ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.874052727Z level=info msg="Executing migration" id="Add index for epoch_end" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.87535511Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.300853ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.882089Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.882494435Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=404.234µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.888385736Z level=info msg="Executing migration" id="Move region to single row" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.889073632Z level=info msg="Migration successfully executed" id="Move region to single row" duration=686.987µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.895000454Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.895876634Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=874.269µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.903472322Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.904796026Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.323644ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.912487776Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.91392322Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.435024ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.920121314Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.921545609Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.423215ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.926948575Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.928262218Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.314023ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.933399632Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.934878508Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.478426ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.94285312Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.942953641Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=99.981µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.949421288Z level=info msg="Executing migration" id="create test_data table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.950810332Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.389964ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.956477411Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.957798915Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.320654ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.969652907Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.971179294Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.528007ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.977792042Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.979351048Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.556666ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.985993467Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.986741494Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=747.377µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.992615255Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.993519905Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=908.77µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.997574537Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:35.997791839Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=177.591µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.006466828Z level=info msg="Executing migration" id="create team table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.007835553Z level=info msg="Migration successfully executed" id="create team table" duration=1.368265ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.013127588Z level=info msg="Executing migration" id="add index team.org_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.015023917Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.895859ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.021235201Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.022441224Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.205573ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.027144243Z level=info msg="Executing migration" id="Add column uid in team" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.032797712Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.654779ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.041007697Z level=info msg="Executing migration" id="Update uid column values in team" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.041176039Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=168.432µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.052115412Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.053038251Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=922.779µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.057433206Z level=info msg="Executing migration" id="create team member table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.058279345Z level=info msg="Migration successfully executed" id="create team member table" duration=845.799µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.068035986Z level=info msg="Executing migration" id="add index team_member.org_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.068910865Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=874.799µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.079561215Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.08092868Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.366955ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.085886531Z level=info msg="Executing migration" id="add index team_member.team_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.087280085Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.393104ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.095905344Z level=info msg="Executing migration" id="Add column email to team table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.102979798Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.075354ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.112150382Z level=info msg="Executing migration" id="Add column external to team_member table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.119328457Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.174825ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.127832945Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.133290071Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.454676ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.138455634Z level=info msg="Executing migration" id="create dashboard acl table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.139360284Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=906.37µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.146995353Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.147830182Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=834.059µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.152245397Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.153769373Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.523286ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.161528794Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.162468083Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=938.749µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.173310736Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.17478085Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.469554ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.181102876Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.182555791Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.452465ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.186301319Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.187394641Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.092992ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.194504084Z level=info msg="Executing migration" id="add index dashboard_permission" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.195917899Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.413895ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.203816341Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.204884962Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.067281ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.211373199Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.211895235Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=521.896µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.216374781Z level=info msg="Executing migration" id="create tag table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.217434342Z level=info msg="Migration successfully executed" id="create tag table" duration=1.059461ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.224515035Z level=info msg="Executing migration" id="add index tag.key_value" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.225374984Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=859.669µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.233480118Z level=info msg="Executing migration" id="create login attempt table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.235004894Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.524106ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.239413049Z level=info msg="Executing migration" id="add index login_attempt.username" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.240841084Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.427635ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.245462242Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.246968218Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.507375ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.252938429Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.269800994Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.863205ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.274950507Z level=info msg="Executing migration" id="create login_attempt v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.275517743Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=567.266µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.280348033Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.280988009Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=640.056µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.287850471Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.288282835Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=432.454µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.295359158Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.296344419Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=985.941µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.304088828Z level=info msg="Executing migration" id="create user auth table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.305296331Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.206023ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.311232353Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.312682058Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.448975ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.317093133Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.317194884Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=103.261µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.325633001Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.334450723Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.818682ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.339409214Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.34481421Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.405356ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.347870492Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.353144356Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.273135ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.356483641Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.361890317Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.406296ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.367368333Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.368305063Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=936.89µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.371411605Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.380437299Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=9.024584ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.383667642Z level=info msg="Executing migration" id="create server_lock table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.384231288Z level=info msg="Migration successfully executed" id="create server_lock table" duration=563.296µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.389010888Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.390011328Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=998.32µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.393206911Z level=info msg="Executing migration" id="create user auth token table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.394549305Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.341814ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.397730838Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.39892577Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.195922ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.403804191Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.40473005Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=925.449µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.407998584Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.409636201Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.635387ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.413076936Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.419328032Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.256866ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.424225391Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.425150612Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=925.091µs 18:18:16 policy-db-migrator | Waiting for mariadb port 3306... 18:18:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:18:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:18:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:18:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:18:16 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:18:16 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 18:18:16 policy-db-migrator | 321 blocks 18:18:16 policy-db-migrator | Preparing upgrade release version: 0800 18:18:16 policy-db-migrator | Preparing upgrade release version: 0900 18:18:16 policy-db-migrator | Preparing upgrade release version: 1000 18:18:16 policy-db-migrator | Preparing upgrade release version: 1100 18:18:16 policy-db-migrator | Preparing upgrade release version: 1200 18:18:16 policy-db-migrator | Preparing upgrade release version: 1300 18:18:16 policy-db-migrator | Done 18:18:16 policy-db-migrator | name version 18:18:16 policy-db-migrator | policyadmin 0 18:18:16 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:18:16 policy-db-migrator | upgrade: 0 -> 1300 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.428078142Z level=info msg="Executing migration" id="create cache_data table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.428965781Z level=info msg="Migration successfully executed" id="create cache_data table" duration=887.619µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.431901601Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.432835Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=934.079µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.437409278Z level=info msg="Executing migration" id="create short_url table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.438306087Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=892.859µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.441244418Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.442252379Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.006611ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.44527022Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.445334771Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=65.061µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.450321292Z level=info msg="Executing migration" id="delete alert_definition table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.450446003Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=124.181µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.453918929Z level=info msg="Executing migration" id="recreate alert_definition table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.455417324Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.498785ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.458669269Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.459645108Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=975.089µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.462797581Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.463783391Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=985.79µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.468796403Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.468862563Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=66.7µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.47233999Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.473246579Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=906.989µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.476585944Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.477987079Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.400715ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.482709677Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.484285674Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.575447ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.487742689Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.488733999Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=990.33µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.49262304Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.498657102Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.034022ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.501902916Z level=info msg="Executing migration" id="drop alert_definition table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.502900016Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=995.97µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.506276961Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.506357912Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=81.481µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.510875718Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.511809299Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=934.261µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.515109332Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.516125003Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.01517ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.519413416Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.520428748Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.014882ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.52456579Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.524632321Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=66.911µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.527208898Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.528161617Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=952.13µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.532987687Z level=info msg="Executing migration" id="create alert_instance table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.534575824Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.584177ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.544741269Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.546401596Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.659217ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.554672192Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.55645499Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.772798ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.566760187Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.574033492Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.271585ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.583435139Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.585077717Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.643418ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.594044389Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.595549205Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.502806ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.608325067Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.636789761Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=28.466944ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.641084726Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.665905313Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=24.815817ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.669851014Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.670657002Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=801.058µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.674894266Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.675832175Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=935.579µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.679511613Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.689153913Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.63971ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.69270402Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.699712403Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=7.007783ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.70529408Z level=info msg="Executing migration" id="create alert_rule table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.706404222Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.110602ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.709706656Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.710806378Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.099262ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.714435455Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.715509346Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.073641ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.720927982Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.722161895Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.233613ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.795012639Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.795195631Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=189.002µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.79898986Z level=info msg="Executing migration" id="add column for to alert_rule" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.808132994Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.143774ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.81254789Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.818909106Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.359026ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.822513434Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.828816899Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.303195ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.833373415Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.834357086Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=982.991µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.838880972Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.840016175Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.131883ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.843682462Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.854410843Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=10.727031ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.858323824Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.867113994Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=8.79611ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.87149958Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.872196507Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=696.757µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.875543522Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.881667196Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.120114ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.885057011Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.891281415Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.224224ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.896534539Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.89659936Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=65.381µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.903184968Z level=info msg="Executing migration" id="create alert_rule_version table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.904872066Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.687218ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.909663595Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.911000269Z 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.335334ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.9149142Z 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:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.916016941Z 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.103801ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.919154133Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.919218224Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=64.461µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.922254865Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.928723422Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.468867ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.933130098Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.939650405Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.519507ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.942767677Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.948840711Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.072684ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.952185925Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.958291488Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.105253ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.964017808Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.971369194Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.350216ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.974989051Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.975076432Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=85.501µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.978439497Z level=info msg="Executing migration" id=create_alert_configuration_table 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.979201394Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=761.907µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.982455059Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.988586922Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.131033ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.993219839Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.99328605Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=67.001µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:36.996984989Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.003536746Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.551217ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.00866616Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.010471799Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.803989ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.01551267Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.023279531Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=7.766371ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.027654796Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.028644446Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=989.93µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.033765479Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.036185034Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.417505ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.042940034Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.050650374Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.711161ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.053490863Z level=info msg="Executing migration" id="create provenance_type table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.054331632Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=840.879µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.059813438Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.060802599Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=988.501µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.063342454Z level=info msg="Executing migration" id="create alert_image table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.064325475Z level=info msg="Migration successfully executed" id="create alert_image table" duration=982.571µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.067198365Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.068325576Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.126971ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.072970794Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.073043185Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=73.091µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.075197048Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.076268188Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.06897ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.079994037Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.081017888Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.023701ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.08605089Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.086486514Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.089259343Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.089646057Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=387.024µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.092338765Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.093352575Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.01134ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.098094714Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.105222057Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.126803ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.108080597Z level=info msg="Executing migration" id="create library_element table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.108863796Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=783.209µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.111919257Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.112887957Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=968.15µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.119248942Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.120058101Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=809.289µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.123517187Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.124234364Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=716.947µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.126959222Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.127640359Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=680.767µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.132405869Z level=info msg="Executing migration" id="increase max description length to 2048" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.132432039Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=27.19µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.134563991Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.134671162Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=109.671µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.137500552Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.137834195Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=333.533µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.140577973Z level=info msg="Executing migration" id="create data_keys table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.141724404Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.145531ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.146545285Z level=info msg="Executing migration" id="create secrets table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.147399454Z level=info msg="Migration successfully executed" id="create secrets table" duration=854.209µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.14995409Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.183924192Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=33.962782ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.203492394Z level=info msg="Executing migration" id="add name column into data_keys" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.21280537Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=9.315226ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.21765881Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.217796942Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=137.152µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.220460959Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.250964074Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=30.501695ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.253852275Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.283498851Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.646546ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.286433661Z level=info msg="Executing migration" id="create kv_store table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.287162508Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=731.227µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.292057459Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.293252422Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.195183ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.296047031Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.296365924Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=318.593µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.298740459Z level=info msg="Executing migration" id="create permission table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.299673398Z level=info msg="Migration successfully executed" id="create permission table" duration=934.419µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.305916082Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.307112865Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.196433ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.313062127Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.314276369Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.213832ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.317081988Z level=info msg="Executing migration" id="create role table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.318039177Z level=info msg="Migration successfully executed" id="create role table" duration=957.309µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.322990399Z level=info msg="Executing migration" id="add column display_name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.331348945Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.354786ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.334002673Z level=info msg="Executing migration" id="add column group_name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.341530881Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.527878ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.34431177Z level=info msg="Executing migration" id="add index role.org_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.346239509Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.925979ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.3511558Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.352619935Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.465875ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.356051461Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.357211432Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.159671ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.361602418Z level=info msg="Executing migration" id="create team role table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.362694629Z level=info msg="Migration successfully executed" id="create team role table" duration=1.092711ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.366296987Z level=info msg="Executing migration" id="add index team_role.org_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.36759724Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.299983ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.371289888Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.372556221Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.266203ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.376641673Z level=info msg="Executing migration" id="add index team_role.team_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.377807586Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.165573ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.381183191Z level=info msg="Executing migration" id="create user role table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.38215078Z level=info msg="Migration successfully executed" id="create user role table" duration=969.519µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.388414406Z level=info msg="Executing migration" id="add index user_role.org_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.390165233Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.750617ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.395523469Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.396832383Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.308484ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.400237808Z level=info msg="Executing migration" id="add index user_role.user_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.401401709Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.164631ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.404810844Z level=info msg="Executing migration" id="create builtin role table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.405738704Z level=info msg="Migration successfully executed" id="create builtin role table" duration=927.86µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.413273362Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.415231502Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.95916ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.421599808Z level=info msg="Executing migration" id="add index builtin_role.name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.423870262Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.271104ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.427669562Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.437050318Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.385126ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.442175441Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.443294133Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.118611ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.446903869Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.448051182Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.144803ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.451301475Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.452410796Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.109521ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.456692221Z level=info msg="Executing migration" id="add unique index role.uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.457838433Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.146712ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.462085317Z level=info msg="Executing migration" id="create seed assignment table" 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0470-pdp.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.463081237Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=996.69µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.471207671Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.473109861Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.90235ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.476769508Z level=info msg="Executing migration" id="add column hidden to role table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.485065364Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.295636ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.488418029Z level=info msg="Executing migration" id="permission kind migration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.496392861Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.974412ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.50499621Z level=info msg="Executing migration" id="permission attribute migration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.516071115Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=11.076115ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.519819153Z level=info msg="Executing migration" id="permission identifier migration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.526909937Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.091044ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.531491815Z level=info msg="Executing migration" id="add permission identifier index" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.532672266Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.180081ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.537199294Z level=info msg="Executing migration" id="add permission action scope role_id index" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.538452116Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.252432ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.546339098Z level=info msg="Executing migration" id="remove permission role_id action scope index" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.547468899Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.129191ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.550890455Z level=info msg="Executing migration" id="create query_history table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.551883515Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=993.09µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.556363281Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.557505173Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.141382ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.560939369Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.56112121Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=182.571µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.565017881Z level=info msg="Executing migration" id="rbac disabled migrator" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.565158823Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=140.122µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.568527797Z level=info msg="Executing migration" id="teams permissions migration" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.569331625Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=804.628µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.575188296Z level=info msg="Executing migration" id="dashboard permissions" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.576263908Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.077132ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.582848055Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.584124768Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.276803ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.587714996Z level=info msg="Executing migration" id="drop managed folder create actions" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.588016259Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=300.823µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.591444334Z level=info msg="Executing migration" id="alerting notification permissions" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.591997899Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=553.625µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.597442056Z level=info msg="Executing migration" id="create query_history_star table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.598881061Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.437325ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.602544599Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.603716331Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.171602ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.60749149Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.618212321Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.721501ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.625521486Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.625689348Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=168.392µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.630059404Z level=info msg="Executing migration" id="create correlation table v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.631330016Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.269922ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.635279097Z level=info msg="Executing migration" id="add index correlations.uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.636454819Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.176122ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.640224668Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.641465031Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.239623ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.645932677Z level=info msg="Executing migration" id="add correlation config column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.655318155Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.384638ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.672424841Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.673335091Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=909.299µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.678342692Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.67916414Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=821.308µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.682750568Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.702073378Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=19.32149ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.70519451Z level=info msg="Executing migration" id="create correlation v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.70619946Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.00452ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.712812908Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.715001471Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.192633ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.720245286Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.722684121Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.440315ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.727119436Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.728314489Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.196063ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.734132579Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.734457532Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=327.063µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.737747136Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.738809388Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.062822ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.742116902Z level=info msg="Executing migration" id="add provisioning column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.751029164Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.910502ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.755264487Z level=info msg="Executing migration" id="create entity_events table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.756215908Z level=info msg="Migration successfully executed" id="create entity_events table" duration=952.521µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.761055718Z level=info msg="Executing migration" id="create dashboard public config v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.7622664Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.210172ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.766414792Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.766964899Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.770412184Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.771304613Z 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:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.776121953Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.777009272Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=886.529µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.780680431Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.782017934Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.335363ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.786679623Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.788931816Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.251723ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.79319105Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.794482022Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.291022ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.803279704Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.805256534Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.97675ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.809850022Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.811408038Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.558796ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.814696922Z level=info msg="Executing migration" id="Drop public config table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.815657632Z level=info msg="Migration successfully executed" id="Drop public config table" duration=961.9µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.821156589Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.822440291Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.281542ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.826827817Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.828037819Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.210092ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.832266274Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.834001192Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.734358ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.837999213Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.839337597Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.337884ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.845888185Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.872515619Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=26.621624ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.876957916Z level=info msg="Executing migration" id="add annotations_enabled column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.885786857Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.828091ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.889353073Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.896121874Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.767661ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.89966476Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.900051984Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=387.234µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.903442929Z level=info msg="Executing migration" id="add share column" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.912076858Z level=info msg="Migration successfully executed" id="add share column" duration=8.633339ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.916943309Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.917190481Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=246.862µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.922524996Z level=info msg="Executing migration" id="create file table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.924329495Z level=info msg="Migration successfully executed" id="create file table" duration=1.802549ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.928576359Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.93055224Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.975091ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.936994986Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.93831321Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.318224ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.942319081Z level=info msg="Executing migration" id="create file_meta table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.943815927Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.495096ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.947795948Z level=info msg="Executing migration" id="file table idx: path key" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.949010951Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.215213ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.957413968Z level=info msg="Executing migration" id="set path collation in file table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.957573739Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=159.311µs 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.96448004Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.964735073Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=254.653µs 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.968806165Z level=info msg="Executing migration" id="managed permissions migration" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.969848666Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.042931ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.973559794Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.97404055Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=480.596µs 18:18:16 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.978758598Z level=info msg="Executing migration" id="RBAC action name migrator" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.980143353Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.384275ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.983661218Z level=info msg="Executing migration" id="Add UID column to playlist" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.993204137Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.542399ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.999750875Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:37.999942007Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=189.132µs 18:18:16 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.003396453Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.005628396Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.235003ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.012032682Z level=info msg="Executing migration" id="update group index for alert rules" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.012530607Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=498.905µs 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.016573009Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.016882762Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=309.523µs 18:18:16 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.020554979Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.0214878Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=933.481µs 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.026605482Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.03706352Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.457688ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.040586936Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.047838022Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.249866ms 18:18:16 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.052672682Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.053986295Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.313193ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.058792985Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.137584319Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=78.784223ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.1416149Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.14259989Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=984.43µs 18:18:16 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.146733423Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.147581782Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=848.129µs 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.155282321Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.182640284Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=27.339613ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.193717858Z level=info msg="Executing migration" id="add origin column to seed_assignment" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.207863724Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=14.143376ms 18:18:16 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.211788004Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.212121319Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=333.205µs 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.216469873Z level=info msg="Executing migration" id="prevent seeding OnCall access" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.216825636Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=357.583µs 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.220169301Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.220457185Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=287.734µs 18:18:16 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.223148003Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.223417955Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=267.703µs 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.228583318Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.228895752Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=312.774µs 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.237346009Z level=info msg="Executing migration" id="create folder table" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.239090816Z level=info msg="Migration successfully executed" id="create folder table" duration=1.744527ms 18:18:16 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.243213599Z level=info msg="Executing migration" id="Add index for parent_uid" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.245354961Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.141022ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.249680496Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.251377134Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.697348ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.257027832Z level=info msg="Executing migration" id="Update folder title length" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.257057713Z level=info msg="Migration successfully executed" id="Update folder title length" duration=28.931µs 18:18:16 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.2607575Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.261970942Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.213062ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.26556823Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.266785873Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.217943ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.273771325Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.274995237Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.223792ms 18:18:16 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.280183851Z level=info msg="Executing migration" id="Sync dashboard and folder table" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.280709836Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=525.505µs 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.28396222Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.284281973Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=319.433µs 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.288409186Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.290123953Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.714997ms 18:18:16 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.293985474Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.295201856Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.216152ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.299016906Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.300112267Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.095341ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.30430003Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.305531933Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.231503ms 18:18:16 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.308870037Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.310202041Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.331844ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.316630988Z level=info msg="Executing migration" id="create anon_device table" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.317585127Z level=info msg="Migration successfully executed" id="create anon_device table" duration=953.779µs 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.323604079Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.32563231Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.027961ms 18:18:16 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.33039566Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.332560582Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.164892ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.338820917Z level=info msg="Executing migration" id="create signing_key table" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.339935188Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.113711ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.343791898Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:18:16 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.345666927Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.879689ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.349542828Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.351164564Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.622946ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.358030975Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.358459809Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=431.304µs 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.362812344Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:18:16 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.375671297Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.856303ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.379204483Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.380041823Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=838.68µs 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.384804641Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.386169646Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.364895ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.389802223Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 18:18:16 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.391117936Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.315153ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.398829776Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.400664285Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.835069ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.407146652Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.409301644Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.154412ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.413333086Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 18:18:16 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.41474275Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.410745ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.418168016Z level=info msg="Executing migration" id="create sso_setting table" 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.419564721Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.395005ms 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.424224148Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.42526381Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.040351ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.429112749Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.429567643Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=455.534µs 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.434342513Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 18:18:16 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.434531015Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=187.192µs 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.442133294Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.455643913Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=13.508359ms 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.461744776Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.473353666Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=11.60969ms 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.478033195Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 18:18:16 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.478357218Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=324.133µs 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=migrator t=2024-03-19T18:16:38.484981706Z level=info msg="migrations completed" performed=547 skipped=0 duration=4.322068643s 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:18:16 grafana | logger=sqlstore t=2024-03-19T18:16:38.496349833Z level=info msg="Created default admin" user=admin 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=sqlstore t=2024-03-19T18:16:38.496669967Z level=info msg="Created default organization" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=secrets t=2024-03-19T18:16:38.501645568Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=plugin.store t=2024-03-19T18:16:38.522682725Z level=info msg="Loading plugins..." 18:18:16 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:18:16 grafana | logger=local.finder t=2024-03-19T18:16:38.561295794Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=plugin.store t=2024-03-19T18:16:38.561331244Z level=info msg="Plugins loaded" count=55 duration=38.649299ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) 18:18:16 grafana | logger=query_data t=2024-03-19T18:16:38.565449057Z level=info msg="Query Service initialization" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=live.push_http t=2024-03-19T18:16:38.57739239Z level=info msg="Live Push Gateway initialization" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=ngalert.migration t=2024-03-19T18:16:38.583883917Z level=info msg=Starting 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=ngalert.migration t=2024-03-19T18:16:38.584402052Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 18:18:16 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:18:16 grafana | logger=ngalert.migration orgID=1 t=2024-03-19T18:16:38.584989419Z level=info msg="Migrating alerts for organisation" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=ngalert.migration orgID=1 t=2024-03-19T18:16:38.585725896Z level=info msg="Alerts found to migrate" alerts=0 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) 18:18:16 grafana | logger=ngalert.migration t=2024-03-19T18:16:38.587668847Z level=info msg="Completed alerting migration" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=ngalert.state.manager t=2024-03-19T18:16:38.615281661Z level=info msg="Running in alternative execution of Error/NoData mode" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=infra.usagestats.collector t=2024-03-19T18:16:38.617234042Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=provisioning.datasources t=2024-03-19T18:16:38.619480365Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:18:16 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:18:16 grafana | logger=provisioning.alerting t=2024-03-19T18:16:38.63257937Z level=info msg="starting to provision alerting" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=provisioning.alerting t=2024-03-19T18:16:38.632694972Z level=info msg="finished to provision alerting" 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) 18:18:16 grafana | logger=grafanaStorageLogger t=2024-03-19T18:16:38.633155276Z level=info msg="Storage starting" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=ngalert.state.manager t=2024-03-19T18:16:38.633383788Z level=info msg="Warming state cache for startup" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=ngalert.multiorg.alertmanager t=2024-03-19T18:16:38.633833413Z level=info msg="Starting MultiOrg Alertmanager" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=ngalert.state.manager t=2024-03-19T18:16:38.634356158Z level=info msg="State cache has been initialized" states=0 duration=971.26µs 18:18:16 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:18:16 grafana | logger=ngalert.scheduler t=2024-03-19T18:16:38.634464769Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=ticker t=2024-03-19T18:16:38.634607051Z level=info msg=starting first_tick=2024-03-19T18:16:40Z 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:18:16 grafana | logger=http.server t=2024-03-19T18:16:38.634763482Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=provisioning.dashboard t=2024-03-19T18:16:38.672095039Z level=info msg="starting to provision dashboards" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=sqlstore.transactions t=2024-03-19T18:16:38.717570228Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=grafana.update.checker t=2024-03-19T18:16:38.73127905Z level=info msg="Update check succeeded" duration=96.494088ms 18:18:16 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:18:16 grafana | logger=sqlstore.transactions t=2024-03-19T18:16:38.736419573Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=plugins.update.checker t=2024-03-19T18:16:38.744317064Z level=info msg="Update check succeeded" duration=111.41938ms 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:18:16 grafana | logger=sqlstore.transactions t=2024-03-19T18:16:38.747913541Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 18:18:16 policy-db-migrator | -------------- 18:18:16 grafana | logger=provisioning.dashboard t=2024-03-19T18:16:38.947934377Z level=info msg="finished to provision dashboards" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=grafana-apiserver t=2024-03-19T18:16:39.198833466Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 18:18:16 policy-db-migrator | 18:18:16 grafana | logger=grafana-apiserver t=2024-03-19T18:16:39.199401582Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 18:18:16 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:18:16 grafana | logger=infra.usagestats t=2024-03-19T18:18:15.644569565Z level=info msg="Usage stats are ready to report" 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0100-pdp.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:18:16 policy-db-migrator | JOIN pdpstatistics b 18:18:16 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:18:16 policy-db-migrator | SET a.id = b.id 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0210-sequence.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0220-sequence.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0100-upgrade.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | msg 18:18:16 policy-db-migrator | upgrade to 1100 completed 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | TRUNCATE TABLE sequence 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP TABLE pdpstatistics 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | DROP TABLE statistics_sequence 18:18:16 policy-db-migrator | -------------- 18:18:16 policy-db-migrator | 18:18:16 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:18:16 policy-db-migrator | name version 18:18:16 policy-db-migrator | policyadmin 1300 18:18:16 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:18:16 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:37 18:18:16 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:38 18:18:16 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:39 18:18:16 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:40 18:18:16 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1903241816370800u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1903241816370900u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1903241816371000u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1903241816371000u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1903241816371000u 1 2024-03-19 18:16:41 18:18:16 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1903241816371000u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1903241816371000u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1903241816371000u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1903241816371000u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1903241816371000u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1903241816371000u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1903241816371100u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1903241816371200u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1903241816371200u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1903241816371200u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1903241816371200u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1903241816371300u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1903241816371300u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1903241816371300u 1 2024-03-19 18:16:42 18:18:16 policy-db-migrator | policyadmin: OK @ 1300 18:18:16 ++ echo 'Tearing down containers...' 18:18:16 Tearing down containers... 18:18:16 ++ docker-compose down -v --remove-orphans 18:18:17 Stopping grafana ... 18:18:17 Stopping policy-api ... 18:18:17 Stopping mariadb ... 18:18:17 Stopping prometheus ... 18:18:17 Stopping grafana ... done 18:18:18 Stopping prometheus ... done 18:18:18 Stopping mariadb ... done 18:18:27 Stopping policy-api ... done 18:18:27 Removing grafana ... 18:18:27 Removing policy-api ... 18:18:27 Removing policy-db-migrator ... 18:18:27 Removing mariadb ... 18:18:27 Removing prometheus ... 18:18:27 Removing grafana ... done 18:18:27 Removing policy-api ... done 18:18:27 Removing policy-db-migrator ... done 18:18:27 Removing mariadb ... done 18:18:27 Removing prometheus ... done 18:18:27 Removing network compose_default 18:18:27 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:18:27 + load_set 18:18:27 + _setopts=hxB 18:18:27 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:18:27 ++ tr : ' ' 18:18:27 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:18:27 + set +o braceexpand 18:18:27 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:18:27 + set +o hashall 18:18:27 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:18:27 + set +o interactive-comments 18:18:27 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:18:27 + set +o xtrace 18:18:27 ++ echo hxB 18:18:27 ++ sed 's/./& /g' 18:18:27 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:18:27 + set +h 18:18:27 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:18:27 + set +x 18:18:27 + [[ -n /tmp/tmp.vHf8phkpWy ]] 18:18:27 + rsync -av /tmp/tmp.vHf8phkpWy/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:18:27 sending incremental file list 18:18:27 ./ 18:18:27 log.html 18:18:27 output.xml 18:18:27 report.html 18:18:27 testplan.txt 18:18:27 18:18:27 sent 1,344,991 bytes received 95 bytes 2,690,172.00 bytes/sec 18:18:27 total size is 1,344,342 speedup is 1.00 18:18:27 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:18:27 + exit 0 18:18:27 $ ssh-agent -k 18:18:27 unset SSH_AUTH_SOCK; 18:18:27 unset SSH_AGENT_PID; 18:18:27 echo Agent pid 2161 killed; 18:18:27 [ssh-agent] Stopped. 18:18:28 Robot results publisher started... 18:18:28 INFO: Checking test criticality is deprecated and will be dropped in a future release! 18:18:28 -Parsing output xml: 18:18:28 Done! 18:18:28 WARNING! Could not find file: **/log.html 18:18:28 WARNING! Could not find file: **/report.html 18:18:28 -Copying log files to build dir: 18:18:28 Done! 18:18:28 -Assigning results to build: 18:18:28 Done! 18:18:28 -Checking thresholds: 18:18:28 Done! 18:18:28 Done publishing Robot results. 18:18:28 [PostBuildScript] - [INFO] Executing post build scripts. 18:18:28 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14125784360053191175.sh 18:18:28 ---> sysstat.sh 18:18:29 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13083794721309153337.sh 18:18:29 ---> package-listing.sh 18:18:29 ++ facter osfamily 18:18:29 ++ tr '[:upper:]' '[:lower:]' 18:18:29 + OS_FAMILY=debian 18:18:29 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:18:29 + START_PACKAGES=/tmp/packages_start.txt 18:18:29 + END_PACKAGES=/tmp/packages_end.txt 18:18:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:18:29 + PACKAGES=/tmp/packages_start.txt 18:18:29 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:18:29 + PACKAGES=/tmp/packages_end.txt 18:18:29 + case "${OS_FAMILY}" in 18:18:29 + dpkg -l 18:18:29 + grep '^ii' 18:18:29 + '[' -f /tmp/packages_start.txt ']' 18:18:29 + '[' -f /tmp/packages_end.txt ']' 18:18:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:18:29 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:18:29 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:18:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:18:29 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13101123471028174481.sh 18:18:29 ---> capture-instance-metadata.sh 18:18:29 Setup pyenv: 18:18:29 system 18:18:29 3.8.13 18:18:29 3.9.13 18:18:29 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:18:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tTXc from file:/tmp/.os_lf_venv 18:18:31 lf-activate-venv(): INFO: Installing: lftools 18:18:40 lf-activate-venv(): INFO: Adding /tmp/venv-tTXc/bin to PATH 18:18:40 INFO: Running in OpenStack, capturing instance metadata 18:18:40 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12479087598238015572.sh 18:18:40 provisioning config files... 18:18:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config17827803008352341711tmp 18:18:40 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:18:40 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:18:40 [EnvInject] - Injecting environment variables from a build step. 18:18:40 [EnvInject] - Injecting as environment variables the properties content 18:18:40 SERVER_ID=logs 18:18:40 18:18:40 [EnvInject] - Variables injected successfully. 18:18:40 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2386045023167865015.sh 18:18:40 ---> create-netrc.sh 18:18:40 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14045355663698606202.sh 18:18:40 ---> python-tools-install.sh 18:18:40 Setup pyenv: 18:18:40 system 18:18:40 3.8.13 18:18:40 3.9.13 18:18:40 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:18:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tTXc from file:/tmp/.os_lf_venv 18:18:42 lf-activate-venv(): INFO: Installing: lftools 18:18:51 lf-activate-venv(): INFO: Adding /tmp/venv-tTXc/bin to PATH 18:18:51 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10830654761723987764.sh 18:18:51 ---> sudo-logs.sh 18:18:51 Archiving 'sudo' log.. 18:18:52 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1874476187739772463.sh 18:18:52 ---> job-cost.sh 18:18:52 Setup pyenv: 18:18:52 system 18:18:52 3.8.13 18:18:52 3.9.13 18:18:52 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:18:52 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tTXc from file:/tmp/.os_lf_venv 18:18:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:18:57 lf-activate-venv(): INFO: Adding /tmp/venv-tTXc/bin to PATH 18:18:57 INFO: No Stack... 18:18:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:18:58 INFO: Archiving Costs 18:18:58 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins58062697812579765.sh 18:18:58 ---> logs-deploy.sh 18:18:58 Setup pyenv: 18:18:58 system 18:18:58 3.8.13 18:18:58 3.9.13 18:18:58 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:18:58 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tTXc from file:/tmp/.os_lf_venv 18:19:00 lf-activate-venv(): INFO: Installing: lftools 18:19:08 lf-activate-venv(): INFO: Adding /tmp/venv-tTXc/bin to PATH 18:19:08 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/129 18:19:08 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:19:09 Archives upload complete. 18:19:09 INFO: archiving logs to Nexus 18:19:10 ---> uname -a: 18:19:10 Linux prd-ubuntu1804-docker-8c-8g-14416 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:19:10 18:19:10 18:19:10 ---> lscpu: 18:19:10 Architecture: x86_64 18:19:10 CPU op-mode(s): 32-bit, 64-bit 18:19:10 Byte Order: Little Endian 18:19:10 CPU(s): 8 18:19:10 On-line CPU(s) list: 0-7 18:19:10 Thread(s) per core: 1 18:19:10 Core(s) per socket: 1 18:19:10 Socket(s): 8 18:19:10 NUMA node(s): 1 18:19:10 Vendor ID: AuthenticAMD 18:19:10 CPU family: 23 18:19:10 Model: 49 18:19:10 Model name: AMD EPYC-Rome Processor 18:19:10 Stepping: 0 18:19:10 CPU MHz: 2799.998 18:19:10 BogoMIPS: 5599.99 18:19:10 Virtualization: AMD-V 18:19:10 Hypervisor vendor: KVM 18:19:10 Virtualization type: full 18:19:10 L1d cache: 32K 18:19:10 L1i cache: 32K 18:19:10 L2 cache: 512K 18:19:10 L3 cache: 16384K 18:19:10 NUMA node0 CPU(s): 0-7 18:19:10 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 18:19:10 18:19:10 18:19:10 ---> nproc: 18:19:10 8 18:19:10 18:19:10 18:19:10 ---> df -h: 18:19:10 Filesystem Size Used Avail Use% Mounted on 18:19:10 udev 16G 0 16G 0% /dev 18:19:10 tmpfs 3.2G 708K 3.2G 1% /run 18:19:10 /dev/vda1 155G 12G 144G 8% / 18:19:10 tmpfs 16G 0 16G 0% /dev/shm 18:19:10 tmpfs 5.0M 0 5.0M 0% /run/lock 18:19:10 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:19:10 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:19:10 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:19:10 18:19:10 18:19:10 ---> free -m: 18:19:10 total used free shared buff/cache available 18:19:10 Mem: 32167 831 27321 0 4013 30879 18:19:10 Swap: 1023 0 1023 18:19:10 18:19:10 18:19:10 ---> ip addr: 18:19:10 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:19:10 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:19:10 inet 127.0.0.1/8 scope host lo 18:19:10 valid_lft forever preferred_lft forever 18:19:10 inet6 ::1/128 scope host 18:19:10 valid_lft forever preferred_lft forever 18:19:10 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:19:10 link/ether fa:16:3e:14:8e:28 brd ff:ff:ff:ff:ff:ff 18:19:10 inet 10.30.106.226/23 brd 10.30.107.255 scope global dynamic ens3 18:19:10 valid_lft 86053sec preferred_lft 86053sec 18:19:10 inet6 fe80::f816:3eff:fe14:8e28/64 scope link 18:19:10 valid_lft forever preferred_lft forever 18:19:10 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:19:10 link/ether 02:42:bb:46:df:6e brd ff:ff:ff:ff:ff:ff 18:19:10 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:19:10 valid_lft forever preferred_lft forever 18:19:10 18:19:10 18:19:10 ---> sar -b -r -n DEV: 18:19:10 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-14416) 03/19/24 _x86_64_ (8 CPU) 18:19:10 18:19:10 18:13:26 LINUX RESTART (8 CPU) 18:19:10 18:19:10 18:14:01 tps rtps wtps bread/s bwrtn/s 18:19:10 18:15:01 157.22 44.78 112.45 1997.80 89405.10 18:19:10 18:16:01 134.49 23.03 111.46 2763.41 43881.22 18:19:10 18:17:01 382.45 13.00 369.46 831.49 65761.47 18:19:10 18:18:01 4.18 0.07 4.12 3.07 99.22 18:19:10 18:19:01 53.67 1.95 51.72 126.25 3278.84 18:19:10 Average: 146.40 16.56 129.84 1144.36 40483.82 18:19:10 18:19:10 18:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:19:10 18:15:01 30139076 31729140 2800144 8.50 68136 1833372 1392396 4.10 846976 1665256 161612 18:19:10 18:16:01 29273160 31673424 3666060 11.13 94764 2588884 1529700 4.50 982944 2334144 576156 18:19:10 18:17:01 27337016 31019392 5602204 17.01 129164 3776372 3929900 11.56 1730520 3421836 404 18:19:10 18:18:01 26888800 30572492 6050420 18.37 129332 3777184 4234664 12.46 2176780 3421536 104 18:19:10 18:19:01 27989480 31631100 4949740 15.03 131044 3744172 1503604 4.42 1152884 3373000 2424 18:19:10 Average: 28325506 31325110 4613714 14.01 110488 3143997 2518053 7.41 1378021 2843154 148140 18:19:10 18:19:10 18:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:19:10 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:19:10 18:15:01 ens3 325.18 225.93 1470.34 59.33 0.00 0.00 0.00 0.00 18:19:10 18:15:01 lo 1.47 1.47 0.16 0.16 0.00 0.00 0.00 0.00 18:19:10 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:19:10 18:16:01 ens3 125.58 85.54 2857.62 12.98 0.00 0.00 0.00 0.00 18:19:10 18:16:01 br-617cec28a796 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:19:10 18:16:01 lo 5.60 5.60 0.53 0.53 0.00 0.00 0.00 0.00 18:19:10 18:17:01 veth6f66aee 0.05 0.27 0.00 0.02 0.00 0.00 0.00 0.00 18:19:10 18:17:01 vethee8c1f3 0.43 0.58 0.05 0.29 0.00 0.00 0.00 0.00 18:19:10 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:19:10 18:17:01 ens3 221.93 133.68 7335.61 10.07 0.00 0.00 0.00 0.00 18:19:10 18:18:01 veth6f66aee 0.18 0.18 0.02 0.76 0.00 0.00 0.00 0.00 18:19:10 18:18:01 vethee8c1f3 0.13 0.17 0.01 0.01 0.00 0.00 0.00 0.00 18:19:10 18:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:19:10 18:18:01 ens3 6.03 4.27 5.85 1.00 0.00 0.00 0.00 0.00 18:19:10 18:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:19:10 18:19:01 ens3 53.72 47.06 77.65 25.59 0.00 0.00 0.00 0.00 18:19:10 18:19:01 lo 33.91 33.91 10.64 10.64 0.00 0.00 0.00 0.00 18:19:10 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:19:10 Average: ens3 146.48 99.29 2349.33 21.79 0.00 0.00 0.00 0.00 18:19:10 Average: lo 6.01 6.01 2.06 2.06 0.00 0.00 0.00 0.00 18:19:10 18:19:10 18:19:10 ---> sar -P ALL: 18:19:10 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-14416) 03/19/24 _x86_64_ (8 CPU) 18:19:10 18:19:10 18:13:26 LINUX RESTART (8 CPU) 18:19:10 18:19:10 18:14:01 CPU %user %nice %system %iowait %steal %idle 18:19:10 18:15:01 all 11.31 0.00 0.91 5.71 0.04 82.02 18:19:10 18:15:01 0 2.72 0.00 0.53 5.64 0.02 91.09 18:19:10 18:15:01 1 2.06 0.00 0.47 16.67 0.05 80.75 18:19:10 18:15:01 2 3.50 0.00 0.68 0.38 0.02 95.41 18:19:10 18:15:01 3 21.37 0.00 1.29 14.70 0.07 62.58 18:19:10 18:15:01 4 21.25 0.00 1.30 1.47 0.07 75.91 18:19:10 18:15:01 5 15.43 0.00 0.82 1.07 0.03 82.65 18:19:10 18:15:01 6 10.05 0.00 1.15 1.20 0.05 87.54 18:19:10 18:15:01 7 14.16 0.00 0.97 4.68 0.03 80.15 18:19:10 18:16:01 all 10.18 0.00 1.21 3.54 0.04 85.02 18:19:10 18:16:01 0 2.99 0.00 0.68 0.20 0.02 96.11 18:19:10 18:16:01 1 1.86 0.00 0.65 0.10 0.02 97.37 18:19:10 18:16:01 2 9.71 0.00 0.95 1.82 0.05 87.46 18:19:10 18:16:01 3 3.84 0.00 1.29 18.31 0.03 76.53 18:19:10 18:16:01 4 23.23 0.00 1.92 3.61 0.07 71.17 18:19:10 18:16:01 5 10.13 0.00 1.50 1.44 0.05 86.88 18:19:10 18:16:01 6 24.00 0.00 1.72 2.67 0.03 71.57 18:19:10 18:16:01 7 5.65 0.00 1.02 0.20 0.03 93.10 18:19:10 18:17:01 all 15.56 0.00 3.66 4.34 0.06 76.38 18:19:10 18:17:01 0 16.90 0.00 3.45 2.19 0.07 77.39 18:19:10 18:17:01 1 14.68 0.00 2.83 0.52 0.07 81.90 18:19:10 18:17:01 2 15.58 0.00 3.61 2.50 0.07 78.24 18:19:10 18:17:01 3 16.51 0.00 3.60 1.23 0.07 78.60 18:19:10 18:17:01 4 10.55 0.00 3.34 0.83 0.05 85.23 18:19:10 18:17:01 5 16.25 0.00 4.36 23.28 0.08 56.03 18:19:10 18:17:01 6 13.85 0.00 4.02 3.16 0.07 78.90 18:19:10 18:17:01 7 20.14 0.00 4.09 1.10 0.07 74.61 18:19:10 18:18:01 all 4.64 0.00 0.41 0.02 0.02 94.90 18:19:10 18:18:01 0 6.06 0.00 0.63 0.10 0.07 93.14 18:19:10 18:18:01 1 2.66 0.00 0.20 0.02 0.02 97.11 18:19:10 18:18:01 2 4.15 0.00 0.42 0.00 0.02 95.41 18:19:10 18:18:01 3 4.15 0.00 0.30 0.00 0.02 95.53 18:19:10 18:18:01 4 2.74 0.00 0.45 0.02 0.02 96.77 18:19:10 18:18:01 5 5.85 0.00 0.47 0.02 0.02 93.65 18:19:10 18:18:01 6 5.74 0.00 0.32 0.02 0.02 93.91 18:19:10 18:18:01 7 5.80 0.00 0.47 0.00 0.00 93.73 18:19:10 18:19:01 all 6.80 0.00 0.61 0.66 0.03 91.90 18:19:10 18:19:01 0 1.32 0.00 0.58 2.72 0.03 95.34 18:19:10 18:19:01 1 18.82 0.00 1.07 0.13 0.03 79.95 18:19:10 18:19:01 2 22.57 0.00 0.80 0.68 0.03 75.91 18:19:10 18:19:01 3 1.14 0.00 0.55 0.45 0.03 97.83 18:19:10 18:19:01 4 0.94 0.00 0.39 0.12 0.02 98.54 18:19:10 18:19:01 5 1.59 0.00 0.45 0.42 0.03 97.51 18:19:10 18:19:01 6 7.32 0.00 0.63 0.65 0.02 91.38 18:19:10 18:19:01 7 0.72 0.00 0.42 0.05 0.03 98.78 18:19:10 Average: all 9.69 0.00 1.36 2.85 0.04 86.06 18:19:10 Average: 0 5.98 0.00 1.17 2.17 0.04 90.64 18:19:10 Average: 1 8.03 0.00 1.05 3.47 0.04 87.41 18:19:10 Average: 2 11.10 0.00 1.29 1.08 0.04 86.50 18:19:10 Average: 3 9.39 0.00 1.40 6.93 0.04 82.24 18:19:10 Average: 4 11.75 0.00 1.48 1.21 0.04 85.52 18:19:10 Average: 5 9.83 0.00 1.51 5.20 0.04 83.41 18:19:10 Average: 6 12.19 0.00 1.57 1.54 0.04 84.67 18:19:10 Average: 7 9.27 0.00 1.39 1.20 0.03 88.11 18:19:10 18:19:10 18:19:10