18:12:01 Started by timer 18:12:01 Running as SYSTEM 18:12:01 [EnvInject] - Loading node environment variables. 18:12:02 Building remotely on prd-ubuntu1804-docker-8c-8g-25380 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:12:02 [ssh-agent] Looking for ssh-agent implementation... 18:12:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:12:02 $ ssh-agent 18:12:02 SSH_AUTH_SOCK=/tmp/ssh-odmucY0dkNhK/agent.2143 18:12:02 SSH_AGENT_PID=2145 18:12:02 [ssh-agent] Started. 18:12:02 Running ssh-add (command line suppressed) 18:12:02 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_5669044905907901273.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_5669044905907901273.key) 18:12:02 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:12:02 The recommended git tool is: NONE 18:12:03 using credential onap-jenkins-ssh 18:12:04 Wiping out workspace first. 18:12:04 Cloning the remote Git repository 18:12:04 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:12:04 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:12:04 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:12:04 > git --version # timeout=10 18:12:04 > git --version # 'git version 2.17.1' 18:12:04 using GIT_SSH to set credentials Gerrit user 18:12:04 Verifying host key using manually-configured host key entries 18:12:04 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:12:04 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:12:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:04 Avoid second fetch 18:12:04 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:12:04 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:12:05 > git config core.sparsecheckout # timeout=10 18:12:05 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:12:05 Commit message: "Set Montreal default branch" 18:12:05 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:12:05 provisioning config files... 18:12:05 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:12:05 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:12:05 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12439311917017104121.sh 18:12:05 ---> python-tools-install.sh 18:12:05 Setup pyenv: 18:12:05 * system (set by /opt/pyenv/version) 18:12:05 * 3.8.13 (set by /opt/pyenv/version) 18:12:05 * 3.9.13 (set by /opt/pyenv/version) 18:12:05 * 3.10.6 (set by /opt/pyenv/version) 18:12:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Qh4c 18:12:10 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:14 lf-activate-venv(): INFO: Installing: lftools 18:12:51 lf-activate-venv(): INFO: Adding /tmp/venv-Qh4c/bin to PATH 18:12:51 Generating Requirements File 18:13:20 Python 3.10.6 18:13:20 pip 24.0 from /tmp/venv-Qh4c/lib/python3.10/site-packages/pip (python 3.10) 18:13:21 appdirs==1.4.4 18:13:21 argcomplete==3.3.0 18:13:21 aspy.yaml==1.3.0 18:13:21 attrs==23.2.0 18:13:21 autopage==0.5.2 18:13:21 beautifulsoup4==4.12.3 18:13:21 boto3==1.34.89 18:13:21 botocore==1.34.89 18:13:21 bs4==0.0.2 18:13:21 cachetools==5.3.3 18:13:21 certifi==2024.2.2 18:13:21 cffi==1.16.0 18:13:21 cfgv==3.4.0 18:13:21 chardet==5.2.0 18:13:21 charset-normalizer==3.3.2 18:13:21 click==8.1.7 18:13:21 cliff==4.6.0 18:13:21 cmd2==2.4.3 18:13:21 cryptography==3.3.2 18:13:21 debtcollector==3.0.0 18:13:21 decorator==5.1.1 18:13:21 defusedxml==0.7.1 18:13:21 Deprecated==1.2.14 18:13:21 distlib==0.3.8 18:13:21 dnspython==2.6.1 18:13:21 docker==4.2.2 18:13:21 dogpile.cache==1.3.2 18:13:21 email_validator==2.1.1 18:13:21 filelock==3.13.4 18:13:21 future==1.0.0 18:13:21 gitdb==4.0.11 18:13:21 GitPython==3.1.43 18:13:21 google-auth==2.29.0 18:13:21 httplib2==0.22.0 18:13:21 identify==2.5.36 18:13:21 idna==3.7 18:13:21 importlib-resources==1.5.0 18:13:21 iso8601==2.1.0 18:13:21 Jinja2==3.1.3 18:13:21 jmespath==1.0.1 18:13:21 jsonpatch==1.33 18:13:21 jsonpointer==2.4 18:13:21 jsonschema==4.21.1 18:13:21 jsonschema-specifications==2023.12.1 18:13:21 keystoneauth1==5.6.0 18:13:21 kubernetes==29.0.0 18:13:21 lftools==0.37.10 18:13:21 lxml==5.2.1 18:13:21 MarkupSafe==2.1.5 18:13:21 msgpack==1.0.8 18:13:21 multi_key_dict==2.0.3 18:13:21 munch==4.0.0 18:13:21 netaddr==1.2.1 18:13:21 netifaces==0.11.0 18:13:21 niet==1.4.2 18:13:21 nodeenv==1.8.0 18:13:21 oauth2client==4.1.3 18:13:21 oauthlib==3.2.2 18:13:21 openstacksdk==3.1.0 18:13:21 os-client-config==2.1.0 18:13:21 os-service-types==1.7.0 18:13:21 osc-lib==3.0.1 18:13:21 oslo.config==9.4.0 18:13:21 oslo.context==5.5.0 18:13:21 oslo.i18n==6.3.0 18:13:21 oslo.log==5.5.1 18:13:21 oslo.serialization==5.4.0 18:13:21 oslo.utils==7.1.0 18:13:21 packaging==24.0 18:13:21 pbr==6.0.0 18:13:21 platformdirs==4.2.1 18:13:21 prettytable==3.10.0 18:13:21 pyasn1==0.6.0 18:13:21 pyasn1_modules==0.4.0 18:13:21 pycparser==2.22 18:13:21 pygerrit2==2.0.15 18:13:21 PyGithub==2.3.0 18:13:21 pyinotify==0.9.6 18:13:21 PyJWT==2.8.0 18:13:21 PyNaCl==1.5.0 18:13:21 pyparsing==2.4.7 18:13:21 pyperclip==1.8.2 18:13:21 pyrsistent==0.20.0 18:13:21 python-cinderclient==9.5.0 18:13:21 python-dateutil==2.9.0.post0 18:13:21 python-heatclient==3.5.0 18:13:21 python-jenkins==1.8.2 18:13:21 python-keystoneclient==5.4.0 18:13:21 python-magnumclient==4.4.0 18:13:21 python-novaclient==18.6.0 18:13:21 python-openstackclient==6.6.0 18:13:21 python-swiftclient==4.5.0 18:13:21 PyYAML==6.0.1 18:13:21 referencing==0.34.0 18:13:21 requests==2.31.0 18:13:21 requests-oauthlib==2.0.0 18:13:21 requestsexceptions==1.4.0 18:13:21 rfc3986==2.0.0 18:13:21 rpds-py==0.18.0 18:13:21 rsa==4.9 18:13:21 ruamel.yaml==0.18.6 18:13:21 ruamel.yaml.clib==0.2.8 18:13:21 s3transfer==0.10.1 18:13:21 simplejson==3.19.2 18:13:21 six==1.16.0 18:13:21 smmap==5.0.1 18:13:21 soupsieve==2.5 18:13:21 stevedore==5.2.0 18:13:21 tabulate==0.9.0 18:13:21 toml==0.10.2 18:13:21 tomlkit==0.12.4 18:13:21 tqdm==4.66.2 18:13:21 typing_extensions==4.11.0 18:13:21 tzdata==2024.1 18:13:21 urllib3==1.26.18 18:13:21 virtualenv==20.26.0 18:13:21 wcwidth==0.2.13 18:13:21 websocket-client==1.7.0 18:13:21 wrapt==1.16.0 18:13:21 xdg==6.0.0 18:13:21 xmltodict==0.13.0 18:13:21 yq==3.4.1 18:13:21 [EnvInject] - Injecting environment variables from a build step. 18:13:21 [EnvInject] - Injecting as environment variables the properties content 18:13:21 SET_JDK_VERSION=openjdk17 18:13:21 GIT_URL="git://cloud.onap.org/mirror" 18:13:21 18:13:21 [EnvInject] - Variables injected successfully. 18:13:21 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins8627867175837060676.sh 18:13:21 ---> update-java-alternatives.sh 18:13:21 ---> Updating Java version 18:13:21 ---> Ubuntu/Debian system detected 18:13:22 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:22 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:22 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 18:13:22 openjdk version "17.0.4" 2022-07-19 18:13:22 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:22 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:22 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:22 [EnvInject] - Injecting environment variables from a build step. 18:13:22 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:22 [EnvInject] - Variables injected successfully. 18:13:22 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins3287574393351026406.sh 18:13:22 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:22 + set +u 18:13:22 + save_set 18:13:22 + RUN_CSIT_SAVE_SET=ehxB 18:13:22 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:22 + '[' 1 -eq 0 ']' 18:13:22 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:22 + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:22 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:22 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:22 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:22 + export ROBOT_VARIABLES= 18:13:22 + ROBOT_VARIABLES= 18:13:22 + export PROJECT=api 18:13:22 + PROJECT=api 18:13:22 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:22 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:22 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:22 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:22 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:22 + relax_set 18:13:22 + set +e 18:13:22 + set +o pipefail 18:13:22 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:22 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:22 +++ mktemp -d 18:13:22 ++ ROBOT_VENV=/tmp/tmp.XDDLtNV6OB 18:13:22 ++ echo ROBOT_VENV=/tmp/tmp.XDDLtNV6OB 18:13:22 +++ python3 --version 18:13:22 ++ echo 'Python version is: Python 3.6.9' 18:13:22 Python version is: Python 3.6.9 18:13:22 ++ python3 -m venv --clear /tmp/tmp.XDDLtNV6OB 18:13:23 ++ source /tmp/tmp.XDDLtNV6OB/bin/activate 18:13:23 +++ deactivate nondestructive 18:13:23 +++ '[' -n '' ']' 18:13:23 +++ '[' -n '' ']' 18:13:23 +++ '[' -n /bin/bash -o -n '' ']' 18:13:23 +++ hash -r 18:13:23 +++ '[' -n '' ']' 18:13:23 +++ unset VIRTUAL_ENV 18:13:23 +++ '[' '!' nondestructive = nondestructive ']' 18:13:23 +++ VIRTUAL_ENV=/tmp/tmp.XDDLtNV6OB 18:13:23 +++ export VIRTUAL_ENV 18:13:23 +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:23 +++ PATH=/tmp/tmp.XDDLtNV6OB/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:23 +++ export PATH 18:13:23 +++ '[' -n '' ']' 18:13:23 +++ '[' -z '' ']' 18:13:23 +++ _OLD_VIRTUAL_PS1= 18:13:23 +++ '[' 'x(tmp.XDDLtNV6OB) ' '!=' x ']' 18:13:23 +++ PS1='(tmp.XDDLtNV6OB) ' 18:13:23 +++ export PS1 18:13:23 +++ '[' -n /bin/bash -o -n '' ']' 18:13:23 +++ hash -r 18:13:23 ++ set -exu 18:13:23 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:27 ++ echo 'Installing Python Requirements' 18:13:27 Installing Python Requirements 18:13:27 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:46 ++ python3 -m pip -qq freeze 18:13:46 bcrypt==4.0.1 18:13:46 beautifulsoup4==4.12.3 18:13:46 bitarray==2.9.2 18:13:46 certifi==2024.2.2 18:13:46 cffi==1.15.1 18:13:46 charset-normalizer==2.0.12 18:13:46 cryptography==40.0.2 18:13:46 decorator==5.1.1 18:13:46 elasticsearch==7.17.9 18:13:46 elasticsearch-dsl==7.4.1 18:13:46 enum34==1.1.10 18:13:46 idna==3.7 18:13:46 importlib-resources==5.4.0 18:13:46 ipaddr==2.2.0 18:13:46 isodate==0.6.1 18:13:46 jmespath==0.10.0 18:13:46 jsonpatch==1.32 18:13:46 jsonpath-rw==1.4.0 18:13:46 jsonpointer==2.3 18:13:46 lxml==5.2.1 18:13:46 netaddr==0.8.0 18:13:46 netifaces==0.11.0 18:13:46 odltools==0.1.28 18:13:46 paramiko==3.4.0 18:13:46 pkg_resources==0.0.0 18:13:46 ply==3.11 18:13:46 pyang==2.6.0 18:13:46 pyangbind==0.8.1 18:13:46 pycparser==2.21 18:13:46 pyhocon==0.3.60 18:13:46 PyNaCl==1.5.0 18:13:46 pyparsing==3.1.2 18:13:46 python-dateutil==2.9.0.post0 18:13:46 regex==2023.8.8 18:13:46 requests==2.27.1 18:13:46 robotframework==6.1.1 18:13:46 robotframework-httplibrary==0.4.2 18:13:46 robotframework-pythonlibcore==3.0.0 18:13:46 robotframework-requests==0.9.4 18:13:46 robotframework-selenium2library==3.0.0 18:13:46 robotframework-seleniumlibrary==5.1.3 18:13:46 robotframework-sshlibrary==3.8.0 18:13:46 scapy==2.5.0 18:13:46 scp==0.14.5 18:13:46 selenium==3.141.0 18:13:46 six==1.16.0 18:13:46 soupsieve==2.3.2.post1 18:13:46 urllib3==1.26.18 18:13:46 waitress==2.0.0 18:13:46 WebOb==1.8.7 18:13:46 WebTest==3.0.0 18:13:46 zipp==3.6.0 18:13:46 ++ mkdir -p /tmp/tmp.XDDLtNV6OB/src/onap 18:13:46 ++ rm -rf /tmp/tmp.XDDLtNV6OB/src/onap/testsuite 18:13:46 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 18:13:52 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:52 Uninstall docker-py and reinstall docker. 18:13:52 ++ python3 -m pip uninstall -y -qq docker 18:13:52 ++ python3 -m pip install -U -qq docker 18:13:53 ++ python3 -m pip -qq freeze 18:13:54 bcrypt==4.0.1 18:13:54 beautifulsoup4==4.12.3 18:13:54 bitarray==2.9.2 18:13:54 certifi==2024.2.2 18:13:54 cffi==1.15.1 18:13:54 charset-normalizer==2.0.12 18:13:54 cryptography==40.0.2 18:13:54 decorator==5.1.1 18:13:54 deepdiff==5.7.0 18:13:54 dnspython==2.2.1 18:13:54 docker==5.0.3 18:13:54 elasticsearch==7.17.9 18:13:54 elasticsearch-dsl==7.4.1 18:13:54 enum34==1.1.10 18:13:54 future==1.0.0 18:13:54 idna==3.7 18:13:54 importlib-resources==5.4.0 18:13:54 ipaddr==2.2.0 18:13:54 isodate==0.6.1 18:13:54 Jinja2==3.0.3 18:13:54 jmespath==0.10.0 18:13:54 jsonpatch==1.32 18:13:54 jsonpath-rw==1.4.0 18:13:54 jsonpointer==2.3 18:13:54 kafka-python==2.0.2 18:13:54 lxml==5.2.1 18:13:54 MarkupSafe==2.0.1 18:13:54 more-itertools==5.0.0 18:13:54 netaddr==0.8.0 18:13:54 netifaces==0.11.0 18:13:54 odltools==0.1.28 18:13:54 ordered-set==4.0.2 18:13:54 paramiko==3.4.0 18:13:54 pbr==6.0.0 18:13:54 pkg_resources==0.0.0 18:13:54 ply==3.11 18:13:54 protobuf==3.19.6 18:13:54 pyang==2.6.0 18:13:54 pyangbind==0.8.1 18:13:54 pycparser==2.21 18:13:54 pyhocon==0.3.60 18:13:54 PyNaCl==1.5.0 18:13:54 pyparsing==3.1.2 18:13:54 python-dateutil==2.9.0.post0 18:13:54 PyYAML==6.0.1 18:13:54 regex==2023.8.8 18:13:54 requests==2.27.1 18:13:54 robotframework==6.1.1 18:13:54 robotframework-httplibrary==0.4.2 18:13:54 robotframework-onap==0.6.0.dev105 18:13:54 robotframework-pythonlibcore==3.0.0 18:13:54 robotframework-requests==0.9.4 18:13:54 robotframework-selenium2library==3.0.0 18:13:54 robotframework-seleniumlibrary==5.1.3 18:13:54 robotframework-sshlibrary==3.8.0 18:13:54 robotlibcore-temp==1.0.2 18:13:54 scapy==2.5.0 18:13:54 scp==0.14.5 18:13:54 selenium==3.141.0 18:13:54 six==1.16.0 18:13:54 soupsieve==2.3.2.post1 18:13:54 urllib3==1.26.18 18:13:54 waitress==2.0.0 18:13:54 WebOb==1.8.7 18:13:54 websocket-client==1.3.1 18:13:54 WebTest==3.0.0 18:13:54 zipp==3.6.0 18:13:54 ++ uname 18:13:54 ++ grep -q Linux 18:13:54 ++ sudo apt-get -y -qq install libxml2-utils 18:13:54 + load_set 18:13:54 + _setopts=ehuxB 18:13:54 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:54 ++ tr : ' ' 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o braceexpand 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o hashall 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o interactive-comments 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o nounset 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o xtrace 18:13:54 ++ echo ehuxB 18:13:54 ++ sed 's/./& /g' 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +e 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +h 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +u 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +x 18:13:54 + source_safely /tmp/tmp.XDDLtNV6OB/bin/activate 18:13:54 + '[' -z /tmp/tmp.XDDLtNV6OB/bin/activate ']' 18:13:54 + relax_set 18:13:54 + set +e 18:13:54 + set +o pipefail 18:13:54 + . /tmp/tmp.XDDLtNV6OB/bin/activate 18:13:54 ++ deactivate nondestructive 18:13:54 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ']' 18:13:54 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:54 ++ export PATH 18:13:54 ++ unset _OLD_VIRTUAL_PATH 18:13:54 ++ '[' -n '' ']' 18:13:54 ++ '[' -n /bin/bash -o -n '' ']' 18:13:54 ++ hash -r 18:13:54 ++ '[' -n '' ']' 18:13:54 ++ unset VIRTUAL_ENV 18:13:54 ++ '[' '!' nondestructive = nondestructive ']' 18:13:54 ++ VIRTUAL_ENV=/tmp/tmp.XDDLtNV6OB 18:13:54 ++ export VIRTUAL_ENV 18:13:54 ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:54 ++ PATH=/tmp/tmp.XDDLtNV6OB/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:54 ++ export PATH 18:13:54 ++ '[' -n '' ']' 18:13:54 ++ '[' -z '' ']' 18:13:54 ++ _OLD_VIRTUAL_PS1='(tmp.XDDLtNV6OB) ' 18:13:54 ++ '[' 'x(tmp.XDDLtNV6OB) ' '!=' x ']' 18:13:54 ++ PS1='(tmp.XDDLtNV6OB) (tmp.XDDLtNV6OB) ' 18:13:54 ++ export PS1 18:13:54 ++ '[' -n /bin/bash -o -n '' ']' 18:13:54 ++ hash -r 18:13:54 + load_set 18:13:54 + _setopts=hxB 18:13:54 ++ tr : ' ' 18:13:54 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o braceexpand 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o hashall 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o interactive-comments 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o xtrace 18:13:54 ++ echo hxB 18:13:54 ++ sed 's/./& /g' 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +h 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +x 18:13:54 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:54 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:54 + export TEST_OPTIONS= 18:13:54 + TEST_OPTIONS= 18:13:54 ++ mktemp -d 18:13:54 + WORKDIR=/tmp/tmp.B61fiPtXyc 18:13:54 + cd /tmp/tmp.B61fiPtXyc 18:13:54 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:54 Configure a credential helper to remove this warning. See 18:13:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:54 18:13:54 Login Succeeded 18:13:54 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:54 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:54 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:54 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:54 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:54 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:54 + relax_set 18:13:54 + set +e 18:13:54 + set +o pipefail 18:13:54 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:54 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:54 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:54 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:54 +++ GERRIT_BRANCH=montreal 18:13:54 +++ echo GERRIT_BRANCH=montreal 18:13:54 GERRIT_BRANCH=montreal 18:13:54 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:54 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:54 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:54 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:55 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:55 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:55 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:55 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:55 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:55 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:55 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:55 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:55 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:55 +++ grafana=false 18:13:55 +++ gui=false 18:13:55 +++ [[ 2 -gt 0 ]] 18:13:55 +++ key=api 18:13:55 +++ case $key in 18:13:55 +++ echo api 18:13:55 api 18:13:55 +++ component=api 18:13:55 +++ shift 18:13:55 +++ [[ 1 -gt 0 ]] 18:13:55 +++ key=--grafana 18:13:55 +++ case $key in 18:13:55 +++ grafana=true 18:13:55 +++ shift 18:13:55 +++ [[ 0 -gt 0 ]] 18:13:55 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:55 +++ echo 'Configuring docker compose...' 18:13:55 Configuring docker compose... 18:13:55 +++ source export-ports.sh 18:13:55 +++ source get-versions.sh 18:13:59 +++ '[' -z api ']' 18:13:59 +++ '[' -n api ']' 18:13:59 +++ '[' api == logs ']' 18:13:59 +++ '[' true = true ']' 18:13:59 +++ echo 'Starting api application with Grafana' 18:13:59 Starting api application with Grafana 18:13:59 +++ docker-compose up -d api grafana 18:14:00 Creating network "compose_default" with the default driver 18:14:00 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:14:00 10.10.2: Pulling from mariadb 18:14:05 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:14:05 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:14:05 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:14:05 3.0.2: Pulling from onap/policy-db-migrator 18:14:09 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:14:09 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:14:09 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:14:09 3.0.2: Pulling from onap/policy-api 18:14:11 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:14:11 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:14:11 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:11 latest: Pulling from prom/prometheus 18:14:14 Digest: sha256:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 18:14:14 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:14 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:14 latest: Pulling from grafana/grafana 18:14:19 Digest: sha256:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e 18:14:19 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:20 Creating mariadb ... 18:14:20 Creating prometheus ... 18:14:30 Creating prometheus ... done 18:14:30 Creating grafana ... 18:14:31 Creating grafana ... done 18:14:32 Creating mariadb ... done 18:14:32 Creating policy-db-migrator ... 18:14:33 Creating policy-db-migrator ... done 18:14:33 Creating policy-api ... 18:14:34 Creating policy-api ... done 18:14:34 +++ echo 'Prometheus server: http://localhost:30259' 18:14:34 Prometheus server: http://localhost:30259 18:14:34 +++ echo 'Grafana server: http://localhost:30269' 18:14:34 Grafana server: http://localhost:30269 18:14:34 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:34 ++ sleep 10 18:14:44 ++ unset http_proxy https_proxy 18:14:44 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:44 Waiting for REST to come up on localhost port 30002... 18:14:44 NAMES STATUS 18:14:44 policy-api Up 10 seconds 18:14:44 policy-db-migrator Up 11 seconds 18:14:44 grafana Up 13 seconds 18:14:44 prometheus Up 14 seconds 18:14:44 mariadb Up 11 seconds 18:14:49 NAMES STATUS 18:14:49 policy-api Up 15 seconds 18:14:49 grafana Up 18 seconds 18:14:49 prometheus Up 19 seconds 18:14:49 mariadb Up 17 seconds 18:14:55 NAMES STATUS 18:14:55 policy-api Up 20 seconds 18:14:55 grafana Up 23 seconds 18:14:55 prometheus Up 24 seconds 18:14:55 mariadb Up 22 seconds 18:15:00 NAMES STATUS 18:15:00 policy-api Up 25 seconds 18:15:00 grafana Up 28 seconds 18:15:00 prometheus Up 29 seconds 18:15:00 mariadb Up 27 seconds 18:15:00 ++ export 'SUITES=api-test.robot 18:15:00 api-slas.robot' 18:15:00 ++ SUITES='api-test.robot 18:15:00 api-slas.robot' 18:15:00 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:00 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:15:00 + load_set 18:15:00 + _setopts=hxB 18:15:00 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:15:00 ++ tr : ' ' 18:15:00 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:00 + set +o braceexpand 18:15:00 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:00 + set +o hashall 18:15:00 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:00 + set +o interactive-comments 18:15:00 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:00 + set +o xtrace 18:15:00 ++ echo hxB 18:15:00 ++ sed 's/./& /g' 18:15:00 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:00 + set +h 18:15:00 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:00 + set +x 18:15:00 + docker_stats 18:15:00 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:15:00 ++ uname -s 18:15:00 + '[' Linux == Darwin ']' 18:15:00 + sh -c 'top -bn1 | head -3' 18:15:00 top - 18:15:00 up 3 min, 0 users, load average: 1.90, 0.91, 0.36 18:15:00 Tasks: 179 total, 1 running, 101 sleeping, 0 stopped, 0 zombie 18:15:00 %Cpu(s): 10.4 us, 2.0 sy, 0.0 ni, 82.7 id, 4.8 wa, 0.0 hi, 0.0 si, 0.1 st 18:15:00 + echo 18:15:00 + sh -c 'free -h' 18:15:00 18:15:00 total used free shared buff/cache available 18:15:00 Mem: 31G 1.5G 25G 1.0M 3.9G 29G 18:15:00 Swap: 1.0G 0B 1.0G 18:15:00 + echo 18:15:00 18:15:00 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:15:00 NAMES STATUS 18:15:00 policy-api Up 25 seconds 18:15:00 grafana Up 28 seconds 18:15:00 prometheus Up 29 seconds 18:15:00 mariadb Up 27 seconds 18:15:00 + echo 18:15:00 + docker stats --no-stream 18:15:00 18:15:02 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:15:02 71759b386af3 policy-api 0.14% 549.6MiB / 31.41GiB 1.71% 998kB / 710kB 0B / 0B 54 18:15:02 dd6d60eb577c grafana 0.05% 60.3MiB / 31.41GiB 0.19% 18.6kB / 3.12kB 0B / 24.6MB 17 18:15:02 602894de8209 prometheus 0.00% 18.64MiB / 31.41GiB 0.06% 1.52kB / 158B 131kB / 0B 13 18:15:02 2ab388a0f42f mariadb 0.03% 100.6MiB / 31.41GiB 0.31% 985kB / 1.17MB 10.8MB / 67.7MB 26 18:15:02 + echo 18:15:02 18:15:02 + cd /tmp/tmp.B61fiPtXyc 18:15:02 + echo 'Reading the testplan:' 18:15:02 Reading the testplan: 18:15:02 + echo 'api-test.robot 18:15:02 api-slas.robot' 18:15:02 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:15:02 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:15:02 + cat testplan.txt 18:15:02 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:15:02 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:02 ++ xargs 18:15:02 + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' 18:15:02 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:02 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:15:02 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:02 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:15:02 + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' 18:15:02 Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... 18:15:02 + relax_set 18:15:02 + set +e 18:15:02 + set +o pipefail 18:15:02 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:03 ============================================================================== 18:15:03 api 18:15:03 ============================================================================== 18:15:03 api.Api-Test 18:15:03 ============================================================================== 18:15:03 Healthcheck :: Verify policy api health check | PASS | 18:15:03 ------------------------------------------------------------------------------ 18:15:05 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:05 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:06 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:06 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:06 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:07 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:15:07 ------------------------------------------------------------------------------ 18:15:07 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:15:07 ------------------------------------------------------------------------------ 18:15:07 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:15:07 ------------------------------------------------------------------------------ 18:15:08 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:10 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 api.Api-Test | PASS | 18:15:10 22 tests, 22 passed, 0 failed 18:15:10 ============================================================================== 18:15:10 api.Api-Slas 18:15:10 ============================================================================== 18:16:10 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 api.Api-Slas | PASS | 18:16:10 9 tests, 9 passed, 0 failed 18:16:10 ============================================================================== 18:16:10 api | PASS | 18:16:10 31 tests, 31 passed, 0 failed 18:16:10 ============================================================================== 18:16:10 Output: /tmp/tmp.B61fiPtXyc/output.xml 18:16:10 Log: /tmp/tmp.B61fiPtXyc/log.html 18:16:10 Report: /tmp/tmp.B61fiPtXyc/report.html 18:16:10 + RESULT=0 18:16:10 + load_set 18:16:10 + _setopts=hxB 18:16:10 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:10 ++ tr : ' ' 18:16:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:10 + set +o braceexpand 18:16:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:10 + set +o hashall 18:16:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:10 + set +o interactive-comments 18:16:10 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:10 + set +o xtrace 18:16:10 ++ echo hxB 18:16:10 ++ sed 's/./& /g' 18:16:10 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:10 + set +h 18:16:10 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:10 + set +x 18:16:10 + echo 'RESULT: 0' 18:16:10 RESULT: 0 18:16:10 + exit 0 18:16:10 + on_exit 18:16:10 + rc=0 18:16:10 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:16:10 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:10 NAMES STATUS 18:16:10 policy-api Up About a minute 18:16:10 grafana Up About a minute 18:16:10 prometheus Up About a minute 18:16:10 mariadb Up About a minute 18:16:10 + docker_stats 18:16:10 ++ uname -s 18:16:10 + '[' Linux == Darwin ']' 18:16:10 + sh -c 'top -bn1 | head -3' 18:16:11 top - 18:16:11 up 4 min, 0 users, load average: 0.73, 0.79, 0.36 18:16:11 Tasks: 177 total, 1 running, 99 sleeping, 0 stopped, 0 zombie 18:16:11 %Cpu(s): 8.8 us, 1.6 sy, 0.0 ni, 85.8 id, 3.7 wa, 0.0 hi, 0.0 si, 0.0 st 18:16:11 + echo 18:16:11 18:16:11 + sh -c 'free -h' 18:16:11 total used free shared buff/cache available 18:16:11 Mem: 31G 1.8G 25G 1.0M 3.9G 29G 18:16:11 Swap: 1.0G 0B 1.0G 18:16:11 + echo 18:16:11 18:16:11 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:11 NAMES STATUS 18:16:11 policy-api Up About a minute 18:16:11 grafana Up About a minute 18:16:11 prometheus Up About a minute 18:16:11 mariadb Up About a minute 18:16:11 + echo 18:16:11 18:16:11 + docker stats --no-stream 18:16:13 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:16:13 71759b386af3 policy-api 0.09% 840.5MiB / 31.41GiB 2.61% 7MB / 2.55MB 0B / 0B 55 18:16:13 dd6d60eb577c grafana 0.03% 64.42MiB / 31.41GiB 0.20% 19.6kB / 4.34kB 0B / 24.6MB 17 18:16:13 602894de8209 prometheus 0.00% 25.12MiB / 31.41GiB 0.08% 55.6kB / 6.5kB 131kB / 0B 13 18:16:13 2ab388a0f42f mariadb 0.02% 101.7MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 10.8MB / 68.1MB 18 18:16:13 + echo 18:16:13 18:16:13 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:13 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:16:13 + relax_set 18:16:13 + set +e 18:16:13 + set +o pipefail 18:16:13 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:13 ++ echo 'Shut down started!' 18:16:13 Shut down started! 18:16:13 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:13 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:16:13 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:16:13 ++ source export-ports.sh 18:16:13 ++ source get-versions.sh 18:16:17 ++ echo 'Collecting logs from docker compose containers...' 18:16:17 Collecting logs from docker compose containers... 18:16:17 ++ docker-compose logs 18:16:18 ++ cat docker_compose.log 18:16:18 Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.761854128Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-23T18:14:31Z 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762140023Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762153044Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762156764Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762160144Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762164954Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762167794Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762171794Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762177774Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762187024Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762193464Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762199994Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762215465Z level=info msg=Target target=[all] 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762237135Z level=info msg="Path Home" path=/usr/share/grafana 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762242855Z level=info msg="Path Data" path=/var/lib/grafana 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762248545Z level=info msg="Path Logs" path=/var/log/grafana 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762254845Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762260515Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:18 grafana | logger=settings t=2024-04-23T18:14:31.762266125Z level=info msg="App mode production" 18:16:18 grafana | logger=sqlstore t=2024-04-23T18:14:31.762677413Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:18 grafana | logger=sqlstore t=2024-04-23T18:14:31.762704823Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.763587008Z level=info msg="Starting DB migrations" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.764733447Z level=info msg="Executing migration" id="create migration_log table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.765859156Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.124969ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.770703089Z level=info msg="Executing migration" id="create user table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.771485453Z level=info msg="Migration successfully executed" id="create user table" duration=781.994µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.77659508Z level=info msg="Executing migration" id="add unique index user.login" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.777330692Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=734.082µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.78129003Z level=info msg="Executing migration" id="add unique index user.email" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.782016043Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=726.953µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.786161734Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.7871555Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=992.496µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.790786613Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.79176977Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=982.946µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.796580832Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.798914581Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.333269ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.802349Z level=info msg="Executing migration" id="create user table v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.803169724Z level=info msg="Migration successfully executed" id="create user table v2" duration=820.414µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.806701684Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.807389576Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=687.082µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.811941094Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.813041043Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.098609ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.81749844Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.818276283Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=777.103µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.821995316Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.822583306Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=587.53µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.827130855Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.828297964Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.166669ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.831764723Z level=info msg="Executing migration" id="Update user table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.831792043Z level=info msg="Migration successfully executed" id="Update user table charset" duration=28µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.835439156Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.836590236Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.1503ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.840410041Z level=info msg="Executing migration" id="Add missing user data" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.840920619Z level=info msg="Migration successfully executed" id="Add missing user data" duration=512.108µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.845880084Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.847701376Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.820342ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.851821576Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.853113709Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.291943ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.857223149Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.858690174Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.467595ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.862462038Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.874736528Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.27576ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.879197784Z level=info msg="Executing migration" id="Add uid column to user" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.880077289Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=878.665µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.88364051Z level=info msg="Executing migration" id="Update uid column values for users" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.884089988Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=448.268µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.888543594Z level=info msg="Executing migration" id="Add unique index user_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.889858316Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.315503ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.893956147Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.894311093Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=354.447µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.898701918Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.899590763Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=887.995µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.90350187Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.904762561Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.260321ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.909128076Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.910400108Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.271522ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.915569776Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.916819238Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.251092ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.921250253Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.922108328Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=857.775µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.926062375Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.926087746Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.011µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.931873505Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.932995524Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.12223ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.936583906Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.937342678Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=758.773µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.940661405Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.941400338Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=739.013µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.945908095Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.946650667Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=743.622µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.950087176Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.953154699Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.066853ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.956487215Z level=info msg="Executing migration" id="create temp_user v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.957421782Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=933.097µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.961778076Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.962846094Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.066618ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.966759991Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.968010653Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.250172ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.971538673Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.972253105Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=713.922µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.976542428Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.977285281Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=742.663µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.98133855Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.981958741Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=620.491µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.985471671Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.986296465Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=825.634µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.990592739Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.990951715Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=357.166µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.993706072Z level=info msg="Executing migration" id="create star table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.994350893Z level=info msg="Migration successfully executed" id="create star table" duration=644.391µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.997767451Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:31.998705928Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=936.627µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.003823305Z level=info msg="Executing migration" id="create org table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.004987295Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.16335ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.00962319Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.010366544Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=742.704µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.013899881Z level=info msg="Executing migration" id="create org_user table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.014835129Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=934.518µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.018431377Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.019549458Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.117611ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.023132177Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.02385196Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=719.533µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.028276974Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.028968437Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=691.283µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.032523894Z level=info msg="Executing migration" id="Update org table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.032547575Z level=info msg="Migration successfully executed" id="Update org table charset" duration=23.981µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.036037411Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.036063901Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=27.42µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.039522517Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.039776201Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=253.554µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.044397809Z level=info msg="Executing migration" id="create dashboard table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.045559722Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.161213ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.048923475Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.049677139Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=751.725µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.053064713Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.053842188Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=776.985µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.057207012Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.057839374Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=632.072µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.062069064Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.062815488Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=746.804µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.066340825Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.066983627Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=642.542µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.070361601Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.075355786Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.993715ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.080486863Z level=info msg="Executing migration" id="create dashboard v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.081242038Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=752.625µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.084605351Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.085322614Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=716.573µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.088845471Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.089637857Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=791.716µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.095597869Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.096082849Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=484.8µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.099588415Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.100762087Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.173272ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.104506129Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.10457037Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=63.682µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.108935232Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.111047102Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.10993ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.11463787Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.117367162Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.728342ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.12147443Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.123209362Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.734482ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.12727527Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.128008473Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=732.804µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.131677374Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.134500197Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.822153ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.13787946Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.138644936Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=765.156µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.144124219Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.14524592Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.120491ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.149184935Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.149220536Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=36.491µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.15316525Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.153202641Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=38.011µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.157514832Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.159540871Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.023449ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.162898815Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.16471982Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.820855ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.168141105Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.17004268Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.901205ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.173599177Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.175472143Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.872776ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.179990039Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.180191233Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=200.544µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.184691618Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.185433512Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=741.604µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.188952158Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.190042699Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.089921ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.194747759Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.19478568Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=36.61µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.197712255Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.198458919Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=746.304µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.201755132Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.202431034Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=673.772µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.206674475Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.21171484Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.039895ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.215290848Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.215966531Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=675.533µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.219525868Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.220262782Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=736.444µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.224550383Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.225306127Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=755.474µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.228423367Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.228731812Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=308.295µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.232083416Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.232863641Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=781.565µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.237522419Z level=info msg="Executing migration" id="Add check_sum column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.240662058Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.139289ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.244265187Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.245007801Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=742.094µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.248390405Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.248553809Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=161.954µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.252066545Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.25232075Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=254.285µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.256900936Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.258122889Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.219263ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.261749368Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.263848598Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.0972ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.267223712Z level=info msg="Executing migration" id="create data_source table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.268115069Z level=info msg="Migration successfully executed" id="create data_source table" duration=891.036µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.272395211Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.273196296Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=798.885µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.276519958Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.277319284Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=799.146µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.280957773Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.281645196Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=687.143µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.286161541Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.287227541Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.06517ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.29085834Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.298070736Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.212926ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.30142378Z level=info msg="Executing migration" id="create data_source table v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.302324897Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=900.317µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.306779962Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.307557707Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=776.015µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.311015642Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.312139213Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.121991ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.316868613Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.317691758Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=825.045µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.321019792Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.323303475Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.283223ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.328272839Z level=info msg="Executing migration" id="Add secure json data column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.330568663Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.295784ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.337190488Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.337234629Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=45.841µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.3409422Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.341288746Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=348.887µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.345308562Z level=info msg="Executing migration" id="Add read_only data column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.348942521Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.634129ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.352557629Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.352851795Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=294.346µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.357214228Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.35736573Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=151.472µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.360674283Z level=info msg="Executing migration" id="Add uid column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.364047988Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.370504ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.367645466Z level=info msg="Executing migration" id="Update uid value" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.367947901Z level=info msg="Migration successfully executed" id="Update uid value" duration=302.325µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.371475528Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.372225972Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=749.854µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.37632719Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.377055694Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=725.763µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.380893197Z level=info msg="Executing migration" id="create api_key table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.38216245Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.268563ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.386167226Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.387381639Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.214653ms 18:16:18 policy-api | Waiting for mariadb port 3306... 18:16:18 policy-api | mariadb (172.17.0.2:3306) open 18:16:18 policy-api | Waiting for policy-db-migrator port 6824... 18:16:18 policy-api | policy-db-migrator (172.17.0.5:6824) open 18:16:18 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:18 policy-api | 18:16:18 policy-api | . ____ _ __ _ _ 18:16:18 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:18 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:18 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:18 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:18 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:18 policy-api | :: Spring Boot :: (v3.1.4) 18:16:18 policy-api | 18:16:18 policy-api | [2024-04-23T18:14:46.127+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:16:18 policy-api | [2024-04-23T18:14:46.128+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:18 policy-api | [2024-04-23T18:14:47.794+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:18 policy-api | [2024-04-23T18:14:47.883+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. 18:16:18 policy-api | [2024-04-23T18:14:48.267+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 18:16:18 policy-api | [2024-04-23T18:14:48.268+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 18:16:18 policy-api | [2024-04-23T18:14:48.901+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:18 policy-api | [2024-04-23T18:14:48.909+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:18 policy-api | [2024-04-23T18:14:48.911+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:18 policy-api | [2024-04-23T18:14:48.912+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:18 policy-api | [2024-04-23T18:14:48.997+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:18 policy-api | [2024-04-23T18:14:48.997+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2804 ms 18:16:18 policy-api | [2024-04-23T18:14:49.404+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:18 policy-api | [2024-04-23T18:14:49.472+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:18 policy-api | [2024-04-23T18:14:49.476+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:18 policy-api | [2024-04-23T18:14:49.519+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:18 policy-api | [2024-04-23T18:14:49.882+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:18 policy-api | [2024-04-23T18:14:49.909+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:18 policy-api | [2024-04-23T18:14:49.995+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 18:16:18 policy-api | [2024-04-23T18:14:49.997+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:18 policy-api | [2024-04-23T18:14:50.024+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 18:16:18 policy-api | [2024-04-23T18:14:50.026+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:18 policy-api | [2024-04-23T18:14:51.819+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:18 policy-api | [2024-04-23T18:14:51.822+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:18 policy-api | [2024-04-23T18:14:52.982+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:18 policy-api | [2024-04-23T18:14:53.694+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:18 policy-api | [2024-04-23T18:14:54.789+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 18:16:18 policy-api | [2024-04-23T18:14:54.966+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1e33203f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@58a01e47, org.springframework.security.web.context.SecurityContextHolderFilter@36c6d53b, org.springframework.security.web.header.HeaderWriterFilter@69cf9acb, org.springframework.security.web.authentication.logout.LogoutFilter@58d291c1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@ab8b1ef, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@39d666e0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@56bc8c45, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6149184e, org.springframework.security.web.access.ExceptionTranslationFilter@62c4ad40, org.springframework.security.web.access.intercept.AuthorizationFilter@4f3eddc0] 18:16:18 policy-api | [2024-04-23T18:14:55.828+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:18 policy-api | [2024-04-23T18:14:55.884+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:18 policy-api | [2024-04-23T18:14:55.912+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:18 policy-api | [2024-04-23T18:14:55.927+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.505 seconds (process running for 11.067) 18:16:18 policy-api | [2024-04-23T18:15:03.338+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:18 policy-api | [2024-04-23T18:15:03.339+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' 18:16:18 policy-api | [2024-04-23T18:15:03.342+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 2 ms 18:16:18 policy-api | [2024-04-23T18:15:05.808+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-2] ***** OrderedServiceImpl implementers: 18:16:18 policy-api | [] 18:16:18 policy-api | [2024-04-23T18:15:05.930+00:00|WARN|CommonRestController|http-nio-6969-exec-2] POST /policytypes 18:16:18 policy-api | [2024-04-23T18:15:06.174+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 18:16:18 policy-api | [2024-04-23T18:15:07.408+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 18:16:18 policy-api | [2024-04-23T18:15:09.214+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:18 policy-api | [2024-04-23T18:15:09.536+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:18 policy-api | [2024-04-23T18:15:09.754+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 18:16:18 policy-api | [2024-04-23T18:15:09.995+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:18 policy-api | [2024-04-23T18:15:10.218+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:18 policy-api | [2024-04-23T18:15:10.435+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:18 policy-db-migrator | Waiting for mariadb port 3306... 18:16:18 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:18 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:18 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:18 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:18 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:18 policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! 18:16:18 policy-db-migrator | 321 blocks 18:16:18 policy-db-migrator | Preparing upgrade release version: 0800 18:16:18 policy-db-migrator | Preparing upgrade release version: 0900 18:16:18 policy-db-migrator | Preparing upgrade release version: 1000 18:16:18 policy-db-migrator | Preparing upgrade release version: 1100 18:16:18 policy-db-migrator | Preparing upgrade release version: 1200 18:16:18 policy-db-migrator | Preparing upgrade release version: 1300 18:16:18 policy-db-migrator | Done 18:16:18 policy-db-migrator | name version 18:16:18 policy-db-migrator | policyadmin 0 18:16:18 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:18 policy-db-migrator | upgrade: 0 -> 1300 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.392030067Z level=info msg="Executing migration" id="add index api_key.key" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.39322109Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.190843ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.398322286Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.399434968Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.112822ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.402662459Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.403352762Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=689.993µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.407618753Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.408316106Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=695.723µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.411715441Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.412548856Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=833.235µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.416832138Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.423524554Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.690736ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.426904988Z level=info msg="Executing migration" id="create api_key table v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.427644592Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=739.324µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.430842453Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.431565237Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=722.694µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.435805767Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.43701638Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.210483ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.440399095Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.441608737Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.209093ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.444974511Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.445532441Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=557.16µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.449875904Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.450399614Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=521.57µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.453655256Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.453678716Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=24.651µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.456835096Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.459438265Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.60248ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.463561013Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.46602816Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.466807ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.469270761Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.469426394Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=155.293µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.472696796Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.475146052Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.448576ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.479328732Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.481816519Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.487337ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.485392777Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.486140411Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=747.164µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.489392683Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.489893392Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=500.799µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.49400079Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.495244694Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.241083ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.499025305Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.500185687Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.159892ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.504664622Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.505482758Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=817.846µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.509168458Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.509913612Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=745.194µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.513223985Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.513288126Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=64.561µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.516646449Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.51666506Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=19.031µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.520123955Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.524248833Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.124148ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.528620126Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.531281666Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.656ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.534595249Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.53465462Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=59.751µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.53728984Z level=info msg="Executing migration" id="create quota table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.537987134Z level=info msg="Migration successfully executed" id="create quota table v1" duration=696.984µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.542174703Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.542935057Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=759.864µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.546348372Z level=info msg="Executing migration" id="Update quota table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.546383483Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=36.221µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.549989781Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.551141803Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.151592ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.554569688Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.555387003Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=815.185µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.559829487Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.563772912Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.947465ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.568490422Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.568515623Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=26.571µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.571523119Z level=info msg="Executing migration" id="create session table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.572341675Z level=info msg="Migration successfully executed" id="create session table" duration=817.956µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.575345451Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.575439603Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=94.102µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.577705657Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.577798458Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=92.401µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.58261394Z level=info msg="Executing migration" id="create playlist table v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.583290302Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=676.312µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.586416561Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.587137345Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=720.824µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.592061828Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.592103959Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=43.861µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.597784126Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.597845988Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=62.911µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.601264712Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.606180226Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.916704ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.609246414Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.61221268Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.965866ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.615519873Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.615686916Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=167.693µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.62223672Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.622385954Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=147.973µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.625796777Z level=info msg="Executing migration" id="create preferences table v3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.627144243Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.347106ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.630651909Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.63068784Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=36.701µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.636298956Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.641900643Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.601196ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.645765806Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.64600366Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=237.254µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.649236882Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.652400452Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.163609ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.655844487Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:18 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.659009217Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.1646ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.66442855Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.664529312Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=100.832µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.667859494Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.669024517Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.163113ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.672624545Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.673593804Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=971.329µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.678871733Z level=info msg="Executing migration" id="create alert table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.679976225Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.104022ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.683198185Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.684205235Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.00687ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.690039425Z level=info msg="Executing migration" id="add index alert state" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.691002704Z level=info msg="Migration successfully executed" id="add index alert state" duration=963.669µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.694291376Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.695353546Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.06175ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.698562736Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.699366492Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=802.645µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.704703553Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.705702713Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=998.29µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.709038915Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.710023854Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=984.619µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.713252315Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.722657254Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.404589ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.727989064Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.728470284Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=481.319µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.731607984Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.732210544Z 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=602.291µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.735163671Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.735575908Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=410.247µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.739187306Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.740034553Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=847.247µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.745279702Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.746590297Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.308955ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.749785407Z level=info msg="Executing migration" id="Add column is_default" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.753379116Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.593739ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.759597494Z level=info msg="Executing migration" id="Add column frequency" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.763079819Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.481955ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.76626796Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.769733206Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.464976ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.772774503Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.776413733Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.63684ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.7794844Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.780333636Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=848.196µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.78578065Z level=info msg="Executing migration" id="Update alert table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.78580453Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=24.55µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.789007611Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.789092933Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=86.222µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.792351524Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.793614698Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.261934ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.799052991Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.799918548Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=865.187µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.805441002Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.806687406Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.246924ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.81005107Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.811580069Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.527649ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.816708526Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.818095182Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.386286ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.821278823Z level=info msg="Executing migration" id="Add for to alert table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.827813916Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.535203ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.831755461Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.835596004Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.839953ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.840466806Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.840749561Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=282.125µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.843622976Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.844548764Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=925.428µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.84751837Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.848379086Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=860.296µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.85335779Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.859279213Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.923583ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.862663877Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.862729608Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=66.201µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.865141193Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.866058152Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=915.698µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.871956833Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.873496912Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.539389ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.877034539Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.877183141Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=149.022µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.880309791Z level=info msg="Executing migration" id="create annotation table v5" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.88132627Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.015899ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.886653401Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.888091829Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.438118ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.891642616Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.893111784Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.468798ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.896469937Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.897420325Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=950.258µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.900668837Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.901701466Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.032019ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.906662451Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.90766091Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=998.269µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.911145926Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.911168416Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=22.77µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.916724571Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.922757506Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.031295ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.925849704Z level=info msg="Executing migration" id="Drop category_id index" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.92666654Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=815.746µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.929620885Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.93353204Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.910415ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.938372682Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.939060135Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=687.073µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.943551859Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.944471058Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=919.279µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.947529045Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.948439502Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=910.457µs 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:18 policy-db-migrator | -------------- 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.953660942Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.966292981Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=12.631139ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.969995251Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.970590172Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=594.701µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.973456667Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.9741918Z 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=735.003µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.979188105Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.979549302Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=361.207µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.982694821Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.983336654Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=641.753µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.985683068Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.986003534Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=320.276µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.991490199Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:32.997301988Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.81137ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.001123Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.005229018Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.103438ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.008314185Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.009359791Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.045426ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.014353796Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.015368773Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.014967ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.018404984Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.01875721Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=352.286µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.021777171Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.02587823Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.099949ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.033424857Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.035675455Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=2.250538ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.042170894Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.042602281Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=431.917µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.045973878Z level=info msg="Executing migration" id="Move region to single row" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.046823552Z level=info msg="Migration successfully executed" id="Move region to single row" duration=849.584µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.0502638Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.051795126Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.531146ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.054996359Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.055920125Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=923.916µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.060726636Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.061853684Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.127208ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.068943164Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.070305956Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.359173ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.075468584Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.076980689Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.514635ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.083564809Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.085449891Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.886992ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.090962974Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.091137137Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=174.783µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.095879187Z level=info msg="Executing migration" id="create test_data table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.096874593Z level=info msg="Migration successfully executed" id="create test_data table" duration=995.126µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.106028897Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.10741023Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.382433ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.113283959Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.114518529Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.23465ms 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.120434179Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.122680137Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=2.248668ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.128257391Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.128585577Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=330.226µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.133605021Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.134019817Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=415.106µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.137634728Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.13769709Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=62.692µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.143187071Z level=info msg="Executing migration" id="create team table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.144467383Z level=info msg="Migration successfully executed" id="create team table" duration=1.280872ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.147791669Z level=info msg="Executing migration" id="add index team.org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.148749815Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=957.766µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.151843017Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.152674081Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=830.814µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.15675548Z level=info msg="Executing migration" id="Add column uid in team" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.161140543Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.382793ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.164064852Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.164249826Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=184.754µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.168771572Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.170594363Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.825531ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.174125662Z level=info msg="Executing migration" id="create team member table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.174927585Z level=info msg="Migration successfully executed" id="create team member table" duration=801.743µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.179269508Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.180326165Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.056237ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.183178504Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.184673969Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.493665ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.189742954Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.190813992Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.071878ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.194486204Z level=info msg="Executing migration" id="Add column email to team table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.200332142Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.847758ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.203732709Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.207033765Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.298736ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.211163755Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.216084237Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.921323ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.221510348Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.222619387Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.112279ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.227171053Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.227809084Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=637.97µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.230487659Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.231211931Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=723.962µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.237619828Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.239284907Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.664629ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.244099238Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.245116965Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.017187ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.248925098Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.250572797Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.645428ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.254295409Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.255359107Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.062908ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.260614825Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.261630813Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.016088ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.264941078Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.265539078Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=596.981µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.270806737Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.271054691Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=248.643µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.275136799Z level=info msg="Executing migration" id="create tag table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.275869402Z level=info msg="Migration successfully executed" id="create tag table" duration=732.743µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.280528Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.281487986Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=960.336µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.295064294Z level=info msg="Executing migration" id="create login attempt table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.29601163Z level=info msg="Migration successfully executed" id="create login attempt table" duration=951.106µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.299190673Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.300615327Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.424364ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.305977398Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.306903453Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=926.715µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.309828972Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.3263497Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.515978ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.329696976Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.330444279Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=749.153µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.336463229Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.337907435Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.445576ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.342865668Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.343430186Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=566.838µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.346625651Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.347320122Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=701.051µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.352620242Z level=info msg="Executing migration" id="create user auth table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.354143117Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.523745ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.358825675Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.360223609Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.398114ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.370048834Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.370114326Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=65.702µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.375898443Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.38344703Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.549497ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.386780085Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.391728838Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.948803ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.39476025Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.399783374Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.022264ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.405216396Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.412388096Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=7.16818ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.416710188Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.417617593Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=907.225µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.421455888Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.429006985Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.545287ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.436272867Z level=info msg="Executing migration" id="create server_lock table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.437272194Z level=info msg="Migration successfully executed" id="create server_lock table" duration=998.727µs 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.440513738Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.441443564Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=932.066µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.445408721Z level=info msg="Executing migration" id="create user auth token table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.446286155Z level=info msg="Migration successfully executed" id="create user auth token table" duration=877.054µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.45191726Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.452805925Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=888.265µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.456990956Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.458504331Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.513195ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.461893128Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.463678478Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.78497ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.469834241Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.475430895Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.598664ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.479328281Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.480270987Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=942.466µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.48407409Z level=info msg="Executing migration" id="create cache_data table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.485368002Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.293022ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.491971224Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.493330477Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.357733ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.497416474Z level=info msg="Executing migration" id="create short_url table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.498801178Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.383834ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.503534588Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.504511865Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=976.827µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.508911608Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.508976169Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=64.821µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.513521605Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.513693339Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=172.124µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.518245495Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.519970034Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.725019ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.524740664Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.525984375Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.244091ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.529569145Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.530614823Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.045018ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.534562649Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.534632271Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=71.292µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.542251078Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.543715363Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.463375ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.547325884Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.549011172Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.684008ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.553996936Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.555591162Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.594007ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.560024237Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.562511208Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=2.488371ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.567061625Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.576317261Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.259296ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.579187229Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.579896011Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=706.952µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.585818651Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.586168326Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=350.145µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.590303786Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.59171715Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.413364ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.597749931Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.598747538Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=997.567µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.603119761Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.604717369Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.598987ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.607538646Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.607641757Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=103.561µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.613540526Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.614435822Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=895.156µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.618309817Z level=info msg="Executing migration" id="create alert_instance table" 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.619245892Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=935.485µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.623043706Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.623994462Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=950.516µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.63158639Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.633164986Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.577586ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.638369144Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.646896067Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.527973ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.650037279Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.65066038Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=623.731µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.655068835Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.656422058Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.352973ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.662683302Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.689578474Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=26.896052ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.698435604Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.72443169Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=25.995846ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.729939003Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.730616195Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=676.741µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.733311669Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.734065652Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=753.643µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.740383328Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.746766756Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.384498ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.750757802Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.756695283Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.936731ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.760905303Z level=info msg="Executing migration" id="create alert_rule table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.761968921Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.063158ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.767885251Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.769355495Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.468864ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.773646377Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.776023127Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=2.37564ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.780392891Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.781530189Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.136988ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.786644466Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.786742107Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=98.581µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.79111889Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.798169379Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.050579ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.804550946Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.810360203Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.809037ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.814845429Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.820712488Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.866669ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.825725902Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.826739489Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.013427ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.831744253Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.833456602Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.708528ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.838557998Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.844727981Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.169483ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.848903921Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.855156426Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.252255ms 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.858139317Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.859577641Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.438154ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.864486394Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.874171207Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.680773ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.87795573Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.882216181Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.258171ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.886568264Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.886704556Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=132.892µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.889329011Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.890550872Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.22113ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.89520796Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.896329128Z 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.120628ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.90060372Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.90241374Z 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.8099ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.907335753Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.907430895Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=96.142µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.912569061Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.919501797Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.932136ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.924465221Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.930559153Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.093912ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.934749784Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.940825626Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.073222ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.945123878Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.956642981Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=11.512803ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.962529351Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:33.973578907Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=11.050956ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.010927986Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.011031067Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=104.921µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.016876106Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.018170398Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.293162ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.024230341Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.034506126Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.277215ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.039572812Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.039617762Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=45.271µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.047250582Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.056706302Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.4559ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.061919981Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.0630872Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.166749ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.068228848Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.077024107Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.794929ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.085126965Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.085662565Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=535.87µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.091530444Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.092467689Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=937.445µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.096779933Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.105828416Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.049413ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.112294737Z level=info msg="Executing migration" id="create provenance_type table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.114014055Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.723848ms 18:16:18 mariadb | 2024-04-23 18:14:32+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:18 mariadb | 2024-04-23 18:14:33+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:18 mariadb | 2024-04-23 18:14:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:18 mariadb | 2024-04-23 18:14:33+00:00 [Note] [Entrypoint]: Initializing database files 18:16:18 mariadb | 2024-04-23 18:14:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:18 mariadb | 2024-04-23 18:14:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:18 mariadb | 2024-04-23 18:14:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:18 mariadb | 18:16:18 mariadb | 18:16:18 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:18 mariadb | To do so, start the server, then issue the following command: 18:16:18 mariadb | 18:16:18 mariadb | '/usr/bin/mysql_secure_installation' 18:16:18 mariadb | 18:16:18 mariadb | which will also give you the option of removing the test 18:16:18 mariadb | databases and anonymous user created by default. This is 18:16:18 mariadb | strongly recommended for production servers. 18:16:18 mariadb | 18:16:18 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:18 mariadb | 18:16:18 mariadb | Please report any problems at https://mariadb.org/jira 18:16:18 mariadb | 18:16:18 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:18 mariadb | 18:16:18 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:18 mariadb | https://mariadb.org/get-involved/ 18:16:18 mariadb | 18:16:18 mariadb | 2024-04-23 18:14:34+00:00 [Note] [Entrypoint]: Database files initialized 18:16:18 mariadb | 2024-04-23 18:14:34+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:18 mariadb | 2024-04-23 18:14:34+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: Number of transaction pools: 1 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: 128 rollback segments are active. 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:18 mariadb | 2024-04-23 18:14:34 0 [Note] mariadbd: ready for connections. 18:16:18 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 18:16:18 mariadb | 2024-04-23 18:14:35+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:18 mariadb | 2024-04-23 18:14:37+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:18 mariadb | 2024-04-23 18:14:37+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:18 mariadb | 18:16:18 mariadb | 18:16:18 mariadb | 2024-04-23 18:14:37+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:18 mariadb | 2024-04-23 18:14:37+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:18 mariadb | #!/bin/bash -xv 18:16:18 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:18 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:18 mariadb | # 18:16:18 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:18 mariadb | # you may not use this file except in compliance with the License. 18:16:18 mariadb | # You may obtain a copy of the License at 18:16:18 mariadb | # 18:16:18 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:18 mariadb | # 18:16:18 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:18 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:18 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:18 mariadb | # See the License for the specific language governing permissions and 18:16:18 mariadb | # limitations under the License. 18:16:18 mariadb | 18:16:18 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:18 mariadb | do 18:16:18 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:18 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:18 mariadb | done 18:16:18 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:18 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:18 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:18 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:18 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:18 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:18 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:18 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:18 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:18 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:18 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:18 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:18 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:18 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:18 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:18 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.126770862Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.128242397Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.471935ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.132864486Z level=info msg="Executing migration" id="create alert_image table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.133966205Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.09887ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.1383848Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.140076218Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.691859ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.144036765Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.144109887Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=73.262µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.152393657Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.154110666Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.719509ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.158112994Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.159164933Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.050318ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.165150214Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.165527001Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.169120661Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.169772912Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=651.891µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.172998977Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.174747157Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.74809ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.178683424Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.186847252Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.168298ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.19137731Z level=info msg="Executing migration" id="create library_element table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.192405637Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.031637ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.198618962Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.20029626Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.675368ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.20555288Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.207259579Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.706449ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.212825033Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.213814541Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=988.698µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.220575845Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.221615463Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.039498ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.225514609Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.225542409Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=29.49µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.229799892Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.229867803Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=68.541µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.235339376Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.235746173Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=406.778µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.240328901Z level=info msg="Executing migration" id="create data_keys table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.241968419Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.639268ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.245128352Z level=info msg="Executing migration" id="create secrets table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.245998537Z level=info msg="Migration successfully executed" id="create secrets table" duration=869.465µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.25086064Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.282508137Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.647047ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.285924165Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.291187554Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.282039ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.295178562Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.295322454Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=144.102µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.299048607Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.331372877Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.32216ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.335131891Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.370171326Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=35.035124ms 18:16:18 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:18 policy-db-migrator | -------------- 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.373830958Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.374654401Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=825.963µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.379126528Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.380942238Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.81335ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.38808663Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.388400575Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=315.085µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.393172226Z level=info msg="Executing migration" id="create permission table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.394785393Z level=info msg="Migration successfully executed" id="create permission table" duration=1.612247ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.39925672Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.400215906Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=958.906µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.404200654Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.405238881Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.037927ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.408988094Z level=info msg="Executing migration" id="create role table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.40985256Z level=info msg="Migration successfully executed" id="create role table" duration=864.296µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.413602423Z level=info msg="Executing migration" id="add column display_name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.421170162Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.566049ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.425875502Z level=info msg="Executing migration" id="add column group_name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.432967052Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.09118ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.436926359Z level=info msg="Executing migration" id="add index role.org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.437894926Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=968.047µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.442152478Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.443828826Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.673788ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.452107877Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.454106901Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.998504ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.458540676Z level=info msg="Executing migration" id="create team role table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.459908909Z level=info msg="Migration successfully executed" id="create team role table" duration=1.367813ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.463985829Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.465024297Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.038078ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.469455302Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.470802005Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.344553ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.474002909Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.475654627Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.650978ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.478931772Z level=info msg="Executing migration" id="create user role table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.479747597Z level=info msg="Migration successfully executed" id="create user role table" duration=813.255µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.48404807Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.485011586Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=963.106µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.487836694Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.488839362Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.002017ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.493301037Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.494386285Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.083668ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.498893842Z level=info msg="Executing migration" id="create builtin role table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.500259125Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.364813ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.503475829Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.504827502Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.352103ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.507741462Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.50878774Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.045588ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.513252115Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.521277062Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.024807ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.524421215Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.525179718Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=758.293µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.527901624Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.528660237Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=757.643µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.53358611Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:18 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:18 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:18 mariadb | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:18 policy-db-migrator | JOIN pdpstatistics b 18:16:18 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:18 policy-db-migrator | SET a.id = b.id 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:18 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:18 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:18 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:18 mariadb | 18:16:18 mariadb | 2024-04-23 18:14:38+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Starting shutdown... 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Buffer pool(s) dump completed at 240423 18:14:38 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Shutdown completed; log sequence number 344962; transaction id 298 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] mariadbd: Shutdown complete 18:16:18 mariadb | 18:16:18 mariadb | 2024-04-23 18:14:38+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:18 mariadb | 18:16:18 mariadb | 2024-04-23 18:14:38+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:18 mariadb | 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Number of transaction pools: 1 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: 128 rollback segments are active. 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: log sequence number 344962; transaction id 299 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] Server socket created on IP: '::'. 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] mariadbd: ready for connections. 18:16:18 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 18:16:18 mariadb | 2024-04-23 18:14:38 0 [Note] InnoDB: Buffer pool(s) load completed at 240423 18:14:38 18:16:18 mariadb | 2024-04-23 18:14:38 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 18:16:18 mariadb | 2024-04-23 18:14:38 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:18 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.5352923Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.70536ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.538737699Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.539755765Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.015336ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.54295316Z level=info msg="Executing migration" id="create seed assignment table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.543702403Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=748.793µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.548107777Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.549985509Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.876682ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.55354244Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.563679871Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.137831ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.56711243Z level=info msg="Executing migration" id="permission kind migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.575088926Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.975816ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.579538071Z level=info msg="Executing migration" id="permission attribute migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.585214917Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.676476ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.588621096Z level=info msg="Executing migration" id="permission identifier migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.59654685Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.924715ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.599866516Z level=info msg="Executing migration" id="add permission identifier index" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.600939465Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.072239ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.604995663Z level=info msg="Executing migration" id="add permission action scope role_id index" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.606212344Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.215251ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.609738684Z level=info msg="Executing migration" id="remove permission role_id action scope index" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.611154708Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.416054ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.614757099Z level=info msg="Executing migration" id="create query_history table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.616259365Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.501276ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.620605089Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.621688007Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.082098ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.625128745Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.625192556Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=63.921µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.628790107Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.628822188Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=32.931µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.633008599Z level=info msg="Executing migration" id="teams permissions migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.634009726Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=993.397µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.638738027Z level=info msg="Executing migration" id="dashboard permissions" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.639714913Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=978.166µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.642977819Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.643673441Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=695.782µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.646971276Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.64719504Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=225.964µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.649667232Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.65071685Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=1.049418ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.655253277Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.656553709Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.300652ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.659904036Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.661037646Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.13329ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.665731845Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.673771862Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.039717ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.683523528Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.68366361Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=140.573µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.692857516Z level=info msg="Executing migration" id="create correlation table v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.694784779Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.926063ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.703756071Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.704833889Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.077668ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.713417735Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.715242896Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.823781ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.723909583Z level=info msg="Executing migration" id="add correlation config column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.73553996Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.638637ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.743796061Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.7449382Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.142089ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.750434623Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.75201844Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.584087ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.756787791Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.779128051Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.327919ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.78265685Z level=info msg="Executing migration" id="create correlation v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.783600257Z level=info msg="Migration successfully executed" id="create correlation v2" duration=943.247µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.787757698Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.788913027Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.155159ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.792093481Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.793363993Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.269652ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.796701849Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.797989551Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.287332ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.80317418Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.803547995Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=374.775µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.809016258Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | msg 18:16:18 policy-db-migrator | upgrade to 1100 completed 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:18 policy-db-migrator | -------------- 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.810036565Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.019787ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.814630014Z level=info msg="Executing migration" id="add provisioning column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.822920185Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.300291ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.828191904Z level=info msg="Executing migration" id="create entity_events table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.829038458Z level=info msg="Migration successfully executed" id="create entity_events table" duration=848.694µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.833013086Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.834042644Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.029578ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.837474542Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.838115502Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.844160875Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.844692964Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.85033294Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.851284986Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=952.496µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.855359235Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.857131596Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.778851ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.861442009Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.862635678Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.193599ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.866882421Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.869249781Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=2.36737ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.874157345Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.876095668Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.940393ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.882032908Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.88330428Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.273092ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.886956572Z level=info msg="Executing migration" id="Drop public config table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.887877988Z level=info msg="Migration successfully executed" id="Drop public config table" duration=920.896µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.891891115Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.893264459Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.373174ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.901178624Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.903375181Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.196077ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.9086205Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.910150986Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.533796ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.91448524Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.9157112Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.22517ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.91863537Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.944459298Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=25.823748ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.947411379Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.95513571Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.723431ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.957993119Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.967577241Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.583952ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.970500101Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.970663634Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=163.293µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.972903472Z level=info msg="Executing migration" id="add share column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.979261499Z level=info msg="Migration successfully executed" id="add share column" duration=6.356887ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.982318941Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.982539256Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=220.344µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.985471255Z level=info msg="Executing migration" id="create file table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.986465592Z level=info msg="Migration successfully executed" id="create file table" duration=990.266µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.989783278Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.991011339Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.226641ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.994242383Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.995357603Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.11645ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.998534367Z level=info msg="Executing migration" id="create file_meta table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:34.999379671Z level=info msg="Migration successfully executed" id="create file_meta table" duration=846.274µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.002410503Z level=info msg="Executing migration" id="file table idx: path key" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.003752836Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.337472ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.008613391Z level=info msg="Executing migration" id="set path collation in file table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.008700913Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=87.932µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.011990036Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.012068007Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=78.411µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.015216067Z level=info msg="Executing migration" id="managed permissions migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.01586899Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=652.393µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.019041531Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.019287506Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=245.534µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.021626361Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.023104549Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.477728ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.026194957Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.037285729Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.090242ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.040485891Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.040624103Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=138.372µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.043553889Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.044458846Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=904.937µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.047473253Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | TRUNCATE TABLE sequence 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | DROP TABLE pdpstatistics 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | DROP TABLE statistics_sequence 18:16:18 policy-db-migrator | -------------- 18:16:18 policy-db-migrator | 18:16:18 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:18 policy-db-migrator | name version 18:16:18 policy-db-migrator | policyadmin 1300 18:16:18 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:18 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:39 18:16:18 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.047899921Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=427.728µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.050792096Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.051146504Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=354.298µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.053737032Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.054584219Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=848.397µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.057752089Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.067595077Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.842438ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.070810979Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.081993472Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=11.181263ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.085120971Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:18 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:40 18:16:18 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:41 18:16:18 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:42 18:16:18 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2304241814390800u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2304241814390900u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2304241814391000u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2304241814391000u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2304241814391000u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2304241814391000u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2304241814391000u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2304241814391000u 1 2024-04-23 18:14:43 18:16:18 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2304241814391000u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2304241814391000u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2304241814391000u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2304241814391100u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2304241814391200u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2304241814391200u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2304241814391200u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2304241814391200u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2304241814391300u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2304241814391300u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2304241814391300u 1 2024-04-23 18:14:44 18:16:18 policy-db-migrator | policyadmin: OK @ 1300 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.086194952Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.073481ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.089355672Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.172641353Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=83.284721ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.176088759Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.177234621Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.145612ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.181377191Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.182617555Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.237954ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.185960748Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.214872912Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=28.911764ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.218251956Z level=info msg="Executing migration" id="add origin column to seed_assignment" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.226928573Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=8.675017ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.230290367Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.230631253Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=340.306µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.233999548Z level=info msg="Executing migration" id="prevent seeding OnCall access" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.234279943Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=260.474µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.237657628Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.238003595Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=345.417µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.241347288Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.241632284Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=285.626µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.244716003Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.244951058Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=235.485µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.24821551Z level=info msg="Executing migration" id="create folder table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.249455584Z level=info msg="Migration successfully executed" id="create folder table" duration=1.239904ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.252800608Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.254270216Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.467628ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.257655191Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.259000337Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.345176ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.26233228Z level=info msg="Executing migration" id="Update folder title length" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.26235963Z level=info msg="Migration successfully executed" id="Update folder title length" duration=31.03µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.265584692Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.267098701Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.513449ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.270614229Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.271745601Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.131252ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.274992732Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.276225836Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.234874ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.27956159Z level=info msg="Executing migration" id="Sync dashboard and folder table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.28004259Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=480.09µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.283076957Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.283350022Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=273.245µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.285715868Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.286936042Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.220644ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.290357576Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.291666021Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.308165ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.294830883Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.295949793Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.118511ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.299155275Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.30045067Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.294715ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.303810125Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.304992647Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.182621ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.308344191Z level=info msg="Executing migration" id="create anon_device table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.309500084Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.155082ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.312803376Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.314104341Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.300995ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.317444485Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.318693309Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.249484ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.321973243Z level=info msg="Executing migration" id="create signing_key table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.32290193Z level=info msg="Migration successfully executed" id="create signing_key table" duration=928.467µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.326281635Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.327546209Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.265234ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.330870322Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.332131006Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.260364ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.335341098Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.335695714Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=355.226µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.338841795Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.349112981Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.269636ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.352384014Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.352880204Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=496.42µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.356046224Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.35688885Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=843.416µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.361103851Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 18:16:18 prometheus | ts=2024-04-23T18:14:30.879Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:18 prometheus | ts=2024-04-23T18:14:30.879Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" 18:16:18 prometheus | ts=2024-04-23T18:14:30.879Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" 18:16:18 prometheus | ts=2024-04-23T18:14:30.879Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 18:16:18 prometheus | ts=2024-04-23T18:14:30.879Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:18 prometheus | ts=2024-04-23T18:14:30.879Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:18 prometheus | ts=2024-04-23T18:14:30.888Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:18 prometheus | ts=2024-04-23T18:14:30.889Z caller=main.go:1129 level=info msg="Starting TSDB ..." 18:16:18 prometheus | ts=2024-04-23T18:14:30.890Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 18:16:18 prometheus | ts=2024-04-23T18:14:30.890Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:18 prometheus | ts=2024-04-23T18:14:30.894Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:18 prometheus | ts=2024-04-23T18:14:30.894Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.79µs 18:16:18 prometheus | ts=2024-04-23T18:14:30.894Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:18 prometheus | ts=2024-04-23T18:14:30.896Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:18 prometheus | ts=2024-04-23T18:14:30.896Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=91.184µs wal_replay_duration=1.186695ms wbl_replay_duration=210ns total_replay_duration=1.467186ms 18:16:18 prometheus | ts=2024-04-23T18:14:30.899Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 18:16:18 prometheus | ts=2024-04-23T18:14:30.899Z caller=main.go:1153 level=info msg="TSDB started" 18:16:18 prometheus | ts=2024-04-23T18:14:30.899Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:18 prometheus | ts=2024-04-23T18:14:30.901Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.657923ms db_storage=2.71µs remote_storage=2.75µs web_handler=940ns query_engine=1.85µs scrape=467.008µs scrape_sd=189.487µs notify=40.762µs notify_sd=25.951µs rules=2.85µs tracing=7.12µs 18:16:18 prometheus | ts=2024-04-23T18:14:30.901Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 18:16:18 prometheus | ts=2024-04-23T18:14:30.901Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.362244153Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.140602ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.365624328Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.36677921Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.151202ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.370644364Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.371867787Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.222953ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.375034047Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.37620816Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.173433ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.379501894Z level=info msg="Executing migration" id="create sso_setting table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.380577974Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.07567ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.385814334Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.386688311Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=884.497µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.390102746Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.390635087Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=533.361µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.394600262Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.394735016Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=135.703µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.398393825Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.40753173Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.137595ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.411994455Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.421062859Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.067054ms 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.424599336Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.424836761Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=238.355µs 18:16:18 grafana | logger=migrator t=2024-04-23T18:14:35.427797558Z level=info msg="migrations completed" performed=548 skipped=0 duration=3.663099912s 18:16:18 grafana | logger=sqlstore t=2024-04-23T18:14:35.434210391Z level=info msg="Created default admin" user=admin 18:16:18 grafana | logger=sqlstore t=2024-04-23T18:14:35.434446965Z level=info msg="Created default organization" 18:16:18 grafana | logger=secrets t=2024-04-23T18:14:35.439704826Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:18 grafana | logger=plugin.store t=2024-04-23T18:14:35.467736223Z level=info msg="Loading plugins..." 18:16:18 grafana | logger=local.finder t=2024-04-23T18:14:35.505185389Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:18 grafana | logger=plugin.store t=2024-04-23T18:14:35.50521037Z level=info msg="Plugins loaded" count=55 duration=37.475067ms 18:16:18 grafana | logger=query_data t=2024-04-23T18:14:35.507461073Z level=info msg="Query Service initialization" 18:16:18 grafana | logger=live.push_http t=2024-04-23T18:14:35.511078292Z level=info msg="Live Push Gateway initialization" 18:16:18 grafana | logger=ngalert.migration t=2024-04-23T18:14:35.517578976Z level=info msg=Starting 18:16:18 grafana | logger=ngalert.migration t=2024-04-23T18:14:35.51827131Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 18:16:18 grafana | logger=ngalert.migration orgID=1 t=2024-04-23T18:14:35.518732349Z level=info msg="Migrating alerts for organisation" 18:16:18 grafana | logger=ngalert.migration orgID=1 t=2024-04-23T18:14:35.519396452Z level=info msg="Alerts found to migrate" alerts=0 18:16:18 grafana | logger=ngalert.migration t=2024-04-23T18:14:35.521216636Z level=info msg="Completed alerting migration" 18:16:18 grafana | logger=ngalert.state.manager t=2024-04-23T18:14:35.547240064Z level=info msg="Running in alternative execution of Error/NoData mode" 18:16:18 grafana | logger=infra.usagestats.collector t=2024-04-23T18:14:35.548792164Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:18 grafana | logger=provisioning.datasources t=2024-04-23T18:14:35.550757991Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:16:18 grafana | logger=provisioning.alerting t=2024-04-23T18:14:35.5648109Z level=info msg="starting to provision alerting" 18:16:18 grafana | logger=provisioning.alerting t=2024-04-23T18:14:35.564825561Z level=info msg="finished to provision alerting" 18:16:18 grafana | logger=ngalert.state.manager t=2024-04-23T18:14:35.564938394Z level=info msg="Warming state cache for startup" 18:16:18 grafana | logger=ngalert.state.manager t=2024-04-23T18:14:35.565164568Z level=info msg="State cache has been initialized" states=0 duration=225.484µs 18:16:18 grafana | logger=grafanaStorageLogger t=2024-04-23T18:14:35.565202968Z level=info msg="Storage starting" 18:16:18 grafana | logger=ngalert.multiorg.alertmanager t=2024-04-23T18:14:35.565529164Z level=info msg="Starting MultiOrg Alertmanager" 18:16:18 grafana | logger=ngalert.scheduler t=2024-04-23T18:14:35.565534274Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 18:16:18 grafana | logger=ticker t=2024-04-23T18:14:35.565661087Z level=info msg=starting first_tick=2024-04-23T18:14:40Z 18:16:18 grafana | logger=http.server t=2024-04-23T18:14:35.568499342Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:18 grafana | logger=provisioning.dashboard t=2024-04-23T18:14:35.607729383Z level=info msg="starting to provision dashboards" 18:16:18 grafana | logger=plugins.update.checker t=2024-04-23T18:14:35.658969643Z level=info msg="Update check succeeded" duration=93.184403ms 18:16:18 grafana | logger=grafana.update.checker t=2024-04-23T18:14:35.662660694Z level=info msg="Update check succeeded" duration=96.859424ms 18:16:18 grafana | logger=sqlstore.transactions t=2024-04-23T18:14:35.69742908Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:18 grafana | logger=sqlstore.transactions t=2024-04-23T18:14:35.70837249Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 18:16:18 grafana | logger=sqlstore.transactions t=2024-04-23T18:14:35.719635655Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" 18:16:18 grafana | logger=sqlstore.transactions t=2024-04-23T18:14:35.73402419Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" 18:16:18 grafana | logger=sqlstore.transactions t=2024-04-23T18:14:35.746946588Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:18 grafana | logger=provisioning.dashboard t=2024-04-23T18:14:35.812918061Z level=info msg="finished to provision dashboards" 18:16:18 grafana | logger=grafana-apiserver t=2024-04-23T18:14:36.006353589Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 18:16:18 grafana | logger=grafana-apiserver t=2024-04-23T18:14:36.006774616Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 18:16:18 grafana | logger=infra.usagestats t=2024-04-23T18:16:14.577162351Z level=info msg="Usage stats are ready to report" 18:16:18 ++ echo 'Tearing down containers...' 18:16:18 Tearing down containers... 18:16:18 ++ docker-compose down -v --remove-orphans 18:16:19 Stopping policy-api ... 18:16:19 Stopping grafana ... 18:16:19 Stopping prometheus ... 18:16:19 Stopping mariadb ... 18:16:19 Stopping grafana ... done 18:16:20 Stopping prometheus ... done 18:16:20 Stopping mariadb ... done 18:16:29 Stopping policy-api ... done 18:16:29 Removing policy-api ... 18:16:29 Removing policy-db-migrator ... 18:16:29 Removing grafana ... 18:16:29 Removing prometheus ... 18:16:29 Removing mariadb ... 18:16:29 Removing policy-db-migrator ... done 18:16:29 Removing grafana ... done 18:16:29 Removing policy-api ... done 18:16:29 Removing mariadb ... done 18:16:29 Removing prometheus ... done 18:16:29 Removing network compose_default 18:16:29 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:29 + load_set 18:16:29 + _setopts=hxB 18:16:29 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:29 ++ tr : ' ' 18:16:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:29 + set +o braceexpand 18:16:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:29 + set +o hashall 18:16:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:29 + set +o interactive-comments 18:16:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:29 + set +o xtrace 18:16:29 ++ echo hxB 18:16:29 ++ sed 's/./& /g' 18:16:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:29 + set +h 18:16:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:29 + set +x 18:16:29 + [[ -n /tmp/tmp.B61fiPtXyc ]] 18:16:29 + rsync -av /tmp/tmp.B61fiPtXyc/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:29 sending incremental file list 18:16:29 ./ 18:16:29 log.html 18:16:29 output.xml 18:16:29 report.html 18:16:29 testplan.txt 18:16:29 18:16:29 sent 1,345,321 bytes received 95 bytes 2,690,832.00 bytes/sec 18:16:29 total size is 1,344,671 speedup is 1.00 18:16:29 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:29 + exit 0 18:16:29 $ ssh-agent -k 18:16:29 unset SSH_AUTH_SOCK; 18:16:29 unset SSH_AGENT_PID; 18:16:29 echo Agent pid 2145 killed; 18:16:29 [ssh-agent] Stopped. 18:16:29 Robot results publisher started... 18:16:29 INFO: Checking test criticality is deprecated and will be dropped in a future release! 18:16:29 -Parsing output xml: 18:16:30 Done! 18:16:30 WARNING! Could not find file: **/log.html 18:16:30 WARNING! Could not find file: **/report.html 18:16:30 -Copying log files to build dir: 18:16:30 Done! 18:16:30 -Assigning results to build: 18:16:30 Done! 18:16:30 -Checking thresholds: 18:16:30 Done! 18:16:30 Done publishing Robot results. 18:16:30 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:30 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8794585191674388191.sh 18:16:30 ---> sysstat.sh 18:16:30 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12662447800595465075.sh 18:16:30 ---> package-listing.sh 18:16:30 ++ facter osfamily 18:16:30 ++ tr '[:upper:]' '[:lower:]' 18:16:31 + OS_FAMILY=debian 18:16:31 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:31 + START_PACKAGES=/tmp/packages_start.txt 18:16:31 + END_PACKAGES=/tmp/packages_end.txt 18:16:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:31 + PACKAGES=/tmp/packages_start.txt 18:16:31 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:31 + PACKAGES=/tmp/packages_end.txt 18:16:31 + case "${OS_FAMILY}" in 18:16:31 + dpkg -l 18:16:31 + grep '^ii' 18:16:31 + '[' -f /tmp/packages_start.txt ']' 18:16:31 + '[' -f /tmp/packages_end.txt ']' 18:16:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:31 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:31 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:31 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3094287361711259166.sh 18:16:31 ---> capture-instance-metadata.sh 18:16:31 Setup pyenv: 18:16:31 system 18:16:31 3.8.13 18:16:31 3.9.13 18:16:31 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:31 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Qh4c from file:/tmp/.os_lf_venv 18:16:32 lf-activate-venv(): INFO: Installing: lftools 18:16:44 lf-activate-venv(): INFO: Adding /tmp/venv-Qh4c/bin to PATH 18:16:44 INFO: Running in OpenStack, capturing instance metadata 18:16:44 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17154719819477305201.sh 18:16:44 provisioning config files... 18:16:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config5899754389797362053tmp 18:16:44 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:44 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:44 [EnvInject] - Injecting environment variables from a build step. 18:16:44 [EnvInject] - Injecting as environment variables the properties content 18:16:44 SERVER_ID=logs 18:16:44 18:16:44 [EnvInject] - Variables injected successfully. 18:16:44 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4217655246306731333.sh 18:16:44 ---> create-netrc.sh 18:16:44 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15859576795476328186.sh 18:16:44 ---> python-tools-install.sh 18:16:44 Setup pyenv: 18:16:44 system 18:16:44 3.8.13 18:16:44 3.9.13 18:16:44 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:44 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Qh4c from file:/tmp/.os_lf_venv 18:16:45 lf-activate-venv(): INFO: Installing: lftools 18:16:54 lf-activate-venv(): INFO: Adding /tmp/venv-Qh4c/bin to PATH 18:16:54 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15143912214103534216.sh 18:16:54 ---> sudo-logs.sh 18:16:54 Archiving 'sudo' log.. 18:16:54 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5148297467722875040.sh 18:16:54 ---> job-cost.sh 18:16:54 Setup pyenv: 18:16:54 system 18:16:54 3.8.13 18:16:54 3.9.13 18:16:54 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:54 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Qh4c from file:/tmp/.os_lf_venv 18:16:56 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:17:01 lf-activate-venv(): INFO: Adding /tmp/venv-Qh4c/bin to PATH 18:17:01 INFO: No Stack... 18:17:01 INFO: Retrieving Pricing Info for: v3-standard-8 18:17:01 INFO: Archiving Costs 18:17:01 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins6833958012183282065.sh 18:17:01 ---> logs-deploy.sh 18:17:01 Setup pyenv: 18:17:01 system 18:17:02 3.8.13 18:17:02 3.9.13 18:17:02 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:17:02 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Qh4c from file:/tmp/.os_lf_venv 18:17:03 lf-activate-venv(): INFO: Installing: lftools 18:17:12 lf-activate-venv(): INFO: Adding /tmp/venv-Qh4c/bin to PATH 18:17:12 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/164 18:17:12 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:17:13 Archives upload complete. 18:17:13 INFO: archiving logs to Nexus 18:17:14 ---> uname -a: 18:17:14 Linux prd-ubuntu1804-docker-8c-8g-25380 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 18:17:14 18:17:14 18:17:14 ---> lscpu: 18:17:14 Architecture: x86_64 18:17:14 CPU op-mode(s): 32-bit, 64-bit 18:17:14 Byte Order: Little Endian 18:17:14 CPU(s): 8 18:17:14 On-line CPU(s) list: 0-7 18:17:14 Thread(s) per core: 1 18:17:14 Core(s) per socket: 1 18:17:14 Socket(s): 8 18:17:14 NUMA node(s): 1 18:17:14 Vendor ID: AuthenticAMD 18:17:14 CPU family: 23 18:17:14 Model: 49 18:17:14 Model name: AMD EPYC-Rome Processor 18:17:14 Stepping: 0 18:17:14 CPU MHz: 2799.996 18:17:14 BogoMIPS: 5599.99 18:17:14 Virtualization: AMD-V 18:17:14 Hypervisor vendor: KVM 18:17:14 Virtualization type: full 18:17:14 L1d cache: 32K 18:17:14 L1i cache: 32K 18:17:14 L2 cache: 512K 18:17:14 L3 cache: 16384K 18:17:14 NUMA node0 CPU(s): 0-7 18:17:14 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 18:17:14 18:17:14 18:17:14 ---> nproc: 18:17:14 8 18:17:14 18:17:14 18:17:14 ---> df -h: 18:17:14 Filesystem Size Used Avail Use% Mounted on 18:17:14 udev 16G 0 16G 0% /dev 18:17:14 tmpfs 3.2G 708K 3.2G 1% /run 18:17:14 /dev/vda1 155G 12G 144G 8% / 18:17:14 tmpfs 16G 0 16G 0% /dev/shm 18:17:14 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:14 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:14 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:14 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:14 18:17:14 18:17:14 ---> free -m: 18:17:14 total used free shared buff/cache available 18:17:14 Mem: 32167 852 27311 0 4002 30858 18:17:14 Swap: 1023 0 1023 18:17:14 18:17:14 18:17:14 ---> ip addr: 18:17:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:14 inet 127.0.0.1/8 scope host lo 18:17:14 valid_lft forever preferred_lft forever 18:17:14 inet6 ::1/128 scope host 18:17:14 valid_lft forever preferred_lft forever 18:17:14 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:17:14 link/ether fa:16:3e:11:34:e8 brd ff:ff:ff:ff:ff:ff 18:17:14 inet 10.30.107.113/23 brd 10.30.107.255 scope global dynamic ens3 18:17:14 valid_lft 86047sec preferred_lft 86047sec 18:17:14 inet6 fe80::f816:3eff:fe11:34e8/64 scope link 18:17:14 valid_lft forever preferred_lft forever 18:17:14 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:14 link/ether 02:42:62:00:6c:f3 brd ff:ff:ff:ff:ff:ff 18:17:14 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:14 valid_lft forever preferred_lft forever 18:17:14 18:17:14 18:17:14 ---> sar -b -r -n DEV: 18:17:14 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-25380) 04/23/24 _x86_64_ (8 CPU) 18:17:14 18:17:14 18:11:24 LINUX RESTART (8 CPU) 18:17:14 18:17:14 18:12:01 tps rtps wtps bread/s bwrtn/s 18:17:14 18:13:01 149.30 42.84 106.46 1926.02 77459.25 18:17:14 18:14:01 142.98 22.76 120.21 2721.55 58157.37 18:17:14 18:15:01 380.86 12.21 368.64 851.28 66015.68 18:17:14 18:16:01 4.35 0.10 4.25 8.80 103.48 18:17:14 18:17:01 51.29 1.50 49.79 124.11 3290.12 18:17:14 Average: 145.76 15.88 129.88 1126.37 41007.23 18:17:14 18:17:14 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:14 18:13:01 30150728 31713460 2788492 8.47 67988 1806456 1421100 4.18 856364 1642172 135528 18:17:14 18:14:01 29510884 31672980 3428336 10.41 92664 2358288 1585836 4.67 944372 2143680 354208 18:17:14 18:15:01 27246084 30916804 5693136 17.28 128708 3764816 3996376 11.76 1825792 3410700 276 18:17:14 18:16:01 26922004 30594204 6017216 18.27 128844 3765800 4228308 12.44 2151108 3410420 36 18:17:14 18:17:01 28030272 31661052 4908948 14.90 130360 3733444 1439928 4.24 1116744 3362368 2452 18:17:14 Average: 28371994 31311700 4567226 13.87 109713 3085761 2534310 7.46 1378876 2793868 98500 18:17:14 18:17:14 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:14 18:13:01 lo 1.47 1.47 0.17 0.17 0.00 0.00 0.00 0.00 18:17:14 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:14 18:13:01 ens3 182.89 126.42 1097.80 37.27 0.00 0.00 0.00 0.00 18:17:14 18:14:01 lo 5.60 5.60 0.54 0.54 0.00 0.00 0.00 0.00 18:17:14 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:14 18:14:01 ens3 125.23 86.94 2827.56 11.72 0.00 0.00 0.00 0.00 18:17:14 18:14:01 br-38d7f7bd8510 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:14 18:15:01 vetha823467 26.69 24.73 11.56 16.25 0.00 0.00 0.00 0.00 18:17:14 18:15:01 lo 5.20 5.20 0.46 0.46 0.00 0.00 0.00 0.00 18:17:14 18:15:01 vethfafa51d 53.18 64.68 19.11 16.03 0.00 0.00 0.00 0.00 18:17:14 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:14 18:16:01 vetha823467 98.17 80.67 29.83 97.67 0.00 0.00 0.00 0.01 18:17:14 18:16:01 lo 9.92 9.92 8.49 8.49 0.00 0.00 0.00 0.00 18:17:14 18:16:01 vethfafa51d 77.15 95.15 95.44 22.92 0.00 0.00 0.00 0.01 18:17:14 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:14 18:17:01 lo 7.55 7.55 0.66 0.66 0.00 0.00 0.00 0.00 18:17:14 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:14 18:17:01 ens3 761.69 506.23 11875.50 109.06 0.00 0.00 0.00 0.00 18:17:14 Average: lo 5.95 5.95 2.06 2.06 0.00 0.00 0.00 0.00 18:17:14 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:14 Average: ens3 120.38 79.34 2276.27 17.25 0.00 0.00 0.00 0.00 18:17:14 18:17:14 18:17:14 ---> sar -P ALL: 18:17:14 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-25380) 04/23/24 _x86_64_ (8 CPU) 18:17:14 18:17:14 18:11:24 LINUX RESTART (8 CPU) 18:17:14 18:17:14 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:17:14 18:13:01 all 10.47 0.00 0.84 5.49 0.04 83.16 18:17:14 18:13:01 0 7.08 0.00 0.78 9.41 0.03 82.69 18:17:14 18:13:01 1 9.34 0.00 1.10 1.27 0.03 88.25 18:17:14 18:13:01 2 10.44 0.00 0.92 7.88 0.03 80.73 18:17:14 18:13:01 3 4.10 0.00 0.35 0.40 0.02 95.13 18:17:14 18:13:01 4 18.24 0.00 0.87 3.02 0.12 77.76 18:17:14 18:13:01 5 20.11 0.00 1.56 2.02 0.05 76.26 18:17:14 18:13:01 6 6.25 0.00 0.70 1.27 0.02 91.76 18:17:14 18:13:01 7 8.22 0.00 0.45 18.63 0.03 72.67 18:17:14 18:14:01 all 9.79 0.00 0.92 4.12 0.04 85.13 18:17:14 18:14:01 0 8.64 0.00 1.00 8.40 0.10 81.86 18:17:14 18:14:01 1 1.05 0.00 0.42 1.20 0.02 97.31 18:17:14 18:14:01 2 2.32 0.00 0.35 12.34 0.03 84.96 18:17:14 18:14:01 3 1.22 0.00 0.33 0.22 0.02 98.21 18:17:14 18:14:01 4 1.83 0.00 0.95 5.76 0.05 91.41 18:17:14 18:14:01 5 27.22 0.00 1.34 2.23 0.03 69.18 18:17:14 18:14:01 6 8.43 0.00 0.95 0.50 0.03 90.08 18:17:14 18:14:01 7 27.61 0.00 2.00 2.32 0.05 68.01 18:17:14 18:15:01 all 15.90 0.00 3.86 3.59 0.08 76.57 18:17:14 18:15:01 0 23.09 0.00 4.22 2.72 0.10 69.88 18:17:14 18:15:01 1 19.17 0.00 4.84 2.03 0.08 73.86 18:17:14 18:15:01 2 16.60 0.00 4.22 0.24 0.07 78.87 18:17:14 18:15:01 3 12.82 0.00 3.56 1.10 0.07 82.45 18:17:14 18:15:01 4 12.49 0.00 3.37 1.67 0.07 82.41 18:17:14 18:15:01 5 20.81 0.00 4.11 2.55 0.08 72.44 18:17:14 18:15:01 6 10.42 0.00 3.75 15.91 0.07 69.84 18:17:14 18:15:01 7 11.82 0.00 2.82 2.50 0.10 82.75 18:17:14 18:16:01 all 4.37 0.00 0.36 0.03 0.03 95.22 18:17:14 18:16:01 0 4.24 0.00 0.37 0.00 0.02 95.38 18:17:14 18:16:01 1 4.28 0.00 0.30 0.02 0.02 95.38 18:17:14 18:16:01 2 6.14 0.00 0.38 0.02 0.02 93.45 18:17:14 18:16:01 3 3.58 0.00 0.35 0.00 0.02 96.05 18:17:14 18:16:01 4 2.42 0.00 0.23 0.02 0.05 97.28 18:17:14 18:16:01 5 6.13 0.00 0.45 0.13 0.03 93.26 18:17:14 18:16:01 6 4.65 0.00 0.35 0.00 0.02 94.98 18:17:14 18:16:01 7 3.47 0.00 0.48 0.02 0.07 95.96 18:17:14 18:17:01 all 6.34 0.00 0.56 0.82 0.04 92.24 18:17:14 18:17:01 0 0.93 0.00 0.42 0.52 0.02 98.12 18:17:14 18:17:01 1 9.62 0.00 0.57 0.23 0.02 89.56 18:17:14 18:17:01 2 26.31 0.00 0.97 1.02 0.08 71.61 18:17:14 18:17:01 3 7.31 0.00 0.62 0.39 0.02 91.67 18:17:14 18:17:01 4 1.97 0.00 0.48 0.13 0.03 97.38 18:17:14 18:17:01 5 1.13 0.00 0.62 3.69 0.03 94.53 18:17:14 18:17:01 6 1.87 0.00 0.38 0.52 0.02 97.21 18:17:14 18:17:01 7 1.73 0.00 0.37 0.07 0.03 97.80 18:17:14 Average: all 9.36 0.00 1.30 2.81 0.04 86.49 18:17:14 Average: 0 8.76 0.00 1.35 4.21 0.05 85.62 18:17:14 Average: 1 8.68 0.00 1.44 0.95 0.03 88.90 18:17:14 Average: 2 12.34 0.00 1.37 4.31 0.05 81.94 18:17:14 Average: 3 5.79 0.00 1.04 0.42 0.03 92.73 18:17:14 Average: 4 7.38 0.00 1.18 2.12 0.06 89.27 18:17:14 Average: 5 15.06 0.00 1.61 2.12 0.05 81.17 18:17:14 Average: 6 6.31 0.00 1.22 3.61 0.03 88.82 18:17:14 Average: 7 10.57 0.00 1.22 4.71 0.06 83.45 18:17:14 18:17:14 18:17:14