18:11:55 Started by timer 18:11:55 Running as SYSTEM 18:11:55 [EnvInject] - Loading node environment variables. 18:11:55 Building remotely on prd-ubuntu1804-docker-8c-8g-23120 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:11:55 [ssh-agent] Looking for ssh-agent implementation... 18:11:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:55 $ ssh-agent 18:11:55 SSH_AUTH_SOCK=/tmp/ssh-zayVf3lJEFYC/agent.2052 18:11:55 SSH_AGENT_PID=2054 18:11:55 [ssh-agent] Started. 18:11:55 Running ssh-add (command line suppressed) 18:11:55 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_7715746289697125665.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_7715746289697125665.key) 18:11:55 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:11:55 The recommended git tool is: NONE 18:11:57 using credential onap-jenkins-ssh 18:11:57 Wiping out workspace first. 18:11:57 Cloning the remote Git repository 18:11:57 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:11:57 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:11:57 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:11:57 > git --version # timeout=10 18:11:57 > git --version # 'git version 2.17.1' 18:11:57 using GIT_SSH to set credentials Gerrit user 18:11:57 Verifying host key using manually-configured host key entries 18:11:57 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:11:58 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:11:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:11:58 Avoid second fetch 18:11:58 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:11:58 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:11:58 > git config core.sparsecheckout # timeout=10 18:11:58 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:11:58 Commit message: "Set Montreal default branch" 18:11:58 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:11:58 provisioning config files... 18:11:58 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:11:58 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:11:58 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1979446738622213834.sh 18:11:58 ---> python-tools-install.sh 18:11:58 Setup pyenv: 18:11:58 * system (set by /opt/pyenv/version) 18:11:58 * 3.8.13 (set by /opt/pyenv/version) 18:11:58 * 3.9.13 (set by /opt/pyenv/version) 18:11:58 * 3.10.6 (set by /opt/pyenv/version) 18:12:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-877M 18:12:03 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:06 lf-activate-venv(): INFO: Installing: lftools 18:12:40 lf-activate-venv(): INFO: Adding /tmp/venv-877M/bin to PATH 18:12:40 Generating Requirements File 18:13:08 Python 3.10.6 18:13:08 pip 24.0 from /tmp/venv-877M/lib/python3.10/site-packages/pip (python 3.10) 18:13:09 appdirs==1.4.4 18:13:09 argcomplete==3.2.3 18:13:09 aspy.yaml==1.3.0 18:13:09 attrs==23.2.0 18:13:09 autopage==0.5.2 18:13:09 beautifulsoup4==4.12.3 18:13:09 boto3==1.34.84 18:13:09 botocore==1.34.84 18:13:09 bs4==0.0.2 18:13:09 cachetools==5.3.3 18:13:09 certifi==2024.2.2 18:13:09 cffi==1.16.0 18:13:09 cfgv==3.4.0 18:13:09 chardet==5.2.0 18:13:09 charset-normalizer==3.3.2 18:13:09 click==8.1.7 18:13:09 cliff==4.6.0 18:13:09 cmd2==2.4.3 18:13:09 cryptography==3.3.2 18:13:09 debtcollector==3.0.0 18:13:09 decorator==5.1.1 18:13:09 defusedxml==0.7.1 18:13:09 Deprecated==1.2.14 18:13:09 distlib==0.3.8 18:13:09 dnspython==2.6.1 18:13:09 docker==4.2.2 18:13:09 dogpile.cache==1.3.2 18:13:09 email_validator==2.1.1 18:13:09 filelock==3.13.4 18:13:09 future==1.0.0 18:13:09 gitdb==4.0.11 18:13:09 GitPython==3.1.43 18:13:09 google-auth==2.29.0 18:13:09 httplib2==0.22.0 18:13:09 identify==2.5.35 18:13:09 idna==3.7 18:13:09 importlib-resources==1.5.0 18:13:09 iso8601==2.1.0 18:13:09 Jinja2==3.1.3 18:13:09 jmespath==1.0.1 18:13:09 jsonpatch==1.33 18:13:09 jsonpointer==2.4 18:13:09 jsonschema==4.21.1 18:13:09 jsonschema-specifications==2023.12.1 18:13:09 keystoneauth1==5.6.0 18:13:09 kubernetes==29.0.0 18:13:09 lftools==0.37.10 18:13:09 lxml==5.2.1 18:13:09 MarkupSafe==2.1.5 18:13:09 msgpack==1.0.8 18:13:09 multi_key_dict==2.0.3 18:13:09 munch==4.0.0 18:13:09 netaddr==1.2.1 18:13:09 netifaces==0.11.0 18:13:09 niet==1.4.2 18:13:09 nodeenv==1.8.0 18:13:09 oauth2client==4.1.3 18:13:09 oauthlib==3.2.2 18:13:09 openstacksdk==3.0.0 18:13:09 os-client-config==2.1.0 18:13:09 os-service-types==1.7.0 18:13:09 osc-lib==3.0.1 18:13:09 oslo.config==9.4.0 18:13:09 oslo.context==5.5.0 18:13:09 oslo.i18n==6.3.0 18:13:09 oslo.log==5.5.1 18:13:09 oslo.serialization==5.4.0 18:13:09 oslo.utils==7.1.0 18:13:09 packaging==24.0 18:13:09 pbr==6.0.0 18:13:09 platformdirs==4.2.0 18:13:09 prettytable==3.10.0 18:13:09 pyasn1==0.6.0 18:13:09 pyasn1_modules==0.4.0 18:13:09 pycparser==2.22 18:13:09 pygerrit2==2.0.15 18:13:09 PyGithub==2.3.0 18:13:09 pyinotify==0.9.6 18:13:09 PyJWT==2.8.0 18:13:09 PyNaCl==1.5.0 18:13:09 pyparsing==2.4.7 18:13:09 pyperclip==1.8.2 18:13:09 pyrsistent==0.20.0 18:13:09 python-cinderclient==9.5.0 18:13:09 python-dateutil==2.9.0.post0 18:13:09 python-heatclient==3.5.0 18:13:09 python-jenkins==1.8.2 18:13:09 python-keystoneclient==5.4.0 18:13:09 python-magnumclient==4.4.0 18:13:09 python-novaclient==18.6.0 18:13:09 python-openstackclient==6.6.0 18:13:09 python-swiftclient==4.5.0 18:13:09 PyYAML==6.0.1 18:13:09 referencing==0.34.0 18:13:09 requests==2.31.0 18:13:09 requests-oauthlib==2.0.0 18:13:09 requestsexceptions==1.4.0 18:13:09 rfc3986==2.0.0 18:13:09 rpds-py==0.18.0 18:13:09 rsa==4.9 18:13:09 ruamel.yaml==0.18.6 18:13:09 ruamel.yaml.clib==0.2.8 18:13:09 s3transfer==0.10.1 18:13:09 simplejson==3.19.2 18:13:09 six==1.16.0 18:13:09 smmap==5.0.1 18:13:09 soupsieve==2.5 18:13:09 stevedore==5.2.0 18:13:09 tabulate==0.9.0 18:13:09 toml==0.10.2 18:13:09 tomlkit==0.12.4 18:13:09 tqdm==4.66.2 18:13:09 typing_extensions==4.11.0 18:13:09 tzdata==2024.1 18:13:09 urllib3==1.26.18 18:13:09 virtualenv==20.25.1 18:13:09 wcwidth==0.2.13 18:13:09 websocket-client==1.7.0 18:13:09 wrapt==1.16.0 18:13:09 xdg==6.0.0 18:13:09 xmltodict==0.13.0 18:13:09 yq==3.2.3 18:13:09 [EnvInject] - Injecting environment variables from a build step. 18:13:09 [EnvInject] - Injecting as environment variables the properties content 18:13:09 SET_JDK_VERSION=openjdk17 18:13:09 GIT_URL="git://cloud.onap.org/mirror" 18:13:09 18:13:09 [EnvInject] - Variables injected successfully. 18:13:09 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins12644741800861535074.sh 18:13:09 ---> update-java-alternatives.sh 18:13:09 ---> Updating Java version 18:13:09 ---> Ubuntu/Debian system detected 18:13:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:09 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:09 openjdk version "17.0.4" 2022-07-19 18:13:09 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:09 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:09 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:09 [EnvInject] - Injecting environment variables from a build step. 18:13:09 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:09 [EnvInject] - Variables injected successfully. 18:13:09 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins12190205459212138550.sh 18:13:09 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:09 + set +u 18:13:09 + save_set 18:13:09 + RUN_CSIT_SAVE_SET=ehxB 18:13:09 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:09 + '[' 1 -eq 0 ']' 18:13:09 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:09 + 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:09 + 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:09 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:09 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:09 + export ROBOT_VARIABLES= 18:13:09 + ROBOT_VARIABLES= 18:13:09 + export PROJECT=api 18:13:09 + PROJECT=api 18:13:09 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:09 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:09 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:09 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:09 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:09 + relax_set 18:13:09 + set +e 18:13:09 + set +o pipefail 18:13:09 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:09 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:09 +++ mktemp -d 18:13:09 ++ ROBOT_VENV=/tmp/tmp.5AL8CZ41Wa 18:13:09 ++ echo ROBOT_VENV=/tmp/tmp.5AL8CZ41Wa 18:13:09 +++ python3 --version 18:13:09 ++ echo 'Python version is: Python 3.6.9' 18:13:09 Python version is: Python 3.6.9 18:13:09 ++ python3 -m venv --clear /tmp/tmp.5AL8CZ41Wa 18:13:11 ++ source /tmp/tmp.5AL8CZ41Wa/bin/activate 18:13:11 +++ deactivate nondestructive 18:13:11 +++ '[' -n '' ']' 18:13:11 +++ '[' -n '' ']' 18:13:11 +++ '[' -n /bin/bash -o -n '' ']' 18:13:11 +++ hash -r 18:13:11 +++ '[' -n '' ']' 18:13:11 +++ unset VIRTUAL_ENV 18:13:11 +++ '[' '!' nondestructive = nondestructive ']' 18:13:11 +++ VIRTUAL_ENV=/tmp/tmp.5AL8CZ41Wa 18:13:11 +++ export VIRTUAL_ENV 18:13:11 +++ _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:11 +++ PATH=/tmp/tmp.5AL8CZ41Wa/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:11 +++ export PATH 18:13:11 +++ '[' -n '' ']' 18:13:11 +++ '[' -z '' ']' 18:13:11 +++ _OLD_VIRTUAL_PS1= 18:13:11 +++ '[' 'x(tmp.5AL8CZ41Wa) ' '!=' x ']' 18:13:11 +++ PS1='(tmp.5AL8CZ41Wa) ' 18:13:11 +++ export PS1 18:13:11 +++ '[' -n /bin/bash -o -n '' ']' 18:13:11 +++ hash -r 18:13:11 ++ set -exu 18:13:11 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:14 ++ echo 'Installing Python Requirements' 18:13:14 Installing Python Requirements 18:13:14 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:33 ++ python3 -m pip -qq freeze 18:13:33 bcrypt==4.0.1 18:13:33 beautifulsoup4==4.12.3 18:13:33 bitarray==2.9.2 18:13:33 certifi==2024.2.2 18:13:33 cffi==1.15.1 18:13:33 charset-normalizer==2.0.12 18:13:33 cryptography==40.0.2 18:13:33 decorator==5.1.1 18:13:33 elasticsearch==7.17.9 18:13:33 elasticsearch-dsl==7.4.1 18:13:33 enum34==1.1.10 18:13:33 idna==3.7 18:13:33 importlib-resources==5.4.0 18:13:33 ipaddr==2.2.0 18:13:33 isodate==0.6.1 18:13:33 jmespath==0.10.0 18:13:33 jsonpatch==1.32 18:13:33 jsonpath-rw==1.4.0 18:13:33 jsonpointer==2.3 18:13:33 lxml==5.2.1 18:13:33 netaddr==0.8.0 18:13:33 netifaces==0.11.0 18:13:33 odltools==0.1.28 18:13:33 paramiko==3.4.0 18:13:33 pkg_resources==0.0.0 18:13:33 ply==3.11 18:13:33 pyang==2.6.0 18:13:33 pyangbind==0.8.1 18:13:33 pycparser==2.21 18:13:33 pyhocon==0.3.60 18:13:33 PyNaCl==1.5.0 18:13:33 pyparsing==3.1.2 18:13:33 python-dateutil==2.9.0.post0 18:13:33 regex==2023.8.8 18:13:33 requests==2.27.1 18:13:33 robotframework==6.1.1 18:13:33 robotframework-httplibrary==0.4.2 18:13:33 robotframework-pythonlibcore==3.0.0 18:13:33 robotframework-requests==0.9.4 18:13:33 robotframework-selenium2library==3.0.0 18:13:33 robotframework-seleniumlibrary==5.1.3 18:13:33 robotframework-sshlibrary==3.8.0 18:13:33 scapy==2.5.0 18:13:33 scp==0.14.5 18:13:33 selenium==3.141.0 18:13:33 six==1.16.0 18:13:33 soupsieve==2.3.2.post1 18:13:33 urllib3==1.26.18 18:13:33 waitress==2.0.0 18:13:33 WebOb==1.8.7 18:13:33 WebTest==3.0.0 18:13:33 zipp==3.6.0 18:13:33 ++ mkdir -p /tmp/tmp.5AL8CZ41Wa/src/onap 18:13:33 ++ rm -rf /tmp/tmp.5AL8CZ41Wa/src/onap/testsuite 18:13:33 ++ 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:40 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:40 Uninstall docker-py and reinstall docker. 18:13:40 ++ python3 -m pip uninstall -y -qq docker 18:13:40 ++ python3 -m pip install -U -qq docker 18:13:41 ++ python3 -m pip -qq freeze 18:13:42 bcrypt==4.0.1 18:13:42 beautifulsoup4==4.12.3 18:13:42 bitarray==2.9.2 18:13:42 certifi==2024.2.2 18:13:42 cffi==1.15.1 18:13:42 charset-normalizer==2.0.12 18:13:42 cryptography==40.0.2 18:13:42 decorator==5.1.1 18:13:42 deepdiff==5.7.0 18:13:42 dnspython==2.2.1 18:13:42 docker==5.0.3 18:13:42 elasticsearch==7.17.9 18:13:42 elasticsearch-dsl==7.4.1 18:13:42 enum34==1.1.10 18:13:42 future==1.0.0 18:13:42 idna==3.7 18:13:42 importlib-resources==5.4.0 18:13:42 ipaddr==2.2.0 18:13:42 isodate==0.6.1 18:13:42 Jinja2==3.0.3 18:13:42 jmespath==0.10.0 18:13:42 jsonpatch==1.32 18:13:42 jsonpath-rw==1.4.0 18:13:42 jsonpointer==2.3 18:13:42 kafka-python==2.0.2 18:13:42 lxml==5.2.1 18:13:42 MarkupSafe==2.0.1 18:13:42 more-itertools==5.0.0 18:13:42 netaddr==0.8.0 18:13:42 netifaces==0.11.0 18:13:42 odltools==0.1.28 18:13:42 ordered-set==4.0.2 18:13:42 paramiko==3.4.0 18:13:42 pbr==6.0.0 18:13:42 pkg_resources==0.0.0 18:13:42 ply==3.11 18:13:42 protobuf==3.19.6 18:13:42 pyang==2.6.0 18:13:42 pyangbind==0.8.1 18:13:42 pycparser==2.21 18:13:42 pyhocon==0.3.60 18:13:42 PyNaCl==1.5.0 18:13:42 pyparsing==3.1.2 18:13:42 python-dateutil==2.9.0.post0 18:13:42 PyYAML==6.0.1 18:13:42 regex==2023.8.8 18:13:42 requests==2.27.1 18:13:42 robotframework==6.1.1 18:13:42 robotframework-httplibrary==0.4.2 18:13:42 robotframework-onap==0.6.0.dev105 18:13:42 robotframework-pythonlibcore==3.0.0 18:13:42 robotframework-requests==0.9.4 18:13:42 robotframework-selenium2library==3.0.0 18:13:42 robotframework-seleniumlibrary==5.1.3 18:13:42 robotframework-sshlibrary==3.8.0 18:13:42 robotlibcore-temp==1.0.2 18:13:42 scapy==2.5.0 18:13:42 scp==0.14.5 18:13:42 selenium==3.141.0 18:13:42 six==1.16.0 18:13:42 soupsieve==2.3.2.post1 18:13:42 urllib3==1.26.18 18:13:42 waitress==2.0.0 18:13:42 WebOb==1.8.7 18:13:42 websocket-client==1.3.1 18:13:42 WebTest==3.0.0 18:13:42 zipp==3.6.0 18:13:42 ++ uname 18:13:42 ++ grep -q Linux 18:13:42 ++ sudo apt-get -y -qq install libxml2-utils 18:13:42 + load_set 18:13:42 + _setopts=ehuxB 18:13:42 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:42 ++ tr : ' ' 18:13:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:42 + set +o braceexpand 18:13:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:42 + set +o hashall 18:13:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:42 + set +o interactive-comments 18:13:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:42 + set +o nounset 18:13:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:42 + set +o xtrace 18:13:42 ++ echo ehuxB 18:13:42 ++ sed 's/./& /g' 18:13:42 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:42 + set +e 18:13:42 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:42 + set +h 18:13:42 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:42 + set +u 18:13:42 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:42 + set +x 18:13:42 + source_safely /tmp/tmp.5AL8CZ41Wa/bin/activate 18:13:42 + '[' -z /tmp/tmp.5AL8CZ41Wa/bin/activate ']' 18:13:42 + relax_set 18:13:42 + set +e 18:13:42 + set +o pipefail 18:13:42 + . /tmp/tmp.5AL8CZ41Wa/bin/activate 18:13:42 ++ deactivate nondestructive 18:13:42 ++ '[' -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:42 ++ 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:42 ++ export PATH 18:13:42 ++ unset _OLD_VIRTUAL_PATH 18:13:42 ++ '[' -n '' ']' 18:13:42 ++ '[' -n /bin/bash -o -n '' ']' 18:13:42 ++ hash -r 18:13:42 ++ '[' -n '' ']' 18:13:42 ++ unset VIRTUAL_ENV 18:13:42 ++ '[' '!' nondestructive = nondestructive ']' 18:13:42 ++ VIRTUAL_ENV=/tmp/tmp.5AL8CZ41Wa 18:13:42 ++ export VIRTUAL_ENV 18:13:42 ++ _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:42 ++ PATH=/tmp/tmp.5AL8CZ41Wa/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:42 ++ export PATH 18:13:42 ++ '[' -n '' ']' 18:13:42 ++ '[' -z '' ']' 18:13:42 ++ _OLD_VIRTUAL_PS1='(tmp.5AL8CZ41Wa) ' 18:13:42 ++ '[' 'x(tmp.5AL8CZ41Wa) ' '!=' x ']' 18:13:42 ++ PS1='(tmp.5AL8CZ41Wa) (tmp.5AL8CZ41Wa) ' 18:13:42 ++ export PS1 18:13:42 ++ '[' -n /bin/bash -o -n '' ']' 18:13:42 ++ hash -r 18:13:42 + load_set 18:13:42 + _setopts=hxB 18:13:42 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:42 ++ tr : ' ' 18:13:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:42 + set +o braceexpand 18:13:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:42 + set +o hashall 18:13:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:42 + set +o interactive-comments 18:13:42 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:42 + set +o xtrace 18:13:42 ++ echo hxB 18:13:42 ++ sed 's/./& /g' 18:13:42 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:42 + set +h 18:13:42 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:42 + set +x 18:13:42 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:42 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:42 + export TEST_OPTIONS= 18:13:42 + TEST_OPTIONS= 18:13:42 ++ mktemp -d 18:13:42 + WORKDIR=/tmp/tmp.6egK5xI9XE 18:13:42 + cd /tmp/tmp.6egK5xI9XE 18:13:42 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:42 Configure a credential helper to remove this warning. See 18:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:42 18:13:42 Login Succeeded 18:13:42 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:42 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:42 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:42 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:42 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:42 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:42 + relax_set 18:13:42 + set +e 18:13:42 + set +o pipefail 18:13:42 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:42 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:42 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:42 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:42 +++ GERRIT_BRANCH=montreal 18:13:42 +++ echo GERRIT_BRANCH=montreal 18:13:42 GERRIT_BRANCH=montreal 18:13:42 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:42 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:42 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:42 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:45 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:45 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:45 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:45 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:45 +++ 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:45 +++ 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:45 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:45 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:45 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:45 +++ grafana=false 18:13:45 +++ gui=false 18:13:45 +++ [[ 2 -gt 0 ]] 18:13:45 +++ key=api 18:13:45 +++ case $key in 18:13:45 +++ echo api 18:13:45 api 18:13:45 +++ component=api 18:13:45 +++ shift 18:13:45 +++ [[ 1 -gt 0 ]] 18:13:45 +++ key=--grafana 18:13:45 +++ case $key in 18:13:45 +++ grafana=true 18:13:45 +++ shift 18:13:45 +++ [[ 0 -gt 0 ]] 18:13:45 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:45 +++ echo 'Configuring docker compose...' 18:13:45 Configuring docker compose... 18:13:45 +++ source export-ports.sh 18:13:45 +++ source get-versions.sh 18:13:48 +++ '[' -z api ']' 18:13:48 +++ '[' -n api ']' 18:13:48 +++ '[' api == logs ']' 18:13:48 +++ '[' true = true ']' 18:13:48 +++ echo 'Starting api application with Grafana' 18:13:48 Starting api application with Grafana 18:13:48 +++ docker-compose up -d api grafana 18:13:49 Creating network "compose_default" with the default driver 18:13:49 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:13:49 10.10.2: Pulling from mariadb 18:13:54 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:13:54 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:13:54 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:13:54 3.0.2: Pulling from onap/policy-db-migrator 18:13:58 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:13:58 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:13:58 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:13:58 3.0.2: Pulling from onap/policy-api 18:14:00 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:14:00 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:14:00 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:00 latest: Pulling from prom/prometheus 18:14:03 Digest: sha256:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 18:14:03 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:03 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:03 latest: Pulling from grafana/grafana 18:14:08 Digest: sha256:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e 18:14:08 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:08 Creating mariadb ... 18:14:08 Creating prometheus ... 18:14:21 Creating prometheus ... done 18:14:21 Creating grafana ... 18:14:22 Creating grafana ... done 18:14:23 Creating mariadb ... done 18:14:23 Creating policy-db-migrator ... 18:14:24 Creating policy-db-migrator ... done 18:14:24 Creating policy-api ... 18:14:25 Creating policy-api ... done 18:14:25 +++ echo 'Prometheus server: http://localhost:30259' 18:14:25 Prometheus server: http://localhost:30259 18:14:25 +++ echo 'Grafana server: http://localhost:30269' 18:14:25 Grafana server: http://localhost:30269 18:14:25 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:25 ++ sleep 10 18:14:35 ++ unset http_proxy https_proxy 18:14:35 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:35 Waiting for REST to come up on localhost port 30002... 18:14:35 NAMES STATUS 18:14:35 policy-api Up 10 seconds 18:14:35 policy-db-migrator Up 11 seconds 18:14:35 grafana Up 13 seconds 18:14:35 mariadb Up 12 seconds 18:14:35 prometheus Up 14 seconds 18:14:40 NAMES STATUS 18:14:40 policy-api Up 15 seconds 18:14:40 grafana Up 18 seconds 18:14:40 mariadb Up 17 seconds 18:14:40 prometheus Up 19 seconds 18:14:45 NAMES STATUS 18:14:45 policy-api Up 20 seconds 18:14:45 grafana Up 23 seconds 18:14:45 mariadb Up 22 seconds 18:14:45 prometheus Up 24 seconds 18:14:50 NAMES STATUS 18:14:50 policy-api Up 25 seconds 18:14:50 grafana Up 28 seconds 18:14:50 mariadb Up 27 seconds 18:14:50 prometheus Up 29 seconds 18:14:51 ++ export 'SUITES=api-test.robot 18:14:51 api-slas.robot' 18:14:51 ++ SUITES='api-test.robot 18:14:51 api-slas.robot' 18:14:51 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:51 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:14:51 + load_set 18:14:51 + _setopts=hxB 18:14:51 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:14:51 ++ tr : ' ' 18:14:51 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:51 + set +o braceexpand 18:14:51 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:51 + set +o hashall 18:14:51 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:51 + set +o interactive-comments 18:14:51 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:51 + set +o xtrace 18:14:51 ++ echo hxB 18:14:51 ++ sed 's/./& /g' 18:14:51 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:51 + set +h 18:14:51 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:51 + set +x 18:14:51 + docker_stats 18:14:51 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:14:51 ++ uname -s 18:14:51 + '[' Linux == Darwin ']' 18:14:51 + sh -c 'top -bn1 | head -3' 18:14:51 top - 18:14:51 up 3 min, 0 users, load average: 1.89, 0.76, 0.29 18:14:51 Tasks: 181 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 18:14:51 %Cpu(s): 10.4 us, 2.1 sy, 0.0 ni, 84.5 id, 3.0 wa, 0.0 hi, 0.1 si, 0.0 st 18:14:51 + echo 18:14:51 + sh -c 'free -h' 18:14:51 18:14:51 total used free shared buff/cache available 18:14:51 Mem: 31G 1.7G 25G 1.0M 3.9G 29G 18:14:51 Swap: 1.0G 0B 1.0G 18:14:51 + echo 18:14:51 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:14:51 18:14:51 NAMES STATUS 18:14:51 policy-api Up 25 seconds 18:14:51 grafana Up 28 seconds 18:14:51 mariadb Up 27 seconds 18:14:51 prometheus Up 29 seconds 18:14:51 + echo 18:14:51 + docker stats --no-stream 18:14:51 18:14:53 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:14:53 e4fd81432ab1 policy-api 0.10% 787.1MiB / 31.41GiB 2.45% 998kB / 710kB 0B / 0B 55 18:14:53 0dbc5d685b99 grafana 0.03% 57.48MiB / 31.41GiB 0.18% 18.9kB / 3.25kB 0B / 24.6MB 16 18:14:53 39b1c2e3f68e mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 985kB / 1.18MB 11MB / 67.9MB 27 18:14:53 adef02b9a5e0 prometheus 0.12% 18.67MiB / 31.41GiB 0.06% 1.52kB / 158B 233kB / 0B 13 18:14:53 + echo 18:14:53 18:14:53 + cd /tmp/tmp.6egK5xI9XE 18:14:53 + echo 'Reading the testplan:' 18:14:53 Reading the testplan: 18:14:53 + echo 'api-test.robot 18:14:53 api-slas.robot' 18:14:53 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:14:53 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:14:53 + cat testplan.txt 18:14:53 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:14:53 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:14:53 ++ xargs 18:14:53 + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' 18:14:53 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:53 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:14:53 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:53 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:14:53 + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' 18:14:53 Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... 18:14:53 + relax_set 18:14:53 + set +e 18:14:53 + set +o pipefail 18:14:53 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:14:54 ============================================================================== 18:14:54 api 18:14:54 ============================================================================== 18:14:54 api.Api-Test 18:14:54 ============================================================================== 18:14:54 Healthcheck :: Verify policy api health check | PASS | 18:14:54 ------------------------------------------------------------------------------ 18:14:56 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:14:56 ------------------------------------------------------------------------------ 18:14:56 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:14:56 ------------------------------------------------------------------------------ 18:14:56 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:14:56 ------------------------------------------------------------------------------ 18:14:57 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:14:57 ------------------------------------------------------------------------------ 18:14:57 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:14:57 ------------------------------------------------------------------------------ 18:14:57 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:14:57 ------------------------------------------------------------------------------ 18:14:57 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:14:57 ------------------------------------------------------------------------------ 18:14:58 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:14:58 ------------------------------------------------------------------------------ 18:14:58 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:14:58 ------------------------------------------------------------------------------ 18:14:58 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:14:58 ------------------------------------------------------------------------------ 18:14:59 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:14:59 ------------------------------------------------------------------------------ 18:14:59 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:14:59 ------------------------------------------------------------------------------ 18:14:59 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:14:59 ------------------------------------------------------------------------------ 18:14:59 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:14:59 ------------------------------------------------------------------------------ 18:14:59 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:14:59 ------------------------------------------------------------------------------ 18:15:00 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:00 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:00 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:00 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:15:00 ------------------------------------------------------------------------------ 18:15:01 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:01 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:01 api.Api-Test | PASS | 18:15:01 22 tests, 22 passed, 0 failed 18:15:01 ============================================================================== 18:15:01 api.Api-Slas 18:15:01 ============================================================================== 18:16:01 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:16:01 ------------------------------------------------------------------------------ 18:16:01 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:16:01 ------------------------------------------------------------------------------ 18:16:01 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:16:01 ------------------------------------------------------------------------------ 18:16:01 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:16:01 ------------------------------------------------------------------------------ 18:16:01 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:16:01 ------------------------------------------------------------------------------ 18:16:01 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:16:01 ------------------------------------------------------------------------------ 18:16:01 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:16:01 ------------------------------------------------------------------------------ 18:16:01 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:16:01 ------------------------------------------------------------------------------ 18:16:01 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:16:01 ------------------------------------------------------------------------------ 18:16:01 api.Api-Slas | PASS | 18:16:01 9 tests, 9 passed, 0 failed 18:16:01 ============================================================================== 18:16:01 api | PASS | 18:16:01 31 tests, 31 passed, 0 failed 18:16:01 ============================================================================== 18:16:01 Output: /tmp/tmp.6egK5xI9XE/output.xml 18:16:01 Log: /tmp/tmp.6egK5xI9XE/log.html 18:16:01 Report: /tmp/tmp.6egK5xI9XE/report.html 18:16:01 + RESULT=0 18:16:01 + load_set 18:16:01 + _setopts=hxB 18:16:01 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:01 ++ tr : ' ' 18:16:01 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:01 + set +o braceexpand 18:16:01 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:01 + set +o hashall 18:16:01 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:01 + set +o interactive-comments 18:16:01 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:01 + set +o xtrace 18:16:01 ++ echo hxB 18:16:01 ++ sed 's/./& /g' 18:16:01 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:01 + set +h 18:16:01 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:01 + set +x 18:16:01 + echo 'RESULT: 0' 18:16:01 RESULT: 0 18:16:01 + exit 0 18:16:01 + on_exit 18:16:01 + rc=0 18:16:01 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:16:01 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:01 NAMES STATUS 18:16:01 policy-api Up About a minute 18:16:01 grafana Up About a minute 18:16:01 mariadb Up About a minute 18:16:01 prometheus Up About a minute 18:16:01 + docker_stats 18:16:01 ++ uname -s 18:16:01 + '[' Linux == Darwin ']' 18:16:01 + sh -c 'top -bn1 | head -3' 18:16:01 top - 18:16:01 up 4 min, 0 users, load average: 0.71, 0.66, 0.29 18:16:01 Tasks: 179 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 18:16:01 %Cpu(s): 8.7 us, 1.7 sy, 0.0 ni, 87.2 id, 2.3 wa, 0.0 hi, 0.1 si, 0.0 st 18:16:01 + echo 18:16:01 18:16:01 + sh -c 'free -h' 18:16:01 total used free shared buff/cache available 18:16:01 Mem: 31G 1.9G 25G 1.0M 3.9G 29G 18:16:01 Swap: 1.0G 0B 1.0G 18:16:01 + echo 18:16:01 18:16:01 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:01 NAMES STATUS 18:16:01 policy-api Up About a minute 18:16:01 grafana Up About a minute 18:16:01 mariadb Up About a minute 18:16:01 prometheus Up About a minute 18:16:01 + echo 18:16:01 18:16:01 + docker stats --no-stream 18:16:04 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:16:04 e4fd81432ab1 policy-api 0.10% 956.7MiB / 31.41GiB 2.97% 7MB / 2.55MB 0B / 0B 56 18:16:04 0dbc5d685b99 grafana 0.04% 60.73MiB / 31.41GiB 0.19% 19.8kB / 4.39kB 0B / 24.6MB 16 18:16:04 39b1c2e3f68e mariadb 0.01% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 68.3MB 18 18:16:04 adef02b9a5e0 prometheus 0.10% 24.77MiB / 31.41GiB 0.08% 55.4kB / 6.48kB 233kB / 0B 13 18:16:04 + echo 18:16:04 18:16:04 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:04 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:16:04 + relax_set 18:16:04 + set +e 18:16:04 + set +o pipefail 18:16:04 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:04 ++ echo 'Shut down started!' 18:16:04 Shut down started! 18:16:04 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:04 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:16:04 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:16:04 ++ source export-ports.sh 18:16:04 ++ source get-versions.sh 18:16:06 ++ echo 'Collecting logs from docker compose containers...' 18:16:06 Collecting logs from docker compose containers... 18:16:06 ++ docker-compose logs 18:16:07 ++ cat docker_compose.log 18:16:07 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 18:16:07 policy-api | Waiting for mariadb port 3306... 18:16:07 policy-api | mariadb (172.17.0.3:3306) open 18:16:07 policy-api | Waiting for policy-db-migrator port 6824... 18:16:07 policy-api | policy-db-migrator (172.17.0.5:6824) open 18:16:07 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:07 policy-api | 18:16:07 policy-api | . ____ _ __ _ _ 18:16:07 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:07 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:07 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:07 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:07 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:07 policy-api | :: Spring Boot :: (v3.1.4) 18:16:07 policy-api | 18:16:07 policy-api | [2024-04-13T18:14:38.022+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) 18:16:07 policy-api | [2024-04-13T18:14:38.024+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:07 policy-api | [2024-04-13T18:14:39.613+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:07 policy-api | [2024-04-13T18:14:39.698+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. 18:16:07 policy-api | [2024-04-13T18:14:40.071+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:07 policy-api | [2024-04-13T18:14:40.072+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:07 policy-api | [2024-04-13T18:14:40.690+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:07 policy-api | [2024-04-13T18:14:40.699+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:07 policy-api | [2024-04-13T18:14:40.700+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:07 policy-api | [2024-04-13T18:14:40.701+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:07 policy-api | [2024-04-13T18:14:40.786+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:07 policy-api | [2024-04-13T18:14:40.786+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2699 ms 18:16:07 policy-api | [2024-04-13T18:14:41.177+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:07 policy-api | [2024-04-13T18:14:41.250+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:07 policy-api | [2024-04-13T18:14:41.253+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:07 policy-api | [2024-04-13T18:14:41.297+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:07 policy-api | [2024-04-13T18:14:41.593+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:07 policy-api | [2024-04-13T18:14:41.612+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:07 policy-api | [2024-04-13T18:14:41.705+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b 18:16:07 policy-api | [2024-04-13T18:14:41.707+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:07 policy-api | [2024-04-13T18:14:41.734+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:07 policy-api | [2024-04-13T18:14:41.735+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:07 policy-api | [2024-04-13T18:14:43.528+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:07 policy-api | [2024-04-13T18:14:43.532+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:07 policy-api | [2024-04-13T18:14:44.679+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:07 policy-api | [2024-04-13T18:14:45.346+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:07 policy-api | [2024-04-13T18:14:46.397+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:07 policy-api | [2024-04-13T18:14:46.592+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@607c7f58, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4bbb00a4, org.springframework.security.web.context.SecurityContextHolderFilter@6e11d059, org.springframework.security.web.header.HeaderWriterFilter@1d123972, org.springframework.security.web.authentication.logout.LogoutFilter@54e1e8a7, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@206d4413, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@19bd1f98, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@69cf9acb, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@543d242e, org.springframework.security.web.access.ExceptionTranslationFilter@5b3063b7, org.springframework.security.web.access.intercept.AuthorizationFilter@407bfc49] 18:16:07 policy-api | [2024-04-13T18:14:47.388+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:07 policy-api | [2024-04-13T18:14:47.443+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:07 policy-api | [2024-04-13T18:14:47.464+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:07 policy-api | [2024-04-13T18:14:47.484+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.132 seconds (process running for 10.726) 18:16:07 policy-api | [2024-04-13T18:14:54.158+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:07 policy-api | [2024-04-13T18:14:54.158+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 18:16:07 policy-api | [2024-04-13T18:14:54.160+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 18:16:07 policy-api | [2024-04-13T18:14:56.267+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 18:16:07 policy-api | [] 18:16:07 policy-api | [2024-04-13T18:14:56.402+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 18:16:07 policy-api | [2024-04-13T18:14:56.707+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 18:16:07 policy-api | [2024-04-13T18:14:57.904+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 18:16:07 policy-api | [2024-04-13T18:14:59.800+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:07 policy-api | [2024-04-13T18:15:00.127+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:07 policy-api | [2024-04-13T18:15:00.353+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 18:16:07 policy-api | [2024-04-13T18:15:00.567+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:07 policy-api | [2024-04-13T18:15:00.780+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:07 policy-api | [2024-04-13T18:15:00.997+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.749509278Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-13T18:14:22Z 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74977547Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74978901Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74979326Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74979822Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74980153Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.7498051Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.7498091Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.7498169Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74982249Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74982859Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:07 mariadb | 2024-04-13 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:07 mariadb | 2024-04-13 18:14:23+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:07 mariadb | 2024-04-13 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:07 mariadb | 2024-04-13 18:14:24+00:00 [Note] [Entrypoint]: Initializing database files 18:16:07 mariadb | 2024-04-13 18:14:24 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:07 mariadb | 2024-04-13 18:14:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:07 mariadb | 2024-04-13 18:14:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:07 mariadb | 18:16:07 mariadb | 18:16:07 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:07 mariadb | To do so, start the server, then issue the following command: 18:16:07 mariadb | 18:16:07 mariadb | '/usr/bin/mysql_secure_installation' 18:16:07 mariadb | 18:16:07 mariadb | which will also give you the option of removing the test 18:16:07 mariadb | databases and anonymous user created by default. This is 18:16:07 mariadb | strongly recommended for production servers. 18:16:07 mariadb | 18:16:07 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:07 mariadb | 18:16:07 mariadb | Please report any problems at https://mariadb.org/jira 18:16:07 mariadb | 18:16:07 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:07 mariadb | 18:16:07 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:07 mariadb | https://mariadb.org/get-involved/ 18:16:07 mariadb | 18:16:07 mariadb | 2024-04-13 18:14:25+00:00 [Note] [Entrypoint]: Database files initialized 18:16:07 mariadb | 2024-04-13 18:14:25+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:07 mariadb | 2024-04-13 18:14:25+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:07 mariadb | 2024-04-13 18:14:25 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... 18:16:07 mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:07 mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Number of transaction pools: 1 18:16:07 mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:07 mariadb | 2024-04-13 18:14:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:07 mariadb | 2024-04-13 18:14:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74983392Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:07 mariadb | 2024-04-13 18:14:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74983811Z level=info msg=Target target=[all] 18:16:07 policy-db-migrator | Waiting for mariadb port 3306... 18:16:07 prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:07 mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74984561Z level=info msg="Path Home" path=/usr/share/grafana 18:16:07 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:07 prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" 18:16:07 mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74984948Z level=info msg="Path Data" path=/var/lib/grafana 18:16:07 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:07 prometheus | ts=2024-04-13T18:14:21.796Z 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:07 mariadb | 2024-04-13 18:14:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74985393Z level=info msg="Path Logs" path=/var/log/grafana 18:16:07 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:07 prometheus | ts=2024-04-13T18:14:21.796Z 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:07 mariadb | 2024-04-13 18:14:26 0 [Note] InnoDB: 128 rollback segments are active. 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74986065Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:07 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:07 prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:07 mariadb | 2024-04-13 18:14:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74987921Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:07 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:07 prometheus | ts=2024-04-13T18:14:21.796Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:07 mariadb | 2024-04-13 18:14:26 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:07 grafana | logger=settings t=2024-04-13T18:14:22.74988465Z level=info msg="App mode production" 18:16:07 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:07 prometheus | ts=2024-04-13T18:14:21.805Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:07 mariadb | 2024-04-13 18:14:26 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:07 grafana | logger=sqlstore t=2024-04-13T18:14:22.751095287Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:07 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 18:16:07 prometheus | ts=2024-04-13T18:14:21.806Z caller=main.go:1129 level=info msg="Starting TSDB ..." 18:16:07 mariadb | 2024-04-13 18:14:26 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:07 grafana | logger=sqlstore t=2024-04-13T18:14:22.751125487Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:07 policy-db-migrator | 321 blocks 18:16:07 prometheus | ts=2024-04-13T18:14:21.808Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 18:16:07 mariadb | 2024-04-13 18:14:26 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.752309903Z level=info msg="Starting DB migrations" 18:16:07 policy-db-migrator | Preparing upgrade release version: 0800 18:16:07 prometheus | ts=2024-04-13T18:14:21.808Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:07 mariadb | 2024-04-13 18:14:26 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.757480031Z level=info msg="Executing migration" id="create migration_log table" 18:16:07 policy-db-migrator | Preparing upgrade release version: 0900 18:16:07 prometheus | ts=2024-04-13T18:14:21.809Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:07 mariadb | 2024-04-13 18:14:26 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.759894974Z level=info msg="Migration successfully executed" id="create migration_log table" duration=2.423393ms 18:16:07 policy-db-migrator | Preparing upgrade release version: 1000 18:16:07 prometheus | ts=2024-04-13T18:14:21.809Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.45µs 18:16:07 mariadb | 2024-04-13 18:14:26 0 [Note] mariadbd: ready for connections. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.764099317Z level=info msg="Executing migration" id="create user table" 18:16:07 policy-db-migrator | Preparing upgrade release version: 1100 18:16:07 prometheus | ts=2024-04-13T18:14:21.809Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.764992331Z level=info msg="Migration successfully executed" id="create user table" duration=892.514µs 18:16:07 policy-db-migrator | Preparing upgrade release version: 1200 18:16:07 prometheus | ts=2024-04-13T18:14:21.810Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:07 mariadb | 2024-04-13 18:14:26+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.771223035Z level=info msg="Executing migration" id="add unique index user.login" 18:16:07 policy-db-migrator | Preparing upgrade release version: 1300 18:16:07 prometheus | ts=2024-04-13T18:14:21.810Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=26.202µs wal_replay_duration=947.208µs wbl_replay_duration=220ns total_replay_duration=1.006711ms 18:16:07 mariadb | 2024-04-13 18:14:28+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.772006739Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=782.844µs 18:16:07 policy-db-migrator | Done 18:16:07 prometheus | ts=2024-04-13T18:14:21.814Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 18:16:07 mariadb | 2024-04-13 18:14:28+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.775493508Z level=info msg="Executing migration" id="add unique index user.email" 18:16:07 policy-db-migrator | name version 18:16:07 prometheus | ts=2024-04-13T18:14:21.814Z caller=main.go:1153 level=info msg="TSDB started" 18:16:07 mariadb | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.776245342Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=751.434µs 18:16:07 policy-db-migrator | policyadmin 0 18:16:07 prometheus | ts=2024-04-13T18:14:21.814Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:07 mariadb | 2024-04-13 18:14:28+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.779749951Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:07 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:07 prometheus | ts=2024-04-13T18:14:21.815Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.254604ms db_storage=1.42µs remote_storage=2.17µs web_handler=1.11µs query_engine=740ns scrape=341.768µs scrape_sd=140.267µs notify=38.682µs notify_sd=25.011µs rules=1.77µs tracing=7.451µs 18:16:07 mariadb | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.780479825Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=727.704µs 18:16:07 policy-db-migrator | upgrade: 0 -> 1300 18:16:07 prometheus | ts=2024-04-13T18:14:21.816Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 18:16:07 mariadb | 2024-04-13 18:14:28+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.785375681Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:07 policy-db-migrator | 18:16:07 prometheus | ts=2024-04-13T18:14:21.816Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 18:16:07 mariadb | #!/bin/bash -xv 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.786066195Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=689.834µs 18:16:07 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:07 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.790012826Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.794036747Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.020361ms 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.798060919Z level=info msg="Executing migration" id="create user table v2" 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.798919203Z level=info msg="Migration successfully executed" id="create user table v2" duration=857.824µs 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.804311892Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.805901951Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.589179ms 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.813903024Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.814714558Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=810.484µs 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.817815635Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.818302387Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=486.052µs 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.822356819Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.823199894Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=842.565µs 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.827097005Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.829070615Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.97254ms 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.832598794Z level=info msg="Executing migration" id="Update user table charset" 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.832628404Z level=info msg="Migration successfully executed" id="Update user table charset" duration=30.2µs 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.835806701Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.836946337Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.139276ms 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.84113574Z level=info msg="Executing migration" id="Add missing user data" 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.841619003Z level=info msg="Migration successfully executed" id="Add missing user data" duration=482.673µs 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.845451403Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.847375443Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.92298ms 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.850673411Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.851433175Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=759.094µs 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.854897114Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.85604175Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.144016ms 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.860184152Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.868169825Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.983103ms 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.871625844Z level=info msg="Executing migration" id="Add uid column to user" 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.87289021Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.263776ms 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.876231458Z level=info msg="Executing migration" id="Update uid column values for users" 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.87648766Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=254.262µs 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.879763197Z level=info msg="Executing migration" id="Add unique index user_uid" 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.880544801Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=781.494µs 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.885106096Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 18:16:07 policy-db-migrator | 18:16:07 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.885660439Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=553.463µs 18:16:07 mariadb | # 18:16:07 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.889731981Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:07 mariadb | # you may not use this file except in compliance with the License. 18:16:07 mariadb | # You may obtain a copy of the License at 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.891050128Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.316967ms 18:16:07 mariadb | # 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.896121195Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:07 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:07 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.897425652Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.303417ms 18:16:07 policy-db-migrator | -------------- 18:16:07 mariadb | # 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.90267561Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:07 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:07 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.903429864Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=753.444µs 18:16:07 policy-db-migrator | -------------- 18:16:07 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.907271565Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:07 policy-db-migrator | 18:16:07 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.908064519Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=793.144µs 18:16:07 policy-db-migrator | 18:16:07 mariadb | # See the License for the specific language governing permissions and 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.91195333Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:07 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:07 mariadb | # limitations under the License. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.912773764Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=819.904µs 18:16:07 policy-db-migrator | -------------- 18:16:07 mariadb | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.917696931Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:07 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:07 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.917841351Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=144.43µs 18:16:07 mariadb | do 18:16:07 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.921678862Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:07 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:07 mariadb | done 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.922701188Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.022205ms 18:16:07 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:07 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.926268117Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:07 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:07 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.9269169Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=647.543µs 18:16:07 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:07 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.931841687Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:07 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:07 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.932487Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=643.963µs 18:16:07 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:07 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.936044749Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:07 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:07 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.937087795Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.041846ms 18:16:07 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:07 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.940802075Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:07 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:07 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.943960602Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.158217ms 18:16:07 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:07 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.948917448Z level=info msg="Executing migration" id="create temp_user v2" 18:16:07 mariadb | 18:16:07 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.949744263Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=825.655µs 18:16:07 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:07 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.953532843Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:07 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:07 mariadb | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.954239427Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=703.654µs 18:16:07 mariadb | 2024-04-13 18:14:29+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.957800466Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Starting shutdown... 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.958998392Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.201096ms 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Buffer pool(s) dump completed at 240413 18:14:29 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.962617652Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Shutdown completed; log sequence number 340420; transaction id 298 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.963811978Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.189986ms 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] mariadbd: Shutdown complete 18:16:07 mariadb | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.968368482Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:07 mariadb | 2024-04-13 18:14:29+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:07 mariadb | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.969592329Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.223257ms 18:16:07 mariadb | 2024-04-13 18:14:29+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:07 mariadb | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.973696211Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.974287964Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=591.363µs 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Number of transaction pools: 1 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.977922024Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.978409356Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=487.072µs 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.98289854Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.983249182Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=350.282µs 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: 128 rollback segments are active. 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.98659582Z level=info msg="Executing migration" id="create star table" 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: log sequence number 340420; transaction id 299 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.987549205Z level=info msg="Migration successfully executed" id="create star table" duration=952.465µs 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.991015934Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.99214909Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.131796ms 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] Server socket created on IP: '::'. 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:22.995466608Z level=info msg="Executing migration" id="create org table v1" 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] mariadbd: ready for connections. 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:22.996206912Z level=info msg="Migration successfully executed" id="create org table v1" duration=740.684µs 18:16:07 mariadb | 2024-04-13 18:14:29 0 [Note] InnoDB: Buffer pool(s) load completed at 240413 18:14:29 18:16:07 mariadb | 2024-04-13 18:14:30 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.001064738Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:07 mariadb | 2024-04-13 18:14:30 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.002277605Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.211767ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.005799294Z level=info msg="Executing migration" id="create org_user table v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.007133282Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.333988ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.010334989Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:07 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.011595416Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.262377ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.014799504Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.015600268Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=799.984µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.020888357Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.021667441Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=778.774µs 18:16:07 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.025201241Z level=info msg="Executing migration" id="Update org table charset" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.025250191Z level=info msg="Migration successfully executed" id="Update org table charset" duration=44.36µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.029015372Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.029057462Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=48.57µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.032861913Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.033172634Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=310.441µs 18:16:07 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.04151968Z level=info msg="Executing migration" id="create dashboard table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.042746337Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.226227ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.045813844Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.047161871Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.346687ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.050685741Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.052075358Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.388728ms 18:16:07 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.055517027Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.056213451Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=698.134µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.061764961Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.062591316Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=825.995µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.065900694Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.067112201Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.210837ms 18:16:07 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.071298564Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.079346858Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.048794ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.08521696Z level=info msg="Executing migration" id="create dashboard v2" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.085786213Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=569.203µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.088770999Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.089336732Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=565.483µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.092820652Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:07 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.094194609Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.373247ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.0999029Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.100284772Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=381.802µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.103616761Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.104576236Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=960.045µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.108275816Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:07 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.108390837Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=113.831µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.114223859Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:07 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.117154545Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.930486ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.120847355Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.12362968Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.781245ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.127307241Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:07 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.129158711Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.8507ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.135086193Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.136429981Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.344898ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.140586763Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.143501209Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.913306ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.14725796Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:07 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.148653068Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.394168ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.155000063Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.155804717Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=804.784µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.159285716Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.159312606Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=28.21µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.162696735Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:07 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.162725485Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=29.27µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.168867939Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.171900425Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.031426ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.175402384Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:07 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.177371555Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.968451ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.180648393Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:07 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.182567964Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.918941ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.185728921Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.187628851Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.89916ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.193869816Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:07 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.194257258Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=386.872µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.197660446Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.198939973Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.278867ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.202332342Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.203086976Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=754.654µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.209344891Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:07 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.209379831Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=36.97µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.212767089Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.214054576Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.286917ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.217571946Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.218639471Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.068045ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.224870876Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:07 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.230030714Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.159528ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.233258202Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.234016096Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=758.094µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.237505815Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.23837107Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=865.895µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.244287672Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:07 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.245205527Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=918.545µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.248441435Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.249002588Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=561.713µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.252553617Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.253505563Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=949.716µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.26034322Z level=info msg="Executing migration" id="Add check_sum column" 18:16:07 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.262433902Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.090942ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.266013881Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.266894696Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=880.835µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.270298815Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.270514706Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=215.411µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.274372597Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:07 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.274699059Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=326.782µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.280467221Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:07 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.281710447Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.244266ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.285242037Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.288598175Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.355358ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.292375236Z level=info msg="Executing migration" id="create data_source table" 18:16:07 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.293319041Z level=info msg="Migration successfully executed" id="create data_source table" duration=943.465µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.299286904Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.300536781Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.250117ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.30398969Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.305271197Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.280707ms 18:16:07 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.308737066Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.309429369Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=692.683µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.313991184Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.314848059Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=854.125µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.319022692Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.327446578Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.425776ms 18:16:07 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.332062453Z level=info msg="Executing migration" id="create data_source table v2" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.333033159Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=971.196µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.336703729Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.337701884Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=997.015µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.37878694Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.380272298Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.486238ms 18:16:07 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.387151626Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.388091521Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=939.575µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.392134293Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.395908204Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.772601ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.399274372Z level=info msg="Executing migration" id="Add secure json data column" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.401616985Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.342243ms 18:16:07 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.40803075Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.40805198Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=22.34µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.411522569Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.411800771Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=277.962µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.415184229Z level=info msg="Executing migration" id="Add read_only data column" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.418752759Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.56617ms 18:16:07 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.422520259Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.422931822Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=410.493µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.428865604Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.429089746Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=223.582µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.432800876Z level=info msg="Executing migration" id="Add uid column" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.436092204Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.289038ms 18:16:07 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.439491733Z level=info msg="Executing migration" id="Update uid value" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.439892455Z level=info msg="Migration successfully executed" id="Update uid value" duration=404.752µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.443633795Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.44449401Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=859.775µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.450577283Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.45185805Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.280547ms 18:16:07 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.455568361Z level=info msg="Executing migration" id="create api_key table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.456999009Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.428728ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.460265316Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.461151691Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=886.155µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.466084548Z level=info msg="Executing migration" id="add index api_key.key" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.467126354Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.040636ms 18:16:07 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.471058086Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.472459173Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.400657ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.475979183Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.476824547Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=843.784µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.482007546Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.483295123Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.287867ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.487026883Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.48828538Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.258657ms 18:16:07 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.493928361Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.501699694Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.772313ms 18:16:07 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:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.506312789Z level=info msg="Executing migration" id="create api_key table v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.507141814Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=830.315µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.510407461Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:07 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.511293526Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=885.925µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.516511415Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.51741169Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=900.235µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.520463367Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.521371482Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=908.025µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.524561459Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:07 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.524991561Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=429.162µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.529985649Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.530645702Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=657.743µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.534010371Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.534131282Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=119.64µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.537653441Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:07 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.541653733Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.000412ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.546850841Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.549382375Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.531184ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.552875194Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.553124036Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=248.492µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.556203863Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:07 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.558731396Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.526443ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.564080486Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.56672726Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.643584ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.569817057Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.570647562Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=830.005µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.573568548Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:07 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.574166161Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=596.703µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.580821138Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.581734523Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=911.445µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.585546973Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.586971621Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.424698ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.590881963Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.592360221Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.478068ms 18:16:07 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.598021972Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.598925127Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=900.985µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.602613997Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.602853378Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=238.551µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.606562019Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.606683829Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=120.99µs 18:16:07 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.61049218Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.613199075Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.704685ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.618573335Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.62132979Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.756305ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.624583868Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.624751748Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=166.48µs 18:16:07 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.628150787Z level=info msg="Executing migration" id="create quota table v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.629005962Z level=info msg="Migration successfully executed" id="create quota table v1" duration=854.775µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.634478132Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.635376657Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=897.785µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.638844386Z level=info msg="Executing migration" id="Update quota table charset" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.638962736Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=117.6µs 18:16:07 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.643982544Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.645456012Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.472738ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.652956423Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.653922028Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=965.535µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.659510269Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:07 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.664054464Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.542315ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.667943445Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.668119306Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=172.551µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.671603715Z level=info msg="Executing migration" id="create session table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.672555831Z level=info msg="Migration successfully executed" id="create session table" duration=951.766µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.679480069Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:07 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.67966223Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=184.331µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.683285819Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.68347268Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=186.101µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.687330202Z level=info msg="Executing migration" id="create playlist table v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.688615099Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.283277ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.695246225Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:07 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.696824674Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.68601ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.700531204Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.700828066Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=297.992µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.704511286Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.704670777Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=160.061µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.707758144Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:07 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.710920041Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.162117ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.716095799Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.719231837Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.135418ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.722914667Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.723104358Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=189.291µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.726626567Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:07 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.726813468Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=186.521µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.733008962Z level=info msg="Executing migration" id="create preferences table v3" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.734336089Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.323677ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.73813719Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.738200591Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=64.161µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.740842435Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:07 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.743907572Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.064267ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.746945809Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.74718576Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=238.892µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.752245338Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.755381205Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.133817ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.758582412Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:07 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.76173772Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.155188ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.766188104Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.766346065Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=157.921µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.771974106Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.773170622Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.196636ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.777205204Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.778690843Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.485719ms 18:16:07 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.782160202Z level=info msg="Executing migration" id="create alert table v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.783519069Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.358127ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.78914933Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.790133565Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=983.195µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.793409083Z level=info msg="Executing migration" id="add index alert state" 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.794312548Z level=info msg="Migration successfully executed" id="add index alert state" duration=903.715µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.797462246Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.798399981Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=936.955µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.804567864Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.805447169Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=879.595µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.813144862Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:07 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.814023766Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=878.384µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.817151203Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.81835873Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.204317ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.823499408Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.834581759Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.084651ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.839047954Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:07 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.839649797Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=593.133µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.84565198Z 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:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.846252153Z 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=599.773µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.851034969Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.851306091Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=271.312µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.85482455Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.855319343Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=494.913µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.858781152Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:07 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.860104529Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.321487ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.864874235Z level=info msg="Executing migration" id="Add column is_default" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.870271415Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.39728ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.878110378Z level=info msg="Executing migration" id="Add column frequency" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.881995629Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.880361ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.885579139Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:07 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.889367489Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.78818ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.895339742Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.901668547Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=6.331665ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.907327278Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.908944717Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.616839ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.914485707Z level=info msg="Executing migration" id="Update alert table charset" 18:16:07 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.914515607Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=30.67µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.917444613Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.917470464Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.871µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.921181454Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.922444391Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.263007ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.929390369Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:07 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.930250524Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=859.535µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.933961824Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.935516093Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.554029ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.941921238Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.945377757Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=3.454269ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.953829283Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.95509921Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.272517ms 18:16:07 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.96247993Z level=info msg="Executing migration" id="Add for to alert table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.965324786Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=2.844466ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.971074678Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.974237075Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.161937ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.977955745Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.978087916Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=133.051µs 18:16:07 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.981023592Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.981671036Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=646.934µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.986661233Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.987236406Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=573.453µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.990037252Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:07 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.992641066Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=2.603414ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:23.995509682Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:23.995558092Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=48.42µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.00247506Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.003067293Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=592.863µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.005377775Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:07 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.006046709Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=669.044µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.008995145Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.009057395Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=62.411µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.014027971Z level=info msg="Executing migration" id="create annotation table v5" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.014688395Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=659.944µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.017962073Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:07 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.018552786Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=589.813µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.022090055Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.022678008Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=588.053µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.028371308Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.028990242Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=616.734µs 18:16:07 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.031712016Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.03238053Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=668.834µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.034955514Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.035590587Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=635.483µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.040798565Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.040816265Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=17.58µs 18:16:07 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.043468789Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.046429485Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=2.961646ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.04915628Z level=info msg="Executing migration" id="Drop category_id index" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.049736903Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=580.363µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.0566226Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.060026248Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.407798ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.06590405Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.066665524Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=761.024µs 18:16:07 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.070477664Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.072075823Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.596979ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.0753462Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.076223465Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=876.375µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.081274942Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.09570491Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.429738ms 18:16:07 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.099262989Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.099786332Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=523.343µs 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.10515265Z 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:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.106192986Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.039266ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.112828272Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.113365254Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=542.163µs 18:16:07 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.11630735Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.116968764Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=649.274µs 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.123238917Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.123420388Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=181.951µs 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.126633236Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:07 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.130906798Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.272762ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.135038021Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.139364154Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.325483ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.145327166Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.146255361Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=928.105µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.149946101Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:07 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.151230048Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.283256ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.158664617Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.15913119Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=470.513µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.163014761Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.167348914Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.333953ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.171935189Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:07 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.172842893Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=907.664µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.177412278Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.177579169Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=166.771µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.182118193Z level=info msg="Executing migration" id="Move region to single row" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.182477675Z level=info msg="Migration successfully executed" id="Move region to single row" duration=354.602µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.186582387Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:07 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.187909394Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.326387ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.19269174Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.193499634Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=807.764µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.197700257Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.198553631Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=853.024µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.202352942Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:07 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.203190856Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=837.264µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.207937362Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.209066398Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.128896ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.212829148Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.214347316Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.518618ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.219803035Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:07 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.219868616Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=65.831µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.223488245Z level=info msg="Executing migration" id="create test_data table" 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.22435301Z level=info msg="Migration successfully executed" id="create test_data table" duration=864.525µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.228230251Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.229604168Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.373057ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.234834706Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:07 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.235709681Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=876.815µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.240433896Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.241412071Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=977.735µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.248028377Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.248204568Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=176.551µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.254872003Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:07 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.255396796Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=524.833µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.266054793Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:07 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.266153364Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=99.351µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.274469259Z level=info msg="Executing migration" id="create team table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.275564334Z level=info msg="Migration successfully executed" id="create team table" duration=1.094525ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.281063144Z level=info msg="Executing migration" id="add index team.org_id" 18:16:07 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.282574152Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.512668ms 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.28965174Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.291011397Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.358867ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.296523987Z level=info msg="Executing migration" id="Add column uid in team" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.30451802Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.992963ms 18:16:07 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.309607307Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.309732968Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=125.631µs 18:16:07 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.314652614Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.316247763Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.594669ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.321540011Z level=info msg="Executing migration" id="create team member table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.322677107Z level=info msg="Migration successfully executed" id="create team member table" duration=1.136166ms 18:16:07 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.327917755Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.3288057Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=887.445µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.333333124Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.334704802Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.373338ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.341281107Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.342613424Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.331707ms 18:16:07 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.34740355Z level=info msg="Executing migration" id="Add column email to team table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.357846686Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=10.439236ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.364787253Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.372292733Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.50579ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.378184105Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.385128952Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.944087ms 18:16:07 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.388848192Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.389769557Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=921.325µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.395730909Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.396865825Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.133466ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.401991923Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.403595661Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.603168ms 18:16:07 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.408404917Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.409384542Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=979.295µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.415324554Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.416876313Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.550439ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.42202503Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.423763249Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.737599ms 18:16:07 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.429654821Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.431110399Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.454668ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.434849479Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.435800134Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=948.305µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.442248489Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.443081963Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=830.354µs 18:16:07 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.449192126Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.449619388Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=426.692µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.454990137Z level=info msg="Executing migration" id="create tag table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.456366484Z level=info msg="Migration successfully executed" id="create tag table" duration=1.375537ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.461874104Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.462842099Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=966.105µs 18:16:07 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.467247503Z level=info msg="Executing migration" id="create login attempt table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.467975527Z level=info msg="Migration successfully executed" id="create login attempt table" duration=728.624µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.472626972Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.47418659Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.555528ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.47783364Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.479594629Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.762029ms 18:16:07 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.485002408Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.502326711Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.316973ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.509041907Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.510576805Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.538728ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.516925649Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:07 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.517886784Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=961.085µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.524188368Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.52449003Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=301.452µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.531483317Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.532439892Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=956.765µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.537175818Z level=info msg="Executing migration" id="create user auth table" 18:16:07 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.538415735Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.238696ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.5431013Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.543983594Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=881.834µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.550334288Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.550437659Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=104.901µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.554071869Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.5618938Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.822192ms 18:16:07 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.567160199Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.572109405Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.948846ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.580682901Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.589189587Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=8.491506ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.593804372Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.600193536Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.388654ms 18:16:07 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.608967443Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.609969308Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.001775ms 18:16:07 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.616639044Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.624762758Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.122774ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.656440038Z level=info msg="Executing migration" id="create server_lock table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.657891885Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.452007ms 18:16:07 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.663224084Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.664838893Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.610319ms 18:16:07 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.671263437Z level=info msg="Executing migration" id="create user auth token table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.672780205Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.522198ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.6810747Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.682105085Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.030355ms 18:16:07 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.687415334Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.689106243Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.690459ms 18:16:07 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.695799279Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.697770629Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.97133ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.703155008Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.712474298Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=9.31391ms 18:16:07 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.71659635Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.717406915Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=810.495µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.722643503Z level=info msg="Executing migration" id="create cache_data table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.724222501Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.575458ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.728901556Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.731081318Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=2.179532ms 18:16:07 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.735358361Z level=info msg="Executing migration" id="create short_url table v1" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.736243306Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=884.845µs 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.744054408Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.745813377Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.758459ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.754451313Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.754533754Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=83.111µs 18:16:07 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.761640992Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.761842593Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=201.671µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.767950786Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.769574545Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.622329ms 18:16:07 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.77612284Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.777640818Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.525008ms 18:16:07 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.781342068Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.782373053Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.030905ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.789724473Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.789841023Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=117.06µs 18:16:07 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.796257168Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.798019647Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.762419ms 18:16:07 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.804364941Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.805435037Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.067956ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.853459315Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.855156884Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.700019ms 18:16:07 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.861442627Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.863287337Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.84702ms 18:16:07 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.868993078Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:07 policy-db-migrator | JOIN pdpstatistics b 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.87502429Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.030362ms 18:16:07 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.880671411Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:07 policy-db-migrator | SET a.id = b.id 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.882705491Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=2.035151ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.886997774Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.887262206Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=368.092µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.895776572Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:07 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.897611031Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.83991ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.902822799Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:07 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.904477518Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.654259ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.911861078Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.913585067Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.723669ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.919539279Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:07 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.919605309Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=66.07µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.926505246Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:24.927380041Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=875.075µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.933880736Z level=info msg="Executing migration" id="create alert_instance table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.935342564Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.465068ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.940559142Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:07 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.941808978Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.248556ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.945540068Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:07 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.946692285Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.151357ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.951010958Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.958186566Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.175208ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.966429721Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:07 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.968053859Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.629148ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.972964096Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:07 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:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.97382891Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=864.414µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:24.979694372Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.007184507Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.490875ms 18:16:07 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.012192362Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.035937831Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.741919ms 18:16:07 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.040652744Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.041465769Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=813.084µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.046323333Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.048541224Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=2.216531ms 18:16:07 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.055376618Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.061510589Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.128791ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:25.066164562Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.071870331Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.705949ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.078947316Z level=info msg="Executing migration" id="create alert_rule table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.079951631Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.004195ms 18:16:07 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.085601589Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.086634465Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.032696ms 18:16:07 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:07 grafana | logger=migrator t=2024-04-13T18:14:25.090782855Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.092705025Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.92185ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.098979156Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.100082912Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.103346ms 18:16:07 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.107172387Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.107402199Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=237.092µs 18:16:07 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.112301343Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.119313518Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.015095ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.124836676Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.129159958Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.322812ms 18:16:07 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.135444109Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.141291928Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.846849ms 18:16:07 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.147788511Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.148828586Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.040675ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.15357962Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.154587705Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.007275ms 18:16:07 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.163111808Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.170481144Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.374006ms 18:16:07 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.174772196Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.181410679Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.638513ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.1875887Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.188779706Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.190696ms 18:16:07 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.194526355Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.202525135Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.99778ms 18:16:07 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.209686871Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.214791726Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.104155ms 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.218649526Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.218718496Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=69.08µs 18:16:07 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.224026723Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.225225469Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.198666ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.23157268Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.23351928Z 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.94545ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.239190298Z 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:07 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.240294964Z 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.104426ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.247349069Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.24745714Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=108.991µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.252418915Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:07 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.263300449Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=10.880154ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.268814897Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:07 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.2734237Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.608003ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.278150524Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.284941228Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.788394ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.290826337Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:07 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.297004338Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.171291ms 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.301674051Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.307732482Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.057651ms 18:16:07 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.312886897Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.312953808Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.881µs 18:16:07 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.318157694Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.318937368Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=779.534µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.324763977Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.332913208Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.149521ms 18:16:07 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.336151834Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.336218504Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=67.41µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.340657706Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.347884763Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.215687ms 18:16:07 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.353841852Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.354853108Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.011486ms 18:16:07 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.361166349Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.36924665Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.080721ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.374500026Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.3753613Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=860.824µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.38136131Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.382401475Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.039865ms 18:16:07 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.386061384Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.392568566Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.506412ms 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.397813343Z level=info msg="Executing migration" id="create provenance_type table" 18:16:07 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.398690857Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=874.884µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.40733462Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.409737582Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.402452ms 18:16:07 policy-db-migrator | msg 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.415956413Z level=info msg="Executing migration" id="create alert_image table" 18:16:07 policy-db-migrator | upgrade to 1100 completed 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.416792058Z level=info msg="Migration successfully executed" id="create alert_image table" duration=838.245µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.422288045Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:07 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.42323011Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=941.625µs 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.430595487Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:07 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.430837678Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=241.791µs 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.435780293Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:07 policy-db-migrator | 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.437748303Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.96733ms 18:16:07 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.443088619Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:07 policy-db-migrator | -------------- 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.444896688Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.807069ms 18:16:07 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 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:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | TRUNCATE TABLE sequence 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | DROP TABLE pdpstatistics 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | DROP TABLE statistics_sequence 18:16:07 policy-db-migrator | -------------- 18:16:07 policy-db-migrator | 18:16:07 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:07 policy-db-migrator | name version 18:16:07 policy-db-migrator | policyadmin 1300 18:16:07 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:07 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.450841548Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.451490911Z 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:07 grafana | logger=migrator t=2024-04-13T18:14:25.456632407Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.457034129Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=401.622µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.46117036Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.462157645Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=987.225µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.465992744Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.472760418Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.767264ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.475831683Z level=info msg="Executing migration" id="create library_element table v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.476939229Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.107076ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.481712773Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.483505152Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.791799ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.488929999Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.490188185Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.257586ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.4951898Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.496284186Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.093866ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.500143285Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.501538902Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.394147ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.507342281Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.507381741Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=43.98µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.51105612Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.51116692Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=111.77µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.515008788Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.515449781Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=443.193µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.51929794Z level=info msg="Executing migration" id="create data_keys table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.521018659Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.720698ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.526668907Z level=info msg="Executing migration" id="create secrets table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.527830023Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.160546ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.532224405Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.562735217Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=30.510162ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.565883723Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.571626332Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.742729ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.577439051Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.577594512Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=155.771µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.581506741Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.616062384Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=34.554703ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.619405781Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.650585267Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=31.179266ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.654087345Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.654792528Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=705.543µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.66109Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.662278846Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.188286ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.667851304Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.668240866Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=389.672µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.672499807Z level=info msg="Executing migration" id="create permission table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.673987914Z level=info msg="Migration successfully executed" id="create permission table" duration=1.488097ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.679476312Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.680649458Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.172386ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.684908149Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.686664298Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.754839ms 18:16:07 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:31 18:16:07 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:32 18:16:07 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:33 18:16:07 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:34 18:16:07 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1304241814310800u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1304241814310900u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 18:16:07 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:35 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.690872249Z level=info msg="Executing migration" id="create role table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.692233536Z level=info msg="Migration successfully executed" id="create role table" duration=1.357637ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.698156565Z level=info msg="Executing migration" id="add column display_name" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.71299939Z level=info msg="Migration successfully executed" id="add column display_name" duration=14.901375ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.72696463Z level=info msg="Executing migration" id="add column group_name" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.734541298Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.583638ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.745752714Z level=info msg="Executing migration" id="add index role.org_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.747463122Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.711068ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.760284416Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.762140426Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.85585ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.772470477Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.774247136Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.772289ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.787138491Z level=info msg="Executing migration" id="create team role table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.788516408Z level=info msg="Migration successfully executed" id="create team role table" duration=1.374377ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.803108801Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.805099181Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.99015ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.810786999Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.811980045Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.192236ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.816374247Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.817471783Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.097566ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.823820535Z level=info msg="Executing migration" id="create user role table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.824762149Z level=info msg="Migration successfully executed" id="create user role table" duration=941.714µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.828510358Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.830230147Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.719839ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.835359822Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.836536188Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.176956ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.843291572Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.84493911Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.646248ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.849188732Z level=info msg="Executing migration" id="create builtin role table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.850527158Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.337916ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.854420648Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.855531253Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.110095ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.860988791Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.86287139Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.882809ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.867011511Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.875903615Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.895664ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.878969841Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.879768535Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=798.014µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.88683186Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.88876542Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.93207ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.894195757Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.895340503Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.144656ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.899536434Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.90085125Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.311676ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.941394583Z level=info msg="Executing migration" id="create seed assignment table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.942846461Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.449037ms 18:16:07 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1304241814311000u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1304241814311100u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1304241814311200u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1304241814311200u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1304241814311200u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1304241814311200u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1304241814311300u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1304241814311300u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1304241814311300u 1 2024-04-13 18:14:36 18:16:07 policy-db-migrator | policyadmin: OK @ 1300 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.947145142Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.949286203Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.140351ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.953171092Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.961387923Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.217341ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.971438794Z level=info msg="Executing migration" id="permission kind migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.983147112Z level=info msg="Migration successfully executed" id="permission kind migration" duration=11.709268ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.987742965Z level=info msg="Executing migration" id="permission attribute migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.993450644Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.707019ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:25.997503854Z level=info msg="Executing migration" id="permission identifier migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.005576221Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.071497ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.011688227Z level=info msg="Executing migration" id="add permission identifier index" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.013049577Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.36411ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.02136386Z level=info msg="Executing migration" id="add permission action scope role_id index" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.023463035Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=2.098705ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.02810061Z level=info msg="Executing migration" id="remove permission role_id action scope index" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.029219699Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.119659ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.035541486Z level=info msg="Executing migration" id="create query_history table v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.037178108Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.635392ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.042188356Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.043953609Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.764343ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.047929059Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.04802823Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=99.001µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.05339353Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.05343446Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=41.9µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.057739593Z level=info msg="Executing migration" id="teams permissions migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.058475938Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=736.475µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.061943934Z level=info msg="Executing migration" id="dashboard permissions" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.062895282Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=952.017µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.066366778Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.067466356Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.099908ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.073552402Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.073822334Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=270.122µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.076919867Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.077414711Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=494.694µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.080528344Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.08135894Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=829.936µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.085584122Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.087363585Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.779063ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.093717153Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.102277897Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.558804ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.105408231Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.105485711Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=75.62µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.108617245Z level=info msg="Executing migration" id="create correlation table v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.109739853Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.122028ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.116638025Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.117810654Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.173159ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.121392691Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.122489039Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.096008ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.126427399Z level=info msg="Executing migration" id="add correlation config column" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.13861367Z level=info msg="Migration successfully executed" id="add correlation config column" duration=12.186321ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.143541927Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.144326783Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=785.016µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.147658058Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.148808737Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.150459ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.152141552Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.177659963Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=25.520981ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.182801982Z level=info msg="Executing migration" id="create correlation v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.183664008Z level=info msg="Migration successfully executed" id="create correlation v2" duration=863.526µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.186743742Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.187787289Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.043197ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.198709351Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.201012309Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.304598ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.205493002Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.206264938Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=771.656µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.210979084Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.211218555Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=239.881µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.214809622Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.216082322Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.27222ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.219707449Z level=info msg="Executing migration" id="add provisioning column" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.227976541Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.268292ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.232517345Z level=info msg="Executing migration" id="create entity_events table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.233238301Z level=info msg="Migration successfully executed" id="create entity_events table" duration=720.746µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.236569396Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.237336022Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=766.576µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.241431102Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.242163148Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.247578198Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.248012062Z 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:07 grafana | logger=migrator t=2024-04-13T18:14:26.252361804Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.253220901Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=859.217µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.256889418Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.25847187Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.585282ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.263902721Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.265791365Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.888414ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.269749405Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.271512138Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.762013ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.27571055Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.276907929Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.196789ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.281494763Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.283082055Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.586812ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.286545151Z level=info msg="Executing migration" id="Drop public config table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.28773376Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.184909ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.292226104Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.293473353Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.248619ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.296846439Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.298130968Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.28262ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.301664555Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.303432178Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.766313ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.308285474Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.309471573Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.183689ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.313279562Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.339182556Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=25.903014ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.342638162Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.35024562Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.607008ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.354488721Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.362999845Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.510184ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.36630929Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.366535122Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=225.682µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.369123261Z level=info msg="Executing migration" id="add share column" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.375834502Z level=info msg="Migration successfully executed" id="add share column" duration=6.710271ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.379209917Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.379420759Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=211.082µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.384430406Z level=info msg="Executing migration" id="create file table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.385383833Z level=info msg="Migration successfully executed" id="create file table" duration=953.277µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.389136732Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.390680763Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.542541ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.394795984Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.396693728Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.896374ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.401911428Z level=info msg="Executing migration" id="create file_meta table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.402721044Z level=info msg="Migration successfully executed" id="create file_meta table" duration=807.336µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.406741024Z level=info msg="Executing migration" id="file table idx: path key" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.408639108Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.896704ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.41425924Z level=info msg="Executing migration" id="set path collation in file table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.414395611Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=136.731µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.419410159Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.41954656Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=136.891µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.42351463Z level=info msg="Executing migration" id="managed permissions migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.424483007Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=967.177µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.429360444Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.429758627Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=401.443µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.433414974Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.434801785Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.386421ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.43950428Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.448515298Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.009998ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.452292926Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.452447947Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=154.571µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.45553081Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.456467537Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=935.847µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.461907788Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.462593833Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=688.445µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.466467732Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.466866365Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=398.683µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.470484503Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.471295719Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=811.426µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.474960066Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.484285276Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.32292ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.489556836Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.495969494Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.412368ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.500088325Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.502014189Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.926134ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.505938309Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.577673648Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=71.732149ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.583069228Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.584278407Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.208689ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.587984165Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.589244214Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.259789ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.593438186Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.619512222Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.076176ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.625504977Z level=info msg="Executing migration" id="add origin column to seed_assignment" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.632728651Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.223334ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.636471539Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.636796122Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=324.513µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.640388019Z level=info msg="Executing migration" id="prevent seeding OnCall access" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.64056123Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=172.941µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.645280975Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.645489087Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=208.452µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.649499657Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.649827829Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=327.632µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.653677068Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.654008551Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=331.183µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.657685598Z level=info msg="Executing migration" id="create folder table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.658586735Z level=info msg="Migration successfully executed" id="create folder table" duration=901.047µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.663140579Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.664898163Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.755664ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.669576678Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.671398321Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.816993ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.676771652Z level=info msg="Executing migration" id="Update folder title length" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.676798012Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.54µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.680021946Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.681565638Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.541992ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.685638818Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.687264761Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.622013ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.69123015Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.69249952Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.269ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.697718969Z level=info msg="Executing migration" id="Sync dashboard and folder table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.698433254Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=712.435µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.702274023Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.702664396Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=390.163µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.706253363Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.707436702Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.183869ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.71247467Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.713740979Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.266029ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.718074392Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.719272921Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.198289ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.722709667Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.724327879Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.616852ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.72980901Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.731816335Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=2.008645ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.736218508Z level=info msg="Executing migration" id="create anon_device table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.737532688Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.31371ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.742727127Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.74440271Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.677503ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.748608391Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.750057222Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.448621ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.75376095Z level=info msg="Executing migration" id="create signing_key table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.754882068Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.120488ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.760091018Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.762017872Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.925294ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.766254034Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.768227229Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.972925ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.771890046Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.772321609Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=431.513µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.776689162Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.790412435Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=13.723833ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.794706828Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.795268392Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=562.255µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.798732348Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.799990867Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.258239ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.805406008Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.806617657Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.211079ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.810047973Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.811227432Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.179019ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.814507916Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.815817376Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.30866ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.820522361Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.821805841Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.28309ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.825222637Z level=info msg="Executing migration" id="create sso_setting table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.82694713Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.723383ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.832520071Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.833932102Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.412911ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.838516597Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.83892666Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=410.233µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.843103681Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.843243122Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=139.141µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.84698313Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.85900146Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.01883ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.864007138Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.870583057Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=6.576689ms 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.877224667Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.877817512Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=597.985µs 18:16:07 grafana | logger=migrator t=2024-04-13T18:14:26.881278158Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.124115809s 18:16:07 grafana | logger=sqlstore t=2024-04-13T18:14:26.890336466Z level=info msg="Created default admin" user=admin 18:16:07 grafana | logger=sqlstore t=2024-04-13T18:14:26.890612208Z level=info msg="Created default organization" 18:16:07 grafana | logger=secrets t=2024-04-13T18:14:26.896063909Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:07 grafana | logger=plugin.store t=2024-04-13T18:14:26.92425168Z level=info msg="Loading plugins..." 18:16:07 grafana | logger=local.finder t=2024-04-13T18:14:26.963831838Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:07 grafana | logger=plugin.store t=2024-04-13T18:14:26.963868108Z level=info msg="Plugins loaded" count=55 duration=39.620778ms 18:16:07 grafana | logger=query_data t=2024-04-13T18:14:26.966495698Z level=info msg="Query Service initialization" 18:16:07 grafana | logger=live.push_http t=2024-04-13T18:14:26.970189525Z level=info msg="Live Push Gateway initialization" 18:16:07 grafana | logger=ngalert.migration t=2024-04-13T18:14:26.975732147Z level=info msg=Starting 18:16:07 grafana | logger=ngalert.migration t=2024-04-13T18:14:26.976238361Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 18:16:07 grafana | logger=ngalert.migration orgID=1 t=2024-04-13T18:14:26.976702694Z level=info msg="Migrating alerts for organisation" 18:16:07 grafana | logger=ngalert.migration orgID=1 t=2024-04-13T18:14:26.977385269Z level=info msg="Alerts found to migrate" alerts=0 18:16:07 grafana | logger=ngalert.migration t=2024-04-13T18:14:26.979178053Z level=info msg="Completed alerting migration" 18:16:07 grafana | logger=ngalert.state.manager t=2024-04-13T18:14:27.006120115Z level=info msg="Running in alternative execution of Error/NoData mode" 18:16:07 grafana | logger=infra.usagestats.collector t=2024-04-13T18:14:27.007883855Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:07 grafana | logger=provisioning.datasources t=2024-04-13T18:14:27.009594364Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:16:07 grafana | logger=provisioning.alerting t=2024-04-13T18:14:27.024662369Z level=info msg="starting to provision alerting" 18:16:07 grafana | logger=provisioning.alerting t=2024-04-13T18:14:27.024693319Z level=info msg="finished to provision alerting" 18:16:07 grafana | logger=ngalert.state.manager t=2024-04-13T18:14:27.025214992Z level=info msg="Warming state cache for startup" 18:16:07 grafana | logger=ngalert.multiorg.alertmanager t=2024-04-13T18:14:27.025391253Z level=info msg="Starting MultiOrg Alertmanager" 18:16:07 grafana | logger=http.server t=2024-04-13T18:14:27.028924193Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:07 grafana | logger=grafanaStorageLogger t=2024-04-13T18:14:27.033393738Z level=info msg="Storage starting" 18:16:07 grafana | logger=ngalert.state.manager t=2024-04-13T18:14:27.034351873Z level=info msg="State cache has been initialized" states=0 duration=9.144701ms 18:16:07 grafana | logger=ngalert.scheduler t=2024-04-13T18:14:27.034392613Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 18:16:07 grafana | logger=ticker t=2024-04-13T18:14:27.034545454Z level=info msg=starting first_tick=2024-04-13T18:14:30Z 18:16:07 grafana | logger=provisioning.dashboard t=2024-04-13T18:14:27.099552858Z level=info msg="starting to provision dashboards" 18:16:07 grafana | logger=plugins.update.checker t=2024-04-13T18:14:27.116896856Z level=info msg="Update check succeeded" duration=91.604983ms 18:16:07 grafana | logger=grafana.update.checker t=2024-04-13T18:14:27.123319072Z level=info msg="Update check succeeded" duration=98.198981ms 18:16:07 grafana | logger=provisioning.dashboard t=2024-04-13T18:14:27.330586653Z level=info msg="finished to provision dashboards" 18:16:07 grafana | logger=grafana-apiserver t=2024-04-13T18:14:27.370224035Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 18:16:07 grafana | logger=grafana-apiserver t=2024-04-13T18:14:27.370825238Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 18:16:07 grafana | logger=infra.usagestats t=2024-04-13T18:16:02.036293052Z level=info msg="Usage stats are ready to report" 18:16:07 ++ echo 'Tearing down containers...' 18:16:07 Tearing down containers... 18:16:07 ++ docker-compose down -v --remove-orphans 18:16:08 Stopping policy-api ... 18:16:08 Stopping grafana ... 18:16:08 Stopping mariadb ... 18:16:08 Stopping prometheus ... 18:16:08 Stopping grafana ... done 18:16:09 Stopping prometheus ... done 18:16:09 Stopping mariadb ... done 18:16:18 Stopping policy-api ... done 18:16:18 Removing policy-api ... 18:16:18 Removing policy-db-migrator ... 18:16:18 Removing grafana ... 18:16:18 Removing mariadb ... 18:16:18 Removing prometheus ... 18:16:18 Removing policy-db-migrator ... done 18:16:18 Removing prometheus ... done 18:16:18 Removing grafana ... done 18:16:18 Removing mariadb ... done 18:16:18 Removing policy-api ... done 18:16:18 Removing network compose_default 18:16:18 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:18 + load_set 18:16:18 + _setopts=hxB 18:16:18 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:18 ++ tr : ' ' 18:16:18 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:18 + set +o braceexpand 18:16:18 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:18 + set +o hashall 18:16:18 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:18 + set +o interactive-comments 18:16:18 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:18 + set +o xtrace 18:16:18 ++ echo hxB 18:16:18 ++ sed 's/./& /g' 18:16:18 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:18 + set +h 18:16:18 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:18 + set +x 18:16:18 + [[ -n /tmp/tmp.6egK5xI9XE ]] 18:16:18 + rsync -av /tmp/tmp.6egK5xI9XE/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:18 sending incremental file list 18:16:18 ./ 18:16:18 log.html 18:16:18 output.xml 18:16:18 report.html 18:16:18 testplan.txt 18:16:18 18:16:18 sent 1,344,911 bytes received 95 bytes 2,690,012.00 bytes/sec 18:16:18 total size is 1,344,262 speedup is 1.00 18:16:18 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:18 + exit 0 18:16:18 $ ssh-agent -k 18:16:18 unset SSH_AUTH_SOCK; 18:16:18 unset SSH_AGENT_PID; 18:16:18 echo Agent pid 2054 killed; 18:16:18 [ssh-agent] Stopped. 18:16:19 Robot results publisher started... 18:16:19 INFO: Checking test criticality is deprecated and will be dropped in a future release! 18:16:19 -Parsing output xml: 18:16:19 Done! 18:16:19 WARNING! Could not find file: **/log.html 18:16:19 WARNING! Could not find file: **/report.html 18:16:19 -Copying log files to build dir: 18:16:19 Done! 18:16:19 -Assigning results to build: 18:16:19 Done! 18:16:19 -Checking thresholds: 18:16:19 Done! 18:16:19 Done publishing Robot results. 18:16:19 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:19 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11620461098282009247.sh 18:16:19 ---> sysstat.sh 18:16:20 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12889311726261007167.sh 18:16:20 ---> package-listing.sh 18:16:20 ++ facter osfamily 18:16:20 ++ tr '[:upper:]' '[:lower:]' 18:16:20 + OS_FAMILY=debian 18:16:20 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:20 + START_PACKAGES=/tmp/packages_start.txt 18:16:20 + END_PACKAGES=/tmp/packages_end.txt 18:16:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:20 + PACKAGES=/tmp/packages_start.txt 18:16:20 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:20 + PACKAGES=/tmp/packages_end.txt 18:16:20 + case "${OS_FAMILY}" in 18:16:20 + dpkg -l 18:16:20 + grep '^ii' 18:16:20 + '[' -f /tmp/packages_start.txt ']' 18:16:20 + '[' -f /tmp/packages_end.txt ']' 18:16:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:20 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:20 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:20 + 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:20 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9298302971616761821.sh 18:16:20 ---> capture-instance-metadata.sh 18:16:20 Setup pyenv: 18:16:20 system 18:16:20 3.8.13 18:16:20 3.9.13 18:16:20 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-877M from file:/tmp/.os_lf_venv 18:16:21 lf-activate-venv(): INFO: Installing: lftools 18:16:31 lf-activate-venv(): INFO: Adding /tmp/venv-877M/bin to PATH 18:16:31 INFO: Running in OpenStack, capturing instance metadata 18:16:31 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11535376556747597316.sh 18:16:31 provisioning config files... 18:16:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config3234103591600122001tmp 18:16:31 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:31 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:31 [EnvInject] - Injecting environment variables from a build step. 18:16:31 [EnvInject] - Injecting as environment variables the properties content 18:16:31 SERVER_ID=logs 18:16:31 18:16:31 [EnvInject] - Variables injected successfully. 18:16:31 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15441552849028560124.sh 18:16:31 ---> create-netrc.sh 18:16:31 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11136542158069007226.sh 18:16:31 ---> python-tools-install.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-877M from file:/tmp/.os_lf_venv 18:16:33 lf-activate-venv(): INFO: Installing: lftools 18:16:41 lf-activate-venv(): INFO: Adding /tmp/venv-877M/bin to PATH 18:16:42 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3159154977515206954.sh 18:16:42 ---> sudo-logs.sh 18:16:42 Archiving 'sudo' log.. 18:16:42 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8231599995356329255.sh 18:16:42 ---> job-cost.sh 18:16:42 Setup pyenv: 18:16:42 system 18:16:42 3.8.13 18:16:42 3.9.13 18:16:42 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:42 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-877M from file:/tmp/.os_lf_venv 18:16:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:16:48 lf-activate-venv(): INFO: Adding /tmp/venv-877M/bin to PATH 18:16:48 INFO: No Stack... 18:16:48 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:48 INFO: Archiving Costs 18:16:48 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins13504497527865888573.sh 18:16:48 ---> logs-deploy.sh 18:16:48 Setup pyenv: 18:16:48 system 18:16:48 3.8.13 18:16:48 3.9.13 18:16:48 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:49 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-877M from file:/tmp/.os_lf_venv 18:16:50 lf-activate-venv(): INFO: Installing: lftools 18:16:58 lf-activate-venv(): INFO: Adding /tmp/venv-877M/bin to PATH 18:16:58 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/154 18:16:58 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:16:59 Archives upload complete. 18:16:59 INFO: archiving logs to Nexus 18:17:00 ---> uname -a: 18:17:00 Linux prd-ubuntu1804-docker-8c-8g-23120 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:00 18:17:00 18:17:00 ---> lscpu: 18:17:00 Architecture: x86_64 18:17:00 CPU op-mode(s): 32-bit, 64-bit 18:17:00 Byte Order: Little Endian 18:17:00 CPU(s): 8 18:17:00 On-line CPU(s) list: 0-7 18:17:00 Thread(s) per core: 1 18:17:00 Core(s) per socket: 1 18:17:00 Socket(s): 8 18:17:00 NUMA node(s): 1 18:17:00 Vendor ID: AuthenticAMD 18:17:00 CPU family: 23 18:17:00 Model: 49 18:17:00 Model name: AMD EPYC-Rome Processor 18:17:00 Stepping: 0 18:17:00 CPU MHz: 2800.000 18:17:00 BogoMIPS: 5600.00 18:17:00 Virtualization: AMD-V 18:17:00 Hypervisor vendor: KVM 18:17:00 Virtualization type: full 18:17:00 L1d cache: 32K 18:17:00 L1i cache: 32K 18:17:00 L2 cache: 512K 18:17:00 L3 cache: 16384K 18:17:00 NUMA node0 CPU(s): 0-7 18:17:00 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:00 18:17:00 18:17:00 ---> nproc: 18:17:00 8 18:17:00 18:17:00 18:17:00 ---> df -h: 18:17:00 Filesystem Size Used Avail Use% Mounted on 18:17:00 udev 16G 0 16G 0% /dev 18:17:00 tmpfs 3.2G 708K 3.2G 1% /run 18:17:00 /dev/vda1 155G 12G 144G 8% / 18:17:00 tmpfs 16G 0 16G 0% /dev/shm 18:17:00 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:00 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:00 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:00 18:17:00 18:17:00 ---> free -m: 18:17:00 total used free shared buff/cache available 18:17:00 Mem: 32167 840 27326 0 4000 30870 18:17:00 Swap: 1023 0 1023 18:17:00 18:17:00 18:17:00 ---> ip addr: 18:17:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:00 inet 127.0.0.1/8 scope host lo 18:17:00 valid_lft forever preferred_lft forever 18:17:00 inet6 ::1/128 scope host 18:17:00 valid_lft forever preferred_lft forever 18:17:00 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:17:00 link/ether fa:16:3e:b5:cc:99 brd ff:ff:ff:ff:ff:ff 18:17:00 inet 10.30.107.93/23 brd 10.30.107.255 scope global dynamic ens3 18:17:00 valid_lft 86061sec preferred_lft 86061sec 18:17:00 inet6 fe80::f816:3eff:feb5:cc99/64 scope link 18:17:00 valid_lft forever preferred_lft forever 18:17:00 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:00 link/ether 02:42:23:1f:f3:ee brd ff:ff:ff:ff:ff:ff 18:17:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:00 valid_lft forever preferred_lft forever 18:17:00 18:17:00 18:17:00 ---> sar -b -r -n DEV: 18:17:00 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-23120) 04/13/24 _x86_64_ (8 CPU) 18:17:00 18:17:00 18:11:24 LINUX RESTART (8 CPU) 18:17:00 18:17:00 18:12:01 tps rtps wtps bread/s bwrtn/s 18:17:00 18:13:01 91.85 17.73 74.13 1021.66 13223.73 18:17:00 18:14:01 130.90 23.08 107.82 2772.40 20089.47 18:17:00 18:15:01 366.92 12.58 354.34 808.93 69454.29 18:17:00 18:16:01 6.05 0.02 6.03 4.27 6360.97 18:17:00 Average: 148.93 13.35 135.58 1151.74 27281.83 18:17:00 18:17:00 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:00 18:13:01 30115964 31698372 2823256 8.57 70568 1822832 1427656 4.20 872724 1658180 150772 18:17:00 18:14:01 28608076 31654364 4331144 13.15 105072 3207340 1569688 4.62 997304 2947508 1151416 18:17:00 18:15:01 26809740 30479816 6129480 18.61 128760 3764484 4350800 12.80 2263980 3410012 652 18:17:00 18:16:01 26834228 30505036 6104992 18.53 128792 3765116 4286800 12.61 2239112 3409812 732 18:17:00 Average: 28092002 31084397 4847218 14.72 108298 3139943 2908736 8.56 1593280 2856378 325893 18:17:00 18:17:00 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:00 18:13:01 lo 1.67 1.67 0.19 0.19 0.00 0.00 0.00 0.00 18:17:00 18:13:01 ens3 51.42 38.04 837.23 7.54 0.00 0.00 0.00 0.00 18:17:00 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:00 18:14:01 lo 8.33 8.33 0.78 0.78 0.00 0.00 0.00 0.00 18:17:00 18:14:01 ens3 317.98 204.28 8250.41 18.89 0.00 0.00 0.00 0.00 18:17:00 18:14:01 br-26bfab6d19a8 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:00 18:15:01 vethb73956f 124.68 105.25 40.62 113.90 0.00 0.00 0.00 0.01 18:17:00 18:15:01 vethaa10f3b 0.52 0.77 0.06 0.31 0.00 0.00 0.00 0.00 18:17:00 18:15:01 lo 7.97 7.97 8.44 8.44 0.00 0.00 0.00 0.00 18:17:00 18:15:01 ens3 79.64 47.64 1939.28 4.46 0.00 0.00 0.00 0.00 18:17:00 18:16:01 vethb73956f 1.10 1.17 0.82 0.08 0.00 0.00 0.00 0.00 18:17:00 18:16:01 vethaa10f3b 0.23 0.18 0.02 0.01 0.00 0.00 0.00 0.00 18:17:00 18:16:01 lo 8.18 8.18 0.56 0.56 0.00 0.00 0.00 0.00 18:17:00 18:16:01 ens3 5.05 3.62 1.24 2.04 0.00 0.00 0.00 0.00 18:17:00 Average: vethb73956f 31.44 26.60 10.36 28.50 0.00 0.00 0.00 0.00 18:17:00 Average: vethaa10f3b 0.19 0.24 0.02 0.08 0.00 0.00 0.00 0.00 18:17:00 Average: lo 6.54 6.54 2.49 2.49 0.00 0.00 0.00 0.00 18:17:00 Average: ens3 113.51 73.39 2756.73 8.23 0.00 0.00 0.00 0.00 18:17:00 18:17:00 18:17:00 ---> sar -P ALL: 18:17:00 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-23120) 04/13/24 _x86_64_ (8 CPU) 18:17:00 18:17:00 18:11:24 LINUX RESTART (8 CPU) 18:17:00 18:17:00 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:17:00 18:13:01 all 9.86 0.00 0.67 1.69 0.03 87.75 18:17:00 18:13:01 0 3.20 0.00 0.35 0.13 0.02 96.30 18:17:00 18:13:01 1 0.72 0.00 0.20 0.10 0.00 98.98 18:17:00 18:13:01 2 0.08 0.00 0.39 10.61 0.08 88.84 18:17:00 18:13:01 3 14.01 0.00 0.58 0.62 0.03 84.76 18:17:00 18:13:01 4 34.00 0.00 1.64 1.39 0.07 62.91 18:17:00 18:13:01 5 19.56 0.00 1.28 0.35 0.03 78.77 18:17:00 18:13:01 6 6.25 0.00 0.47 0.08 0.02 93.18 18:17:00 18:13:01 7 1.02 0.00 0.42 0.33 0.02 98.21 18:17:00 18:14:01 all 10.67 0.00 2.08 2.23 0.04 84.97 18:17:00 18:14:01 0 3.91 0.00 1.75 0.45 0.02 93.87 18:17:00 18:14:01 1 7.19 0.00 1.51 0.08 0.03 91.18 18:17:00 18:14:01 2 3.71 0.00 1.79 8.57 0.08 85.85 18:17:00 18:14:01 3 17.77 0.00 3.42 5.00 0.05 73.76 18:17:00 18:14:01 4 24.27 0.00 2.06 1.19 0.05 72.42 18:17:00 18:14:01 5 10.40 0.00 2.17 1.52 0.03 85.87 18:17:00 18:14:01 6 12.78 0.00 1.59 0.95 0.03 84.64 18:17:00 18:14:01 7 5.28 0.00 2.38 0.13 0.03 92.18 18:17:00 18:15:01 all 15.80 0.00 3.01 4.50 0.06 76.62 18:17:00 18:15:01 0 13.51 0.00 2.39 2.99 0.07 81.04 18:17:00 18:15:01 1 13.51 0.00 3.38 20.16 0.07 62.89 18:17:00 18:15:01 2 14.44 0.00 2.24 4.86 0.05 78.41 18:17:00 18:15:01 3 18.83 0.00 3.11 0.90 0.05 77.11 18:17:00 18:15:01 4 20.11 0.00 3.35 1.67 0.07 74.80 18:17:00 18:15:01 5 16.01 0.00 3.07 1.04 0.07 79.82 18:17:00 18:15:01 6 15.61 0.00 3.13 4.33 0.07 76.87 18:17:00 18:15:01 7 14.40 0.00 3.36 0.15 0.07 82.02 18:17:00 18:16:01 all 0.43 0.00 0.06 0.33 0.02 99.16 18:17:00 18:16:01 0 0.12 0.00 0.10 0.05 0.07 99.67 18:17:00 18:16:01 1 0.28 0.00 0.07 0.02 0.00 99.63 18:17:00 18:16:01 2 0.17 0.00 0.08 2.59 0.05 97.11 18:17:00 18:16:01 3 2.13 0.00 0.03 0.00 0.00 97.83 18:17:00 18:16:01 4 0.15 0.00 0.08 0.00 0.02 99.75 18:17:00 18:16:01 5 0.20 0.00 0.07 0.00 0.07 99.67 18:17:00 18:16:01 6 0.32 0.00 0.03 0.02 0.02 99.62 18:17:00 18:16:01 7 0.07 0.00 0.00 0.00 0.00 99.93 18:17:00 Average: all 9.17 0.00 1.45 2.19 0.04 87.15 18:17:00 Average: 0 5.18 0.00 1.15 0.91 0.04 92.72 18:17:00 Average: 1 5.41 0.00 1.28 5.06 0.03 88.22 18:17:00 Average: 2 4.58 0.00 1.12 6.65 0.07 87.58 18:17:00 Average: 3 13.13 0.00 1.78 1.62 0.03 83.44 18:17:00 Average: 4 19.61 0.00 1.78 1.06 0.05 77.50 18:17:00 Average: 5 11.54 0.00 1.65 0.73 0.05 86.04 18:17:00 Average: 6 8.72 0.00 1.30 1.34 0.03 88.61 18:17:00 Average: 7 5.18 0.00 1.54 0.15 0.03 93.10 18:17:00 18:17:00 18:17:00