18:11:56 Started by timer 18:11:56 Running as SYSTEM 18:11:56 [EnvInject] - Loading node environment variables. 18:11:57 Building remotely on prd-ubuntu1804-docker-8c-8g-2365 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:11:57 [ssh-agent] Looking for ssh-agent implementation... 18:11:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:57 $ ssh-agent 18:11:57 SSH_AUTH_SOCK=/tmp/ssh-SreUVsWZXKop/agent.2084 18:11:57 SSH_AGENT_PID=2086 18:11:57 [ssh-agent] Started. 18:11:57 Running ssh-add (command line suppressed) 18:11:57 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_4473811334183493580.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_4473811334183493580.key) 18:11:57 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:11:57 The recommended git tool is: NONE 18:11:59 using credential onap-jenkins-ssh 18:11:59 Wiping out workspace first. 18:11:59 Cloning the remote Git repository 18:11:59 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:11:59 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:11:59 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:11:59 > git --version # timeout=10 18:11:59 > git --version # 'git version 2.17.1' 18:11:59 using GIT_SSH to set credentials Gerrit user 18:11:59 Verifying host key using manually-configured host key entries 18:11:59 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:12:00 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:12:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:00 Avoid second fetch 18:12:00 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:12:00 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:12:00 > git config core.sparsecheckout # timeout=10 18:12:00 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:12:00 Commit message: "Set Montreal default branch" 18:12:00 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:12:00 provisioning config files... 18:12:00 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:12:00 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:12:00 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5027248641274710215.sh 18:12:00 ---> python-tools-install.sh 18:12:00 Setup pyenv: 18:12:01 * system (set by /opt/pyenv/version) 18:12:01 * 3.8.13 (set by /opt/pyenv/version) 18:12:01 * 3.9.13 (set by /opt/pyenv/version) 18:12:01 * 3.10.6 (set by /opt/pyenv/version) 18:12:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LxEx 18:12:05 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:08 lf-activate-venv(): INFO: Installing: lftools 18:12:42 lf-activate-venv(): INFO: Adding /tmp/venv-LxEx/bin to PATH 18:12:42 Generating Requirements File 18:13:14 Python 3.10.6 18:13:15 pip 23.3.1 from /tmp/venv-LxEx/lib/python3.10/site-packages/pip (python 3.10) 18:13:15 appdirs==1.4.4 18:13:15 argcomplete==3.1.6 18:13:15 aspy.yaml==1.3.0 18:13:15 attrs==23.1.0 18:13:15 autopage==0.5.2 18:13:15 Babel==2.13.1 18:13:15 beautifulsoup4==4.12.2 18:13:15 boto3==1.33.6 18:13:15 botocore==1.33.6 18:13:15 bs4==0.0.1 18:13:15 cachetools==5.3.2 18:13:15 certifi==2023.11.17 18:13:15 cffi==1.16.0 18:13:15 cfgv==3.4.0 18:13:15 chardet==5.2.0 18:13:15 charset-normalizer==3.3.2 18:13:15 click==8.1.7 18:13:15 cliff==4.4.0 18:13:15 cmd2==2.4.3 18:13:15 cryptography==3.3.2 18:13:15 debtcollector==2.5.0 18:13:15 decorator==5.1.1 18:13:15 defusedxml==0.7.1 18:13:15 Deprecated==1.2.14 18:13:15 distlib==0.3.7 18:13:15 dnspython==2.4.2 18:13:15 docker==4.2.2 18:13:15 dogpile.cache==1.2.2 18:13:15 email-validator==2.1.0.post1 18:13:15 filelock==3.13.1 18:13:15 future==0.18.3 18:13:15 gitdb==4.0.11 18:13:15 GitPython==3.1.40 18:13:15 google-auth==2.24.0 18:13:15 httplib2==0.22.0 18:13:15 identify==2.5.32 18:13:15 idna==3.6 18:13:15 importlib-metadata==7.0.0 18:13:15 importlib-resources==1.5.0 18:13:15 iso8601==2.1.0 18:13:15 Jinja2==3.1.2 18:13:15 jmespath==1.0.1 18:13:15 jsonpatch==1.33 18:13:15 jsonpointer==2.4 18:13:15 jsonschema==4.20.0 18:13:15 jsonschema-specifications==2023.11.2 18:13:15 keystoneauth1==5.4.0 18:13:15 kubernetes==28.1.0 18:13:15 lftools==0.37.8 18:13:15 lxml==4.9.3 18:13:15 MarkupSafe==2.1.3 18:13:15 msgpack==1.0.7 18:13:15 multi-key-dict==2.0.3 18:13:15 munch==4.0.0 18:13:15 netaddr==0.9.0 18:13:15 netifaces==0.11.0 18:13:15 niet==1.4.2 18:13:15 nodeenv==1.8.0 18:13:15 oauth2client==4.1.3 18:13:15 oauthlib==3.2.2 18:13:15 openstacksdk==0.62.0 18:13:15 os-client-config==2.1.0 18:13:15 os-service-types==1.7.0 18:13:15 osc-lib==2.9.0 18:13:15 oslo.config==9.2.0 18:13:15 oslo.context==5.3.0 18:13:15 oslo.i18n==6.2.0 18:13:15 oslo.log==5.4.0 18:13:15 oslo.serialization==5.2.0 18:13:15 oslo.utils==6.3.0 18:13:15 packaging==23.2 18:13:15 pbr==6.0.0 18:13:15 platformdirs==4.1.0 18:13:15 prettytable==3.9.0 18:13:15 pyasn1==0.5.1 18:13:15 pyasn1-modules==0.3.0 18:13:15 pycparser==2.21 18:13:15 pygerrit2==2.0.15 18:13:15 PyGithub==2.1.1 18:13:15 pyinotify==0.9.6 18:13:15 PyJWT==2.8.0 18:13:15 PyNaCl==1.5.0 18:13:15 pyparsing==2.4.7 18:13:15 pyperclip==1.8.2 18:13:15 pyrsistent==0.20.0 18:13:15 python-cinderclient==9.4.0 18:13:15 python-dateutil==2.8.2 18:13:15 python-heatclient==3.3.0 18:13:15 python-jenkins==1.8.2 18:13:15 python-keystoneclient==5.2.0 18:13:15 python-magnumclient==4.3.0 18:13:15 python-novaclient==18.4.0 18:13:15 python-openstackclient==6.0.0 18:13:15 python-swiftclient==4.4.0 18:13:15 pytz==2023.3.post1 18:13:15 PyYAML==6.0.1 18:13:15 referencing==0.31.1 18:13:15 requests==2.31.0 18:13:15 requests-oauthlib==1.3.1 18:13:15 requestsexceptions==1.4.0 18:13:15 rfc3986==2.0.0 18:13:15 rpds-py==0.13.2 18:13:15 rsa==4.9 18:13:15 ruamel.yaml==0.18.5 18:13:15 ruamel.yaml.clib==0.2.8 18:13:15 s3transfer==0.8.2 18:13:15 simplejson==3.19.2 18:13:15 six==1.16.0 18:13:15 smmap==5.0.1 18:13:15 soupsieve==2.5 18:13:15 stevedore==5.1.0 18:13:15 tabulate==0.9.0 18:13:15 toml==0.10.2 18:13:15 tomlkit==0.12.3 18:13:15 tqdm==4.66.1 18:13:15 typing_extensions==4.8.0 18:13:15 tzdata==2023.3 18:13:15 urllib3==1.26.18 18:13:15 virtualenv==20.25.0 18:13:15 wcwidth==0.2.12 18:13:15 websocket-client==1.7.0 18:13:15 wrapt==1.16.0 18:13:15 xdg==6.0.0 18:13:15 xmltodict==0.13.0 18:13:15 yq==3.2.3 18:13:15 zipp==3.17.0 18:13:15 [EnvInject] - Injecting environment variables from a build step. 18:13:15 [EnvInject] - Injecting as environment variables the properties content 18:13:15 SET_JDK_VERSION=openjdk17 18:13:15 GIT_URL="git://cloud.onap.org/mirror" 18:13:15 18:13:15 [EnvInject] - Variables injected successfully. 18:13:15 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins15757556611714565593.sh 18:13:15 ---> update-java-alternatives.sh 18:13:15 ---> Updating Java version 18:13:16 ---> Ubuntu/Debian system detected 18:13:16 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:16 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:16 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:16 openjdk version "17.0.4" 2022-07-19 18:13:16 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:16 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:16 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:16 [EnvInject] - Injecting environment variables from a build step. 18:13:16 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:16 [EnvInject] - Variables injected successfully. 18:13:16 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins7112238103672814980.sh 18:13:16 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:16 + set +u 18:13:16 + save_set 18:13:16 + RUN_CSIT_SAVE_SET=ehxB 18:13:16 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:16 + '[' 1 -eq 0 ']' 18:13:16 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:16 + 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:16 + 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:16 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:16 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:16 + export ROBOT_VARIABLES= 18:13:16 + ROBOT_VARIABLES= 18:13:16 + export PROJECT=api 18:13:16 + PROJECT=api 18:13:16 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:16 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:16 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:16 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:16 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:16 + relax_set 18:13:16 + set +e 18:13:16 + set +o pipefail 18:13:16 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:16 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:16 +++ mktemp -d 18:13:16 ++ ROBOT_VENV=/tmp/tmp.uq9R6lmVZ8 18:13:16 ++ echo ROBOT_VENV=/tmp/tmp.uq9R6lmVZ8 18:13:16 +++ python3 --version 18:13:16 ++ echo 'Python version is: Python 3.6.9' 18:13:16 Python version is: Python 3.6.9 18:13:16 ++ python3 -m venv --clear /tmp/tmp.uq9R6lmVZ8 18:13:17 ++ source /tmp/tmp.uq9R6lmVZ8/bin/activate 18:13:17 +++ deactivate nondestructive 18:13:17 +++ '[' -n '' ']' 18:13:17 +++ '[' -n '' ']' 18:13:17 +++ '[' -n /bin/bash -o -n '' ']' 18:13:17 +++ hash -r 18:13:17 +++ '[' -n '' ']' 18:13:17 +++ unset VIRTUAL_ENV 18:13:17 +++ '[' '!' nondestructive = nondestructive ']' 18:13:17 +++ VIRTUAL_ENV=/tmp/tmp.uq9R6lmVZ8 18:13:17 +++ export VIRTUAL_ENV 18:13:17 +++ _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:17 +++ PATH=/tmp/tmp.uq9R6lmVZ8/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:17 +++ export PATH 18:13:17 +++ '[' -n '' ']' 18:13:17 +++ '[' -z '' ']' 18:13:17 +++ _OLD_VIRTUAL_PS1= 18:13:17 +++ '[' 'x(tmp.uq9R6lmVZ8) ' '!=' x ']' 18:13:17 +++ PS1='(tmp.uq9R6lmVZ8) ' 18:13:17 +++ export PS1 18:13:17 +++ '[' -n /bin/bash -o -n '' ']' 18:13:17 +++ hash -r 18:13:17 ++ set -exu 18:13:17 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:21 ++ echo 'Installing Python Requirements' 18:13:21 Installing Python Requirements 18:13:21 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:38 ++ python3 -m pip -qq freeze 18:13:39 bcrypt==4.0.1 18:13:39 beautifulsoup4==4.12.2 18:13:39 bitarray==2.8.4 18:13:39 certifi==2023.11.17 18:13:39 cffi==1.15.1 18:13:39 charset-normalizer==2.0.12 18:13:39 cryptography==40.0.2 18:13:39 decorator==5.1.1 18:13:39 elasticsearch==7.17.9 18:13:39 elasticsearch-dsl==7.4.1 18:13:39 enum34==1.1.10 18:13:39 idna==3.6 18:13:39 importlib-resources==5.4.0 18:13:39 ipaddr==2.2.0 18:13:39 isodate==0.6.1 18:13:39 jmespath==0.10.0 18:13:39 jsonpatch==1.32 18:13:39 jsonpath-rw==1.4.0 18:13:39 jsonpointer==2.3 18:13:39 lxml==4.9.3 18:13:39 netaddr==0.8.0 18:13:39 netifaces==0.11.0 18:13:39 odltools==0.1.28 18:13:39 paramiko==3.3.1 18:13:39 pkg_resources==0.0.0 18:13:39 ply==3.11 18:13:39 pyang==2.6.0 18:13:39 pyangbind==0.8.1 18:13:39 pycparser==2.21 18:13:39 pyhocon==0.3.60 18:13:39 PyNaCl==1.5.0 18:13:39 pyparsing==3.1.1 18:13:39 python-dateutil==2.8.2 18:13:39 regex==2023.8.8 18:13:39 requests==2.27.1 18:13:39 robotframework==6.1.1 18:13:39 robotframework-httplibrary==0.4.2 18:13:39 robotframework-pythonlibcore==3.0.0 18:13:39 robotframework-requests==0.9.4 18:13:39 robotframework-selenium2library==3.0.0 18:13:39 robotframework-seleniumlibrary==5.1.3 18:13:39 robotframework-sshlibrary==3.8.0 18:13:39 scapy==2.5.0 18:13:39 scp==0.14.5 18:13:39 selenium==3.141.0 18:13:39 six==1.16.0 18:13:39 soupsieve==2.3.2.post1 18:13:39 urllib3==1.26.18 18:13:39 waitress==2.0.0 18:13:39 WebOb==1.8.7 18:13:39 WebTest==3.0.0 18:13:39 zipp==3.6.0 18:13:39 ++ mkdir -p /tmp/tmp.uq9R6lmVZ8/src/onap 18:13:39 ++ rm -rf /tmp/tmp.uq9R6lmVZ8/src/onap/testsuite 18:13:39 ++ 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:46 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:46 Uninstall docker-py and reinstall docker. 18:13:46 ++ python3 -m pip uninstall -y -qq docker 18:13:46 ++ python3 -m pip install -U -qq docker 18:13:47 ++ python3 -m pip -qq freeze 18:13:48 bcrypt==4.0.1 18:13:48 beautifulsoup4==4.12.2 18:13:48 bitarray==2.8.4 18:13:48 certifi==2023.11.17 18:13:48 cffi==1.15.1 18:13:48 charset-normalizer==2.0.12 18:13:48 cryptography==40.0.2 18:13:48 decorator==5.1.1 18:13:48 deepdiff==5.7.0 18:13:48 dnspython==2.2.1 18:13:48 docker==5.0.3 18:13:48 elasticsearch==7.17.9 18:13:48 elasticsearch-dsl==7.4.1 18:13:48 enum34==1.1.10 18:13:48 future==0.18.3 18:13:48 idna==3.6 18:13:48 importlib-resources==5.4.0 18:13:48 ipaddr==2.2.0 18:13:48 isodate==0.6.1 18:13:48 Jinja2==3.0.3 18:13:48 jmespath==0.10.0 18:13:48 jsonpatch==1.32 18:13:48 jsonpath-rw==1.4.0 18:13:48 jsonpointer==2.3 18:13:48 kafka-python==2.0.2 18:13:48 lxml==4.9.3 18:13:48 MarkupSafe==2.0.1 18:13:48 more-itertools==5.0.0 18:13:48 netaddr==0.8.0 18:13:48 netifaces==0.11.0 18:13:48 odltools==0.1.28 18:13:48 ordered-set==4.0.2 18:13:48 paramiko==3.3.1 18:13:48 pbr==6.0.0 18:13:48 pkg_resources==0.0.0 18:13:48 ply==3.11 18:13:48 protobuf==3.19.6 18:13:48 pyang==2.6.0 18:13:48 pyangbind==0.8.1 18:13:48 pycparser==2.21 18:13:48 pyhocon==0.3.60 18:13:48 PyNaCl==1.5.0 18:13:48 pyparsing==3.1.1 18:13:48 python-dateutil==2.8.2 18:13:48 PyYAML==6.0.1 18:13:48 regex==2023.8.8 18:13:48 requests==2.27.1 18:13:48 robotframework==6.1.1 18:13:48 robotframework-httplibrary==0.4.2 18:13:48 robotframework-onap==0.6.0.dev105 18:13:48 robotframework-pythonlibcore==3.0.0 18:13:48 robotframework-requests==0.9.4 18:13:48 robotframework-selenium2library==3.0.0 18:13:48 robotframework-seleniumlibrary==5.1.3 18:13:48 robotframework-sshlibrary==3.8.0 18:13:48 robotlibcore-temp==1.0.2 18:13:48 scapy==2.5.0 18:13:48 scp==0.14.5 18:13:48 selenium==3.141.0 18:13:48 six==1.16.0 18:13:48 soupsieve==2.3.2.post1 18:13:48 urllib3==1.26.18 18:13:48 waitress==2.0.0 18:13:48 WebOb==1.8.7 18:13:48 websocket-client==1.3.1 18:13:48 WebTest==3.0.0 18:13:48 zipp==3.6.0 18:13:48 ++ uname 18:13:48 ++ grep -q Linux 18:13:48 ++ sudo apt-get -y -qq install libxml2-utils 18:13:48 + load_set 18:13:48 + _setopts=ehuxB 18:13:48 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:48 ++ tr : ' ' 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o braceexpand 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o hashall 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o interactive-comments 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o nounset 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o xtrace 18:13:48 ++ echo ehuxB 18:13:48 ++ sed 's/./& /g' 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +e 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +h 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +u 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +x 18:13:48 + source_safely /tmp/tmp.uq9R6lmVZ8/bin/activate 18:13:48 + '[' -z /tmp/tmp.uq9R6lmVZ8/bin/activate ']' 18:13:48 + relax_set 18:13:48 + set +e 18:13:48 + set +o pipefail 18:13:48 + . /tmp/tmp.uq9R6lmVZ8/bin/activate 18:13:48 ++ deactivate nondestructive 18:13:48 ++ '[' -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:48 ++ 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:48 ++ export PATH 18:13:48 ++ unset _OLD_VIRTUAL_PATH 18:13:48 ++ '[' -n '' ']' 18:13:48 ++ '[' -n /bin/bash -o -n '' ']' 18:13:48 ++ hash -r 18:13:48 ++ '[' -n '' ']' 18:13:48 ++ unset VIRTUAL_ENV 18:13:48 ++ '[' '!' nondestructive = nondestructive ']' 18:13:48 ++ VIRTUAL_ENV=/tmp/tmp.uq9R6lmVZ8 18:13:48 ++ export VIRTUAL_ENV 18:13:48 ++ _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:48 ++ PATH=/tmp/tmp.uq9R6lmVZ8/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:48 ++ export PATH 18:13:48 ++ '[' -n '' ']' 18:13:48 ++ '[' -z '' ']' 18:13:48 ++ _OLD_VIRTUAL_PS1='(tmp.uq9R6lmVZ8) ' 18:13:48 ++ '[' 'x(tmp.uq9R6lmVZ8) ' '!=' x ']' 18:13:48 ++ PS1='(tmp.uq9R6lmVZ8) (tmp.uq9R6lmVZ8) ' 18:13:48 ++ export PS1 18:13:48 ++ '[' -n /bin/bash -o -n '' ']' 18:13:48 ++ hash -r 18:13:48 + load_set 18:13:48 + _setopts=hxB 18:13:48 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:48 ++ tr : ' ' 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o braceexpand 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o hashall 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o interactive-comments 18:13:48 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:48 + set +o xtrace 18:13:48 ++ echo hxB 18:13:48 ++ sed 's/./& /g' 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +h 18:13:48 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:48 + set +x 18:13:48 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:48 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:48 + export TEST_OPTIONS= 18:13:48 + TEST_OPTIONS= 18:13:48 ++ mktemp -d 18:13:48 + WORKDIR=/tmp/tmp.INQ5FQXAki 18:13:48 + cd /tmp/tmp.INQ5FQXAki 18:13:48 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:48 Configure a credential helper to remove this warning. See 18:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:48 18:13:48 Login Succeeded 18:13:48 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:48 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:48 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:48 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:48 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:48 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:48 + relax_set 18:13:48 + set +e 18:13:48 + set +o pipefail 18:13:48 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:48 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:48 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:48 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:48 +++ GERRIT_BRANCH=montreal 18:13:48 +++ echo GERRIT_BRANCH=montreal 18:13:48 GERRIT_BRANCH=montreal 18:13:48 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:48 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:48 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:48 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:49 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:49 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:49 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:49 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:49 +++ 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:49 +++ 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:49 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:49 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:49 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:49 +++ grafana=false 18:13:49 +++ gui=false 18:13:49 +++ [[ 2 -gt 0 ]] 18:13:49 +++ key=api 18:13:49 +++ case $key in 18:13:49 +++ echo api 18:13:49 api 18:13:49 +++ component=api 18:13:49 +++ shift 18:13:49 +++ [[ 1 -gt 0 ]] 18:13:49 +++ key=--grafana 18:13:49 +++ case $key in 18:13:49 +++ grafana=true 18:13:49 +++ shift 18:13:49 +++ [[ 0 -gt 0 ]] 18:13:49 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:49 +++ echo 'Configuring docker compose...' 18:13:49 Configuring docker compose... 18:13:49 +++ source export-ports.sh 18:13:49 +++ source get-versions.sh 18:13:52 +++ '[' -z api ']' 18:13:52 +++ '[' -n api ']' 18:13:52 +++ '[' api == logs ']' 18:13:52 +++ '[' true = true ']' 18:13:52 +++ echo 'Starting api application with Grafana' 18:13:52 Starting api application with Grafana 18:13:52 +++ docker-compose up -d api grafana 18:13:52 Creating network "compose_default" with the default driver 18:13:53 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:13:53 10.10.2: Pulling from mariadb 18:13:58 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:13:58 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:13:58 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT)... 18:13:58 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator 18:14:02 Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca 18:14:02 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT 18:14:02 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 18:14:02 3.0.3-SNAPSHOT: Pulling from onap/policy-api 18:14:04 Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea 18:14:04 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT 18:14:04 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:04 latest: Pulling from prom/prometheus 18:14:08 Digest: sha256:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e 18:14:08 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:08 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:08 latest: Pulling from grafana/grafana 18:14:13 Digest: sha256:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f 18:14:13 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:13 Creating prometheus ... 18:14:13 Creating mariadb ... 18:14:29 Creating mariadb ... done 18:14:29 Creating policy-db-migrator ... 18:14:30 Creating policy-db-migrator ... done 18:14:30 Creating policy-api ... 18:14:31 Creating policy-api ... done 18:14:32 Creating prometheus ... done 18:14:32 Creating grafana ... 18:14:33 Creating grafana ... done 18:14:33 +++ echo 'Prometheus server: http://localhost:30259' 18:14:33 Prometheus server: http://localhost:30259 18:14:33 +++ echo 'Grafana server: http://localhost:30269' 18:14:33 Grafana server: http://localhost:30269 18:14:33 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:33 ++ sleep 10 18:14:43 ++ unset http_proxy https_proxy 18:14:43 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:43 Waiting for REST to come up on localhost port 30002... 18:14:43 NAMES STATUS 18:14:43 grafana Up 10 seconds 18:14:43 policy-api Up 12 seconds 18:14:43 policy-db-migrator Up 13 seconds 18:14:43 prometheus Up 11 seconds 18:14:43 mariadb Up 14 seconds 18:14:48 NAMES STATUS 18:14:48 grafana Up 15 seconds 18:14:48 policy-api Up 17 seconds 18:14:48 prometheus Up 16 seconds 18:14:48 mariadb Up 19 seconds 18:14:53 NAMES STATUS 18:14:53 grafana Up 20 seconds 18:14:53 policy-api Up 22 seconds 18:14:53 prometheus Up 21 seconds 18:14:53 mariadb Up 24 seconds 18:14:58 NAMES STATUS 18:14:58 grafana Up 25 seconds 18:14:58 policy-api Up 27 seconds 18:14:58 prometheus Up 26 seconds 18:14:58 mariadb Up 29 seconds 18:14:58 ++ export 'SUITES=api-test.robot 18:14:58 api-slas.robot' 18:14:58 ++ SUITES='api-test.robot 18:14:58 api-slas.robot' 18:14:58 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:58 -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:58 + load_set 18:14:58 + _setopts=hxB 18:14:58 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:14:58 ++ tr : ' ' 18:14:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:58 + set +o braceexpand 18:14:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:58 + set +o hashall 18:14:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:58 + set +o interactive-comments 18:14:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:58 + set +o xtrace 18:14:58 ++ echo hxB 18:14:58 ++ sed 's/./& /g' 18:14:58 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:58 + set +h 18:14:58 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:58 + set +x 18:14:58 + docker_stats 18:14:58 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:14:58 ++ uname -s 18:14:58 + '[' Linux == Darwin ']' 18:14:58 + sh -c 'top -bn1 | head -3' 18:14:58 top - 18:14:58 up 3 min, 0 users, load average: 2.45, 1.02, 0.40 18:14:58 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 18:14:58 %Cpu(s): 10.6 us, 2.1 sy, 0.0 ni, 82.7 id, 4.5 wa, 0.0 hi, 0.0 si, 0.0 st 18:14:58 + echo 18:14:58 18:14:58 + sh -c 'free -h' 18:14:58 total used free shared buff/cache available 18:14:58 Mem: 31G 1.5G 25G 1.0M 4.0G 29G 18:14:58 Swap: 1.0G 0B 1.0G 18:14:58 + echo 18:14:58 18:14:58 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:14:58 NAMES STATUS 18:14:58 grafana Up 25 seconds 18:14:58 policy-api Up 27 seconds 18:14:58 prometheus Up 26 seconds 18:14:58 mariadb Up 29 seconds 18:14:58 + echo 18:14:58 18:14:58 + docker stats --no-stream 18:15:01 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:15:01 11cf8a830379 grafana 0.19% 95.64MiB / 31.41GiB 0.30% 18.2kB / 3.16kB 0B / 23.4MB 20 18:15:01 17c56c19cae7 policy-api 0.11% 524.6MiB / 31.41GiB 1.63% 999kB / 710kB 0B / 0B 58 18:15:01 cbaab1c85cf2 prometheus 0.00% 18.42MiB / 31.41GiB 0.06% 990B / 158B 0B / 0B 12 18:15:01 35dd7b79d9f3 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 68.2MB 27 18:15:01 + echo 18:15:01 18:15:01 + cd /tmp/tmp.INQ5FQXAki 18:15:01 + echo 'Reading the testplan:' 18:15:01 Reading the testplan: 18:15:01 + echo 'api-test.robot 18:15:01 api-slas.robot' 18:15:01 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:15:01 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:15:01 + cat testplan.txt 18:15:01 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:15:01 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:01 ++ xargs 18:15:01 + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' 18:15:01 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:01 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:15:01 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:01 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:15:01 + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' 18:15:01 Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... 18:15:01 + relax_set 18:15:01 + set +e 18:15:01 + set +o pipefail 18:15:01 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:01 ============================================================================== 18:15:01 api 18:15:01 ============================================================================== 18:15:01 api.Api-Test 18:15:01 ============================================================================== 18:15:01 Healthcheck :: Verify policy api health check | PASS | 18:15:01 ------------------------------------------------------------------------------ 18:15:04 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:15:04 ------------------------------------------------------------------------------ 18:15:04 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:15:04 ------------------------------------------------------------------------------ 18:15:04 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:15:04 ------------------------------------------------------------------------------ 18:15:05 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:15:05 ------------------------------------------------------------------------------ 18:15:06 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:06 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:06 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:07 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:15:07 ------------------------------------------------------------------------------ 18:15:07 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:15:07 ------------------------------------------------------------------------------ 18:15:08 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:10 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 api.Api-Test | PASS | 18:15:10 22 tests, 22 passed, 0 failed 18:15:10 ============================================================================== 18:15:10 api.Api-Slas 18:15:10 ============================================================================== 18:16:10 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:10 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:16:10 ------------------------------------------------------------------------------ 18:16:11 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:16:11 ------------------------------------------------------------------------------ 18:16:11 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:16:11 ------------------------------------------------------------------------------ 18:16:11 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:16:11 ------------------------------------------------------------------------------ 18:16:11 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:16:11 ------------------------------------------------------------------------------ 18:16:11 api.Api-Slas | PASS | 18:16:11 9 tests, 9 passed, 0 failed 18:16:11 ============================================================================== 18:16:11 api | PASS | 18:16:11 31 tests, 31 passed, 0 failed 18:16:11 ============================================================================== 18:16:11 Output: /tmp/tmp.INQ5FQXAki/output.xml 18:16:11 Log: /tmp/tmp.INQ5FQXAki/log.html 18:16:11 Report: /tmp/tmp.INQ5FQXAki/report.html 18:16:11 + RESULT=0 18:16:11 + load_set 18:16:11 + _setopts=hxB 18:16:11 ++ tr : ' ' 18:16:11 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:11 + set +o braceexpand 18:16:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:11 + set +o hashall 18:16:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:11 + set +o interactive-comments 18:16:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:11 + set +o xtrace 18:16:11 ++ echo hxB 18:16:11 ++ sed 's/./& /g' 18:16:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:11 + set +h 18:16:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:11 + set +x 18:16:11 + echo 'RESULT: 0' 18:16:11 RESULT: 0 18:16:11 + exit 0 18:16:11 + on_exit 18:16:11 + rc=0 18:16:11 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:16:11 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:11 NAMES STATUS 18:16:11 grafana Up About a minute 18:16:11 policy-api Up About a minute 18:16:11 prometheus Up About a minute 18:16:11 mariadb Up About a minute 18:16:11 + docker_stats 18:16:11 ++ uname -s 18:16:11 + '[' Linux == Darwin ']' 18:16:11 + sh -c 'top -bn1 | head -3' 18:16:11 top - 18:16:11 up 5 min, 0 users, load average: 0.94, 0.90, 0.41 18:16:11 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 18:16:11 %Cpu(s): 9.0 us, 1.7 sy, 0.0 ni, 85.4 id, 3.8 wa, 0.0 hi, 0.0 si, 0.0 st 18:16:11 + echo 18:16:11 18:16:11 + sh -c 'free -h' 18:16:11 total used free shared buff/cache available 18:16:11 Mem: 31G 1.8G 25G 1.0M 4.0G 29G 18:16:11 Swap: 1.0G 0B 1.0G 18:16:11 + echo 18:16:11 18:16:11 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:11 NAMES STATUS 18:16:11 grafana Up About a minute 18:16:11 policy-api Up About a minute 18:16:11 prometheus Up About a minute 18:16:11 mariadb Up About a minute 18:16:11 + echo 18:16:11 18:16:11 + docker stats --no-stream 18:16:14 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:16:14 11cf8a830379 grafana 0.03% 95.98MiB / 31.41GiB 0.30% 19.4kB / 4.39kB 0B / 23.4MB 20 18:16:14 17c56c19cae7 policy-api 0.16% 849.9MiB / 31.41GiB 2.64% 7.01MB / 2.55MB 0B / 0B 57 18:16:14 cbaab1c85cf2 prometheus 0.00% 23.59MiB / 31.41GiB 0.07% 54.9kB / 6.57kB 0B / 0B 12 18:16:14 35dd7b79d9f3 mariadb 0.02% 101.9MiB / 31.41GiB 0.32% 2.39MB / 7.05MB 11MB / 68.5MB 18 18:16:14 + echo 18:16:14 18:16:14 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:14 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:16:14 + relax_set 18:16:14 + set +e 18:16:14 + set +o pipefail 18:16:14 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:14 ++ echo 'Shut down started!' 18:16:14 Shut down started! 18:16:14 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:14 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:16:14 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:16:14 ++ source export-ports.sh 18:16:14 ++ source get-versions.sh 18:16:16 ++ echo 'Collecting logs from docker compose containers...' 18:16:16 Collecting logs from docker compose containers... 18:16:16 ++ docker-compose logs 18:16:17 ++ cat docker_compose.log 18:16:17 Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb 18:16:17 policy-api | Waiting for mariadb port 3306... 18:16:17 policy-api | mariadb (172.17.0.2:3306) open 18:16:17 policy-api | Waiting for policy-db-migrator port 6824... 18:16:17 policy-api | policy-db-migrator (172.17.0.4:6824) open 18:16:17 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:17 policy-api | 18:16:17 policy-api | . ____ _ __ _ _ 18:16:17 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:17 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:17 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:17 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:17 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:17 policy-api | :: Spring Boot :: (v3.1.4) 18:16:17 policy-api | 18:16:17 policy-api | [2023-12-04T18:14:45.359+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 23 (/app/api.jar started by policy in /opt/app/policy/api/bin) 18:16:17 policy-api | [2023-12-04T18:14:45.361+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:17 policy-api | [2023-12-04T18:14:47.179+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:17 policy-api | [2023-12-04T18:14:47.275+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 83 ms. Found 6 JPA repository interfaces. 18:16:17 policy-api | [2023-12-04T18:14:47.695+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:17 policy-api | [2023-12-04T18:14:47.696+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:17 policy-api | [2023-12-04T18:14:48.447+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:17 policy-api | [2023-12-04T18:14:48.457+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:17 policy-api | [2023-12-04T18:14:48.458+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:17 policy-api | [2023-12-04T18:14:48.459+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:17 policy-api | [2023-12-04T18:14:48.544+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:17 policy-api | [2023-12-04T18:14:48.545+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3067 ms 18:16:17 policy-api | [2023-12-04T18:14:48.941+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:17 policy-api | [2023-12-04T18:14:49.032+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:17 policy-api | [2023-12-04T18:14:49.035+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:17 policy-api | [2023-12-04T18:14:49.083+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:17 policy-api | [2023-12-04T18:14:49.405+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:17 policy-api | [2023-12-04T18:14:49.425+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:17 policy-api | [2023-12-04T18:14:49.560+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b 18:16:17 policy-api | [2023-12-04T18:14:49.563+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:17 policy-api | [2023-12-04T18:14:49.603+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:17 policy-api | [2023-12-04T18:14:49.605+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:17 policy-api | [2023-12-04T18:14:51.579+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:17 policy-api | [2023-12-04T18:14:51.582+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:17 policy-api | [2023-12-04T18:14:52.822+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:17 policy-api | [2023-12-04T18:14:53.653+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:17 policy-api | [2023-12-04T18:14:54.820+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:17 policy-api | [2023-12-04T18:14:55.034+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@63f95ac1, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@14a7e16e, org.springframework.security.web.context.SecurityContextHolderFilter@6e04275e, org.springframework.security.web.header.HeaderWriterFilter@2986e26f, org.springframework.security.web.authentication.logout.LogoutFilter@c9f1951, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@13e6b26c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@453ef145, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3edd135d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@59171a5d, org.springframework.security.web.access.ExceptionTranslationFilter@19a7e618, org.springframework.security.web.access.intercept.AuthorizationFilter@d181ca3] 18:16:17 policy-api | [2023-12-04T18:14:55.871+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:17 policy-api | [2023-12-04T18:14:55.926+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:17 policy-api | [2023-12-04T18:14:55.951+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:17 policy-api | [2023-12-04T18:14:55.969+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.325 seconds (process running for 11.929) 18:16:17 policy-api | [2023-12-04T18:15:01.629+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:17 policy-api | [2023-12-04T18:15:01.629+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 18:16:17 policy-api | [2023-12-04T18:15:01.630+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 18:16:17 policy-api | [2023-12-04T18:15:04.506+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 18:16:17 policy-api | [] 18:16:17 policy-api | [2023-12-04T18:15:04.621+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 18:16:17 policy-api | [2023-12-04T18:15:04.965+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 18:16:17 policy-api | [2023-12-04T18:15:06.747+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 18:16:17 policy-api | [2023-12-04T18:15:09.121+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:17 policy-api | [2023-12-04T18:15:09.528+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:17 policy-api | [2023-12-04T18:15:09.926+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:17 policy-api | [2023-12-04T18:15:10.191+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:17 policy-api | [2023-12-04T18:15:10.434+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:17 policy-api | [2023-12-04T18:15:10.779+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.325808624Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.325997017Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326007968Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326011838Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326015178Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326018468Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326021838Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326040268Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326052018Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326056029Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326060019Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326064909Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.326095579Z level=info msg=Target target=[all] 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.32611454Z level=info msg="Path Home" path=/usr/share/grafana 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.32611867Z level=info msg="Path Data" path=/var/lib/grafana 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.32612327Z level=info msg="Path Logs" path=/var/log/grafana 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.32612647Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.32612982Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:17 grafana | logger=settings t=2023-12-04T18:14:33.32613356Z level=info msg="App mode production" 18:16:17 grafana | logger=sqlstore t=2023-12-04T18:14:33.326496507Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:17 grafana | logger=sqlstore t=2023-12-04T18:14:33.326517658Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.327228062Z level=info msg="Starting DB migrations" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.328201012Z level=info msg="Executing migration" id="create migration_log table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.328969367Z level=info msg="Migration successfully executed" id="create migration_log table" duration=767.835µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.341893827Z level=info msg="Executing migration" id="create user table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.34248125Z level=info msg="Migration successfully executed" id="create user table" duration=588.073µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.345441959Z level=info msg="Executing migration" id="add unique index user.login" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.346677044Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.234845ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.34999919Z level=info msg="Executing migration" id="add unique index user.email" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.351239476Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.240156ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.354399579Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.355472091Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.072802ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.360644665Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.361354229Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=706.914µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.364176226Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.366981222Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.802006ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.369811209Z level=info msg="Executing migration" id="create user table v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.370625177Z level=info msg="Migration successfully executed" id="create user table v2" duration=813.367µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.375417722Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.376181418Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=763.436µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.378873243Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.379616897Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=742.034µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.382247571Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.382700499Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=452.189µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.387858044Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.388820753Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=962.309µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.394981967Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.396962387Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.979331ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.400240063Z level=info msg="Executing migration" id="Update user table charset" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.400287043Z level=info msg="Migration successfully executed" id="Update user table charset" duration=50.701µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.404452158Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.405594931Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.141932ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.41001367Z level=info msg="Executing migration" id="Add missing user data" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.410313406Z level=info msg="Migration successfully executed" id="Add missing user data" duration=299.706µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.41297386Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.414171973Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.197544ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.47606428Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.477285455Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.220935ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.480349707Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.482298216Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.947709ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.487417859Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.500578814Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=13.161615ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.50438018Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.504965793Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=582.193µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.508548795Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.509355601Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=806.816µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.543003519Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.544315356Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.311446ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.548375757Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.549624083Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.251296ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.553660974Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.554927459Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.266275ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.594605989Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.594643279Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=38.65µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.598930175Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.600052389Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.122453ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.60361956Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.604722542Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.102882ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.61008304Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.611076961Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=993.82µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.627317747Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.628848618Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.529911ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.639456892Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.645520724Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=6.066182ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.656361883Z level=info msg="Executing migration" id="create temp_user v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.657484895Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.125262ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.664331853Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.665463486Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.135053ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.676396696Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.67758389Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.186284ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.681401877Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.68253264Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.131233ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.685070751Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.685801235Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=730.224µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.692209434Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.692578732Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=369.298µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.695404649Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.69592072Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=515.671µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.698769227Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.699118514Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=349.397µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.705784188Z level=info msg="Executing migration" id="create star table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.706763298Z level=info msg="Migration successfully executed" id="create star table" duration=976.8µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.710740548Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.711471152Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=730.254µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.714391561Z level=info msg="Executing migration" id="create org table v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.715160047Z level=info msg="Migration successfully executed" id="create org table v1" duration=768.456µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.720514655Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:17 mariadb | 2023-12-04 18:14:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:17 mariadb | 2023-12-04 18:14:29+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:17 mariadb | 2023-12-04 18:14:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:17 mariadb | 2023-12-04 18:14:29+00:00 [Note] [Entrypoint]: Initializing database files 18:16:17 mariadb | 2023-12-04 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:17 mariadb | 2023-12-04 18:14:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:17 mariadb | 2023-12-04 18:14:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:17 mariadb | 18:16:17 mariadb | 18:16:17 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:17 mariadb | To do so, start the server, then issue the following command: 18:16:17 mariadb | 18:16:17 mariadb | '/usr/bin/mysql_secure_installation' 18:16:17 mariadb | 18:16:17 mariadb | which will also give you the option of removing the test 18:16:17 mariadb | databases and anonymous user created by default. This is 18:16:17 mariadb | strongly recommended for production servers. 18:16:17 mariadb | 18:16:17 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:17 mariadb | 18:16:17 mariadb | Please report any problems at https://mariadb.org/jira 18:16:17 mariadb | 18:16:17 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:17 mariadb | 18:16:17 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:17 mariadb | https://mariadb.org/get-involved/ 18:16:17 mariadb | 18:16:17 mariadb | 2023-12-04 18:14:31+00:00 [Note] [Entrypoint]: Database files initialized 18:16:17 mariadb | 2023-12-04 18:14:31+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:17 mariadb | 2023-12-04 18:14:31+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... 18:16:17 policy-db-migrator | Waiting for mariadb port 3306... 18:16:17 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:17 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:17 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:17 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:17 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:17 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused 18:16:17 policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! 18:16:17 policy-db-migrator | 321 blocks 18:16:17 policy-db-migrator | Preparing upgrade release version: 0800 18:16:17 policy-db-migrator | Preparing upgrade release version: 0900 18:16:17 policy-db-migrator | Preparing upgrade release version: 1000 18:16:17 policy-db-migrator | Preparing upgrade release version: 1100 18:16:17 policy-db-migrator | Preparing upgrade release version: 1200 18:16:17 policy-db-migrator | Preparing upgrade release version: 1300 18:16:17 policy-db-migrator | Done 18:16:17 policy-db-migrator | name version 18:16:17 policy-db-migrator | policyadmin 0 18:16:17 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:17 policy-db-migrator | upgrade: 0 -> 1300 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.721704579Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.190014ms 18:16:17 policy-db-migrator | 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: Number of transaction pools: 1 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.72673558Z level=info msg="Executing migration" id="create org_user table v1" 18:16:17 prometheus | ts=2023-12-04T18:14:32.174Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:17 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.727779651Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.043651ms 18:16:17 prometheus | ts=2023-12-04T18:14:32.174Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" 18:16:17 policy-db-migrator | -------------- 18:16:17 prometheus | ts=2023-12-04T18:14:32.174Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.731272511Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:17 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:17 prometheus | ts=2023-12-04T18:14:32.174Z caller=main.go:589 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:17 mariadb | 2023-12-04 18:14:31 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.732568598Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.296127ms 18:16:17 policy-db-migrator | -------------- 18:16:17 prometheus | ts=2023-12-04T18:14:32.174Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.7356824Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:17 policy-db-migrator | 18:16:17 prometheus | ts=2023-12-04T18:14:32.174Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.736423745Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=740.615µs 18:16:17 policy-db-migrator | 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.739453486Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:17 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:17 prometheus | ts=2023-12-04T18:14:32.177Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.740178801Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=724.945µs 18:16:17 policy-db-migrator | -------------- 18:16:17 prometheus | ts=2023-12-04T18:14:32.178Z caller=main.go:1024 level=info msg="Starting TSDB ..." 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: 128 rollback segments are active. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.745672112Z level=info msg="Executing migration" id="Update org table charset" 18:16:17 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:17 prometheus | ts=2023-12-04T18:14:32.180Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.745719463Z level=info msg="Migration successfully executed" id="Update org table charset" duration=51.641µs 18:16:17 policy-db-migrator | -------------- 18:16:17 prometheus | ts=2023-12-04T18:14:32.180Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.749405737Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:17 policy-db-migrator | 18:16:17 prometheus | ts=2023-12-04T18:14:32.182Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.749446318Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=42.711µs 18:16:17 policy-db-migrator | 18:16:17 prometheus | ts=2023-12-04T18:14:32.182Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.47µs 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.752866116Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:17 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:17 prometheus | ts=2023-12-04T18:14:32.182Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.753128262Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=262.876µs 18:16:17 policy-db-migrator | -------------- 18:16:17 prometheus | ts=2023-12-04T18:14:32.182Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.756566511Z level=info msg="Executing migration" id="create dashboard table" 18:16:17 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:17 prometheus | ts=2023-12-04T18:14:32.182Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=25.5µs wal_replay_duration=325.687µs wbl_replay_duration=150ns total_replay_duration=374.369µs 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.75799134Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.424179ms 18:16:17 policy-db-migrator | -------------- 18:16:17 prometheus | ts=2023-12-04T18:14:32.184Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC 18:16:17 mariadb | 2023-12-04 18:14:31 0 [Note] mariadbd: ready for connections. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.763237776Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:17 policy-db-migrator | 18:16:17 prometheus | ts=2023-12-04T18:14:32.184Z caller=main.go:1048 level=info msg="TSDB started" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:33.764529371Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.291215ms 18:16:17 policy-db-migrator | 18:16:17 prometheus | ts=2023-12-04T18:14:32.184Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:17 mariadb | 2023-12-04 18:14:32+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.768614484Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:17 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:17 prometheus | ts=2023-12-04T18:14:32.188Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=4.516722ms db_storage=1.22µs remote_storage=2.09µs web_handler=590ns query_engine=950ns scrape=3.616984ms scrape_sd=189.504µs notify=124.443µs notify_sd=58.631µs rules=2.37µs tracing=8.4µs 18:16:17 mariadb | 2023-12-04 18:14:33+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:17 mariadb | 2023-12-04 18:14:33+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.770248616Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.631682ms 18:16:17 prometheus | ts=2023-12-04T18:14:32.188Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 prometheus | ts=2023-12-04T18:14:32.188Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.773232976Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.773933191Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=699.825µs 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:33.779915322Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.781163826Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.244244ms 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.784559005Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.786158327Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.598932ms 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.789943723Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.79670464Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.759977ms 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:33.802238281Z level=info msg="Executing migration" id="create dashboard v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.802907925Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=668.794µs 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.807081108Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:33.809278443Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=2.197135ms 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.813531749Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.814669781Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.138962ms 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.822089081Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.822620902Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=531.361µs 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.826256755Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.827163694Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=905.679µs 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.830182084Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:17 policy-db-migrator | 18:16:17 mariadb | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.830249406Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=67.422µs 18:16:17 mariadb | 2023-12-04 18:14:33+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:17 mariadb | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.837232196Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:17 mariadb | 2023-12-04 18:14:33+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:17 mariadb | #!/bin/bash -xv 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.840500552Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.271815ms 18:16:17 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:17 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.846715848Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:17 mariadb | # 18:16:17 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.849192638Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.476779ms 18:16:17 mariadb | # you may not use this file except in compliance with the License. 18:16:17 mariadb | # You may obtain a copy of the License at 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.854550675Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:17 mariadb | # 18:16:17 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.856418533Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.867628ms 18:16:17 mariadb | # 18:16:17 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.860951974Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:17 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:17 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.86176187Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=809.786µs 18:16:17 mariadb | # See the License for the specific language governing permissions and 18:16:17 mariadb | # limitations under the License. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.867604408Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:17 mariadb | 18:16:17 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.870330973Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.724825ms 18:16:17 mariadb | do 18:16:17 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.87461631Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:17 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:17 mariadb | done 18:16:17 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:17 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:17 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:17 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.875914765Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.299315ms 18:16:17 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:17 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.881357665Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:17 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:17 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.882137231Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=779.135µs 18:16:17 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:17 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.889593581Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:17 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:17 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.889620182Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=26.941µs 18:16:17 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:17 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.895087562Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:17 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:17 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.895126443Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=40.54µs 18:16:17 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:17 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.930931964Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:17 mariadb | 18:16:17 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.936084598Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=5.150014ms 18:16:17 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:17 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.943204431Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:17 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:17 mariadb | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.945226212Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.021521ms 18:16:17 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.950837535Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.952745343Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.905878ms 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.957458488Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:17 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.961091791Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.633123ms 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.968804657Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.968950609Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=145.943µs 18:16:17 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.971431619Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.97198545Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=551.711µs 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.978576954Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:17 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.979662855Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.085841ms 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.984443682Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.984480903Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=38.131µs 18:16:17 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.990988033Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.992591956Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.603263ms 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.999304971Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:17 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:33.999931663Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=626.492µs 18:16:17 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.006774302Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.018030536Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=11.253894ms 18:16:17 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.027891061Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.028536725Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=647.794µs 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.032011864Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:17 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.032778799Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=766.665µs 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.040257998Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.041281178Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.0228ms 18:16:17 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.050489571Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.050995742Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=506.761µs 18:16:17 policy-db-migrator | 18:16:17 mariadb | 2023-12-04 18:14:34+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.056851959Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:17 mariadb | 2023-12-04 18:14:34 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:17 mariadb | 2023-12-04 18:14:34 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.058190525Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.335527ms 18:16:17 mariadb | 2023-12-04 18:14:34 0 [Note] InnoDB: Starting shutdown... 18:16:17 mariadb | 2023-12-04 18:14:34 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.06244655Z level=info msg="Executing migration" id="Add check_sum column" 18:16:17 mariadb | 2023-12-04 18:14:34 0 [Note] InnoDB: Buffer pool(s) dump completed at 231204 18:14:34 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.064528391Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.082011ms 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Shutdown completed; log sequence number 324199; transaction id 298 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] mariadbd: Shutdown complete 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.072265465Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:17 mariadb | 18:16:17 mariadb | 2023-12-04 18:14:35+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.073130932Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=865.377µs 18:16:17 mariadb | 18:16:17 mariadb | 2023-12-04 18:14:35+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.08202293Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:17 mariadb | 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.082325616Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=303.485µs 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Number of transaction pools: 1 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.08658752Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.086873445Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=286.825µs 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.091643321Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.093006668Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.363317ms 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: 128 rollback segments are active. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.097880215Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.100241722Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.362797ms 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: log sequence number 324199; transaction id 299 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.109428954Z level=info msg="Executing migration" id="create data_source table" 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.110849533Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.420259ms 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] Server socket created on IP: '::'. 18:16:17 mariadb | 2023-12-04 18:14:35 0 [Note] mariadbd: ready for connections. 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.116087028Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:17 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:17 mariadb | 2023-12-04 18:14:35 0 [Note] InnoDB: Buffer pool(s) load completed at 231204 18:14:35 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.116977625Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=891.757µs 18:16:17 mariadb | 2023-12-04 18:14:36 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:17 mariadb | 2023-12-04 18:14:36 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.121883843Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.123017835Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.167213ms 18:16:17 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.131045155Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.131767729Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=722.754µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.138846811Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.139946332Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.098842ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.145161746Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.156083333Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.923077ms 18:16:17 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.161800547Z level=info msg="Executing migration" id="create data_source table v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.162604293Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=803.136µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.168063042Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.168871319Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=807.976µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.172392388Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.173170224Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=777.256µs 18:16:17 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.178953519Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.179714343Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=760.054µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.185604162Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.189297795Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.692903ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.193247343Z level=info msg="Executing migration" id="Add secure json data column" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.195674992Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.429928ms 18:16:17 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.198566429Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.198584929Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=19.14µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.204893355Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.205032948Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=139.603µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.20917721Z level=info msg="Executing migration" id="Add read_only data column" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.210850314Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=1.672924ms 18:16:17 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.214720101Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.214881814Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=160.093µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.253637136Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.253975332Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=394.927µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.259134265Z level=info msg="Executing migration" id="Add uid column" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.261748427Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.614772ms 18:16:17 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.26543344Z level=info msg="Executing migration" id="Update uid value" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.265627004Z level=info msg="Migration successfully executed" id="Update uid value" duration=193.204µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.26842225Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.269212895Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=790.275µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.274433989Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.275223466Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=786.657µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.28251936Z level=info msg="Executing migration" id="create api_key table" 18:16:17 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.284061861Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.542421ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.289146203Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.290678683Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.53188ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.295595971Z level=info msg="Executing migration" id="add index api_key.key" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.296825455Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.229014ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.303630041Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:17 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.304874085Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.244664ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.311797984Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.313006367Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.205463ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.318505107Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.319645939Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.143072ms 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.327481375Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.328182129Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=700.594µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.332193999Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.343932373Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.738954ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.348026315Z level=info msg="Executing migration" id="create api_key table v2" 18:16:17 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.348594296Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=567.591µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.357272729Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.358065814Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=793.015µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.369177675Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.370663156Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.4852ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.375418459Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:17 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.377663134Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=2.244695ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.383821587Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.384142103Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=320.456µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.393737635Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.394280265Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=540.24µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.402973248Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:17 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.403011129Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.991µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.407627181Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.41110219Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.476499ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.420916996Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.424890935Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.973289ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.430932875Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:17 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.431163929Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=232.944µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.43621932Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.439088847Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.868807ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.442015795Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.444519195Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.51296ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.45226565Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:17 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.452960333Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=693.913µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.457064125Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.458482753Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.418508ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.464665336Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.465418011Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=751.935µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.471803829Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:17 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.473257697Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.448068ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.480753767Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.481833238Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.080231ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.485145525Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.485966041Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=820.116µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.490971711Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:17 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.491031602Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=58.371µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.493928469Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.49394865Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=20.871µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.498353837Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.503272295Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.916338ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.510203903Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:17 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.515326345Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=5.122963ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.519790854Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.519853305Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=62.911µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.524501768Z level=info msg="Executing migration" id="create quota table v1" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.526103449Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.601201ms 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.53316313Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.534578788Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.414088ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.541399234Z level=info msg="Executing migration" id="Update quota table charset" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.541422355Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=21.831µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.553669218Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.555107626Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.437938ms 18:16:17 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.559732839Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.560531384Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=798.285µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.569555895Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.574455442Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.899117ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.580309808Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.58036089Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=51.682µs 18:16:17 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.583616845Z level=info msg="Executing migration" id="create session table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.584534893Z level=info msg="Migration successfully executed" id="create session table" duration=917.088µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.587642104Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.587716926Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=75.082µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.592201176Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.592274517Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=73.901µs 18:16:17 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.595716245Z level=info msg="Executing migration" id="create playlist table v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.596728975Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.01096ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.600483741Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.601550871Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.066481ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.606144043Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.606185934Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=41.631µs 18:16:17 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.610172403Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.610196633Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=22.68µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.613645572Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.61655477Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.908608ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.619749554Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.622733553Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.983259ms 18:16:17 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.626791624Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.626866125Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=74.711µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.629575119Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.629646841Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=71.822µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.633235532Z level=info msg="Executing migration" id="create preferences table v3" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.634174921Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=938.809µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.638489157Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.638511077Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=23.981µs 18:16:17 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.641746481Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.644751941Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.00491ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.648223181Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.648371524Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=148.983µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.65171978Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.654892823Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.172823ms 18:16:17 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.659374353Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.6652752Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.898297ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.668950483Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.669130137Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=179.743µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.672576155Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.673700178Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.123763ms 18:16:17 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.679368371Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.680298149Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=929.948µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.683561714Z level=info msg="Executing migration" id="create alert table v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.685163636Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.600902ms 18:16:17 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.688739537Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.690424321Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.684534ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.695738997Z level=info msg="Executing migration" id="add index alert state" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.696621034Z level=info msg="Migration successfully executed" id="add index alert state" duration=881.887µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.699646304Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.700504541Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=858.407µs 18:16:17 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.70345649Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.704099633Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=642.553µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.708801716Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.709844137Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.042101ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.712817897Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.714234534Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.416607ms 18:16:17 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.717646783Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.731289554Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.643341ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.73660578Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.73711902Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=512.77µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.739957926Z 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:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.740958477Z 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=997.881µs 18:16:17 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.744543928Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.745109859Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=566.071µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.750569788Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.751146959Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=576.461µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.754104409Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.754825953Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=720.774µs 18:16:17 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.757630509Z level=info msg="Executing migration" id="Add column is_default" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.761046116Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.415607ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.766367293Z level=info msg="Executing migration" id="Add column frequency" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.769917033Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.549091ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.772606076Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.776089506Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.48273ms 18:16:17 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.78080047Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.784500213Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.699813ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.795339959Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.796803189Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.460819ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.804589514Z level=info msg="Executing migration" id="Update alert table charset" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.804661745Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=72.401µs 18:16:17 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.811586013Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.811656524Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=71.102µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.81946339Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.820706684Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.242565ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.884506464Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.885974364Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.47359ms 18:16:17 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.925403769Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.926957589Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.55701ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.936362087Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.937807785Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.443698ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.977399323Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.979096977Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.697724ms 18:16:17 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.986417162Z level=info msg="Executing migration" id="Add for to alert table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.99030323Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.888428ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:34.994142487Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:34.997917722Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.774656ms 18:16:17 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.001794799Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.002172917Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=377.357µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.008596138Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.009621837Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.026239ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.01360386Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.015086588Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.482528ms 18:16:17 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.018938468Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.024231845Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.293727ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.030389828Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.030553701Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=116.692µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.034785749Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.035807478Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.016029ms 18:16:17 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.039102048Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.040152198Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.04974ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.044982096Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.045106918Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=124.272µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.048533262Z level=info msg="Executing migration" id="create annotation table v5" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.049448788Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=914.826µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.052956843Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.054107604Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.150902ms 18:16:17 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.057351244Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.058334351Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=982.847µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.062892785Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.064147578Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.249193ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.06805995Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.069779781Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.718971ms 18:16:17 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.076070937Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.077048635Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=980.929µs 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.08006317Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.080090031Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=29.791µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.084354109Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.090862789Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.50834ms 18:16:17 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.196575119Z level=info msg="Executing migration" id="Drop category_id index" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.19828021Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.708261ms 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.201864816Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.207165763Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.301597ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.238943157Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.240076438Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.132781ms 18:16:17 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.245339634Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.246821201Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.481127ms 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.250333516Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.251825673Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.490657ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.255691835Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.274238935Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.54554ms 18:16:17 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.280107902Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.280632282Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=523.2µs 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.284144337Z 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:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.285768096Z 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.623709ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.289504015Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.290047725Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=543.09µs 18:16:17 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.29522251Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.295849382Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=626.092µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.299102251Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.299370066Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=267.305µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.303794288Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:17 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.310585212Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.790594ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.314566956Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.318732602Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.165166ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.326484714Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.327442881Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=956.307µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.33114012Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:17 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.332511775Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.371365ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.34211016Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.342424397Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=314.197µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.349195661Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.353555481Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.36131ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.356605777Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:17 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.357599405Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=993.038µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.360739623Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.360967397Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=227.084µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.366228464Z level=info msg="Executing migration" id="Move region to single row" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.366677712Z level=info msg="Migration successfully executed" id="Move region to single row" duration=449.259µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.372399087Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:17 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.373762412Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.363115ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.37748552Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.378766624Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.281434ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.384171882Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.385918995Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.746043ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.390425468Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:17 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.391783213Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.357954ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.395126514Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:17 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.396132263Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.005029ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.400822398Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.401897919Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.075411ms 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.404937344Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.405019996Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=83.022µs 18:16:17 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.40851085Z level=info msg="Executing migration" id="create test_data table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.409515338Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.005178ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.414384857Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.414966528Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=582.181µs 18:16:17 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.418159927Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.419045103Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=885.396µs 18:16:17 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.422649229Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.423540645Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=891.096µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.427993147Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.428188951Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=195.904µs 18:16:17 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.431257237Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.431605363Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=348.136µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.434032538Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.43412864Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=96.922µs 18:16:17 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.437673916Z level=info msg="Executing migration" id="create team table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.438880327Z level=info msg="Migration successfully executed" id="create team table" duration=1.205722ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.445085051Z level=info msg="Executing migration" id="add index team.org_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.44607789Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.084781ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.449081095Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.450303037Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.219932ms 18:16:17 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.453536786Z level=info msg="Executing migration" id="Add column uid in team" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.459400894Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.868098ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.463925647Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.464115721Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=190.233µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.466881231Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.467785788Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=903.887µs 18:16:17 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.526904443Z level=info msg="Executing migration" id="create team member table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.528068645Z level=info msg="Migration successfully executed" id="create team member table" duration=1.163622ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.534522523Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.535885988Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.363215ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.540284139Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.541795437Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.508618ms 18:16:17 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.545953023Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.546795038Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=841.505µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.553183186Z level=info msg="Executing migration" id="Add column email to team table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.56051228Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.328374ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.564279029Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.568754681Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.474832ms 18:16:17 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.572810936Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.577453381Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.641885ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.585376816Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.586266243Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=889.567µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.591093091Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.592459707Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.366566ms 18:16:17 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.598565369Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.600295121Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.728592ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.60627829Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.607991381Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.712391ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.611466316Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.612733999Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.268833ms 18:16:17 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.615942297Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.616845474Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=902.867µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.622529839Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.623445375Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=915.086µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.626765366Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.627707313Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=941.637µs 18:16:17 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.630856051Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.631350151Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=493.57µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.635904864Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.636161638Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=256.704µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.639539581Z level=info msg="Executing migration" id="create tag table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.640630911Z level=info msg="Migration successfully executed" id="create tag table" duration=1.09107ms 18:16:17 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.645501Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.646928416Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.425996ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.650536313Z level=info msg="Executing migration" id="create login attempt table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.651598562Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.064739ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.655273339Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.656147226Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=873.667µs 18:16:17 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.662026864Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.663418289Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.391465ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.674975251Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.696758031Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.77947ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.69994967Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.700500079Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=550.479µs 18:16:17 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.705863788Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.706883427Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.020999ms 18:16:17 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.7108863Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.711275197Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=388.567µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.715704759Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.716828809Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.12305ms 18:16:17 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.724419549Z level=info msg="Executing migration" id="create user auth table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.725406037Z level=info msg="Migration successfully executed" id="create user auth table" duration=982.528µs 18:16:17 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.729012574Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.730792236Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.775502ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.734756059Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.734850081Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=95.992µs 18:16:17 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.739349883Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.744454747Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.104574ms 18:16:17 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.748120734Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.753391911Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.271087ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.756979527Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.762268553Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.289726ms 18:16:17 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.767959898Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.77729549Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=9.334412ms 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.781437785Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.782482465Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.04459ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.786146222Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.791377738Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.231156ms 18:16:17 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.795911341Z level=info msg="Executing migration" id="create server_lock table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.796772347Z level=info msg="Migration successfully executed" id="create server_lock table" duration=860.466µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:35.800289872Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.801413992Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.12343ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.80562082Z level=info msg="Executing migration" id="create user auth token table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.806490355Z level=info msg="Migration successfully executed" id="create user auth token table" duration=870.755µs 18:16:17 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.811119671Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.81218573Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.066919ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.819120728Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.820138506Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.017518ms 18:16:17 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.824246222Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:35.826137186Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.891754ms 18:16:17 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.007909043Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.018568869Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=10.658206ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.027582234Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.029650692Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=2.069848ms 18:16:17 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.036516698Z level=info msg="Executing migration" id="create cache_data table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.037345404Z level=info msg="Migration successfully executed" id="create cache_data table" duration=825.506µs 18:16:17 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.044436023Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.045225918Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=790.285µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.048425177Z level=info msg="Executing migration" id="create short_url table v1" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.049080869Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=655.372µs 18:16:17 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.056061267Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.057210068Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.147201ms 18:16:17 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.064450551Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:17 policy-db-migrator | JOIN pdpstatistics b 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.064627044Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=179.753µs 18:16:17 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.071613353Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:17 policy-db-migrator | SET a.id = b.id 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.071713084Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=99.961µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.078955447Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.079965166Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.007989ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.08402528Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:17 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.085724712Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.699142ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.090071381Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:17 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.091316694Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.245153ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.095194515Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.095266836Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=72.401µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.098975885Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:17 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.099939753Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=963.817µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.160376092Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:36.161655215Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.282173ms 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.192722476Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.193816345Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.097249ms 18:16:17 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.228203527Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.230205373Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=2.003596ms 18:16:17 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.236936998Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.245052167Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.111049ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.250547488Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.251523625Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=976.098µs 18:16:17 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.259151395Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.259232247Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=81.362µs 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:36.265575383Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.26700265Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.427297ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.300850561Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.302536041Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.68577ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.308205465Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:17 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.309174834Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=968.919µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.313796008Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.313866059Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=70.671µs 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.317851813Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:17 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.31936439Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.511907ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.325555874Z level=info msg="Executing migration" id="create alert_instance table" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:36.326218857Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=658.943µs 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.330052077Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.33130343Z 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.243623ms 18:16:17 policy-db-migrator | 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.33624191Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:17 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.337923131Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.680431ms 18:16:17 policy-db-migrator | -------------- 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.34221788Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:17 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:17 grafana | logger=migrator t=2023-12-04T18:14:36.348345833Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.127563ms 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | msg 18:16:17 policy-db-migrator | upgrade to 1100 completed 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 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:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | TRUNCATE TABLE sequence 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP TABLE pdpstatistics 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | DROP TABLE statistics_sequence 18:16:17 policy-db-migrator | -------------- 18:16:17 policy-db-migrator | 18:16:17 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:17 policy-db-migrator | name version 18:16:17 policy-db-migrator | policyadmin 1300 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.352826825Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.353844044Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.017679ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.357960619Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.359192171Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.227682ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.362656285Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.400881407Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.223161ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.405637084Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.440985023Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.347789ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.449371327Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.450114811Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=746.334µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.457852473Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.459430541Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.578318ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.467208524Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.477341441Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=10.131467ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.526439192Z level=info msg="Executing migration" id="create alert_rule table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.527204775Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=764.173µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.535278204Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.536940825Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.662021ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.543177799Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.544218769Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.03692ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.550588095Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.552398128Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.808803ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.556661747Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.556734148Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=75.111µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.561511746Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.570561222Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.050056ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.578833354Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.588884408Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=10.050324ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.659449164Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.667815037Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=8.366223ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.671857431Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.672852999Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=995.178µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.680332027Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.683021656Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=2.690129ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.689679328Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.697777317Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.099199ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.702446903Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.708439663Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.99316ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.717981438Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.719231531Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.249313ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.728616063Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.738663098Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.047925ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.744993284Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.751239738Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.245884ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.756466714Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.756651468Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=185.153µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.761492107Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.762632078Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.138861ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.774093808Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.775883961Z 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.790463ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.780881793Z 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:17 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:17 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:36 18:16:17 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:37 18:16:17 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.782123025Z 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.243092ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.785953326Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.786018437Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.891µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.789936829Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.796957158Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.019599ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.802913017Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.80797246Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=5.059283ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.81288153Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.819332239Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.450379ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.822788272Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.829416193Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.627351ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.834267553Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.841460895Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.192572ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.851684842Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.851775584Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=91.522µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.85534723Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.856664064Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.315874ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.863325236Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.874290087Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.966211ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.878352132Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.878406233Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=52.861µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.881653713Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.887804955Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.149922ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.896099858Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.897397272Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.296894ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.901554098Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.911664634Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.114736ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.915361451Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.91637965Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.017159ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.919849574Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.921884531Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.036137ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.929561702Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.936238644Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.676272ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.939617107Z level=info msg="Executing migration" id="create provenance_type table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:36.940168247Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=550.86µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.037770379Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.039667713Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.897644ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.046632021Z level=info msg="Executing migration" id="create alert_image table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.047359824Z level=info msg="Migration successfully executed" id="create alert_image table" duration=728.003µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.050861328Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.052698192Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.835364ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.0574471Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.057516511Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=70.281µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.063405449Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.064471808Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.065549ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.067697927Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.068749547Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.04732ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.07274265Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.073467983Z 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:17 grafana | logger=migrator t=2023-12-04T18:14:37.080157867Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.08088636Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=725.913µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.084335453Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.086045835Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.707212ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.089280014Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.097322692Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.018817ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.103687278Z level=info msg="Executing migration" id="create library_element table v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.104652977Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=963.899µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.108629259Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.110512894Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.884245ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.114017348Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.114781342Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=752.904µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.121234441Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.122353501Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.11885ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.125736063Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.127302482Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.566249ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.130949819Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.13098915Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=40.491µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.138664611Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.138772153Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=109.102µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.146070276Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.146574426Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=504.75µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.150710002Z level=info msg="Executing migration" id="create data_keys table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.152545346Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.836754ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.156113901Z level=info msg="Executing migration" id="create secrets table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.157053398Z level=info msg="Migration successfully executed" id="create secrets table" duration=938.927µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.163053928Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.212968754Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.909446ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.217944986Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.225661528Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.715602ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.229516428Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.229660581Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=144.353µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.236426356Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.286959953Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=50.524557ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.294247246Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.345740042Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=51.475786ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.386974158Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.388439796Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.466088ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.395761461Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.396961242Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.198361ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.400407215Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.400624359Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=217.264µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.403860508Z level=info msg="Executing migration" id="create permission table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.405107922Z level=info msg="Migration successfully executed" id="create permission table" duration=1.247504ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.410821337Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.4125865Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.743942ms 18:16:17 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:38 18:16:17 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:39 18:16:17 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:40 18:16:17 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0412231814360800u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:41 18:16:17 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0412231814360900u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0412231814361000u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0412231814361000u 1 2023-12-04 18:14:42 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.4208542Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.421948821Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.094351ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.431470015Z level=info msg="Executing migration" id="create role table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.432822131Z level=info msg="Migration successfully executed" id="create role table" duration=1.352296ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.436476228Z level=info msg="Executing migration" id="add column display_name" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.446515002Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.036155ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.451671306Z level=info msg="Executing migration" id="add column group_name" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.457262949Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.590173ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.462487305Z level=info msg="Executing migration" id="add index role.org_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.463462713Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=975.128µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.468485545Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.469594506Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.109711ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.474762271Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.47639378Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.631079ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.479714931Z level=info msg="Executing migration" id="create team role table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.480933314Z level=info msg="Migration successfully executed" id="create team role table" duration=1.217713ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.48558636Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.486611338Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.026659ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.491821624Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.493673837Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.851653ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.499973664Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.501695875Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.726561ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.508227585Z level=info msg="Executing migration" id="create user role table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.509518468Z level=info msg="Migration successfully executed" id="create user role table" duration=1.290353ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.51560154Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.51724219Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.64025ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.523184049Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.52483829Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.656841ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.528859673Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.530224839Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.365296ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.53737106Z level=info msg="Executing migration" id="create builtin role table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.538082402Z level=info msg="Migration successfully executed" id="create builtin role table" duration=714.272µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.544024381Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.545480239Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.454928ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.551152593Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.552402905Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.245932ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.55812677Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.567335Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.20557ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.570558329Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.571647469Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.08853ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.578565286Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.579584775Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.015868ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.58477601Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.585841949Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.065669ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.588863435Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.589881984Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.018119ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.59459549Z level=info msg="Executing migration" id="create seed assignment table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.595967805Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.373935ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.600956217Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.60221777Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.257473ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.605693374Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.613977366Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.282823ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.62018854Z level=info msg="Executing migration" id="permission kind migration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.628396891Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.207681ms 18:16:17 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0412231814361000u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0412231814361000u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0412231814361000u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0412231814361000u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0412231814361000u 1 2023-12-04 18:14:42 18:16:17 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0412231814361000u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0412231814361000u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0412231814361100u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0412231814361200u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0412231814361200u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0412231814361200u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0412231814361200u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0412231814361300u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0412231814361300u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0412231814361300u 1 2023-12-04 18:14:43 18:16:17 policy-db-migrator | policyadmin: OK @ 1300 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.633479384Z level=info msg="Executing migration" id="permission attribute migration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.641651874Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.17164ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.645616237Z level=info msg="Executing migration" id="permission identifier migration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.653804588Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.18752ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.66320288Z level=info msg="Executing migration" id="add permission identifier index" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.664596925Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.391715ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.670941142Z level=info msg="Executing migration" id="create query_history table v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.672335597Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.392905ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.6757726Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.676865481Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.094671ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.680755692Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.680843183Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=87.531µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.694113497Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.694170848Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=58.891µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.700130857Z level=info msg="Executing migration" id="teams permissions migration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.700795669Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=664.672µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.705842452Z level=info msg="Executing migration" id="dashboard permissions" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.70675569Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=912.268µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.710920246Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.712151788Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.231322ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.71714831Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.717473646Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=322.255µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.720725556Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.721376008Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=650.282µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.725733197Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.726704876Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=971.079µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.730310282Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.731490753Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.178741ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.736901812Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.745357087Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.453935ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.748611927Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.748680318Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=66.061µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.751881108Z level=info msg="Executing migration" id="create correlation table v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.752902326Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.020498ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.757511601Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.758824945Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.311644ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.766120119Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.767447933Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.328964ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.771219623Z level=info msg="Executing migration" id="add correlation config column" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.779843281Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.623148ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.786538124Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.787653974Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.1155ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.791484835Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.792792118Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.306363ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.799190857Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.834016295Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=34.825189ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.83754542Z level=info msg="Executing migration" id="create correlation v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.838215842Z level=info msg="Migration successfully executed" id="create correlation v2" duration=669.982µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.842093264Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.84354387Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.419995ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.848149725Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.849583792Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.434127ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.898975168Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.901754699Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.782661ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.90670493Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.906990255Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=285.565µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.915010842Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.916054671Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.042879ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.920214488Z level=info msg="Executing migration" id="add provisioning column" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.930242841Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.028563ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.933691146Z level=info msg="Executing migration" id="create entity_events table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.935018239Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.327224ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.940016951Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.941161202Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.145561ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.945526983Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.946301547Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.951461311Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.951989181Z 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:17 grafana | logger=migrator t=2023-12-04T18:14:37.957440321Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.958202645Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=764.734µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.962236199Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.963673985Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.437726ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:37.999080216Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.00148695Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.413085ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.005989382Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.007941238Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.950806ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.012981471Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.014127151Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.14567ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.020768764Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.022533956Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.759432ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.029128947Z level=info msg="Executing migration" id="Drop public config table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.030971701Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.847664ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.034899383Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.036593994Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.702751ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.039807223Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.040971515Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.164782ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.045150411Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.046346923Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.195942ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.050871856Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.052068668Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.196182ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.056391817Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.091150726Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.751579ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.09519852Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.102167238Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.965818ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.112534998Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.121647176Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.111798ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.12569013Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.125921964Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=231.424µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.131238121Z level=info msg="Executing migration" id="add share column" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.139837079Z level=info msg="Migration successfully executed" id="add share column" duration=8.598498ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.143356644Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.143579398Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=222.124µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.147256956Z level=info msg="Executing migration" id="create file table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.148862465Z level=info msg="Migration successfully executed" id="create file table" duration=1.605499ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.160506569Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.162804921Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.306962ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.1665557Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.168084968Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.529288ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.171426789Z level=info msg="Executing migration" id="create file_meta table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.172211754Z level=info msg="Migration successfully executed" id="create file_meta table" duration=784.275µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.176486362Z level=info msg="Executing migration" id="file table idx: path key" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.177812517Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.319505ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.183546652Z level=info msg="Executing migration" id="set path collation in file table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.183619133Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=72.791µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.186836072Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.186938024Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=102.502µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.189726235Z level=info msg="Executing migration" id="managed permissions migration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.190595611Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=869.236µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.195471751Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.195760536Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=288.875µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.198070758Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.198934414Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=861.746µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.203376986Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.212999912Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.622546ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.216455025Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.216621719Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=167.144µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.219904609Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.221206793Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.300444ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.224653066Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.225178156Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=525.96µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.22864504Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.228998416Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=349.376µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.232347487Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.232921078Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=573.461µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.240878804Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.250338098Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.458534ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.253569087Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.262122284Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.552387ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.265865743Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.266968474Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.102611ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.269924518Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.380503957Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=110.576769ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.384794407Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.386032159Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.237572ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.389595134Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.390806357Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.210313ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.394065076Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.427883807Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.815771ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.431522894Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.431783828Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=241.514µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.435918455Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.436086358Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=170.703µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.442828311Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.443250329Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=421.848µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.445994569Z level=info msg="Executing migration" id="create folder table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.447381555Z level=info msg="Migration successfully executed" id="create folder table" duration=1.386426ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.454586407Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.456642805Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.057068ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.459621289Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.460902494Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.277034ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.464113382Z level=info msg="Executing migration" id="Update folder title length" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.464156403Z level=info msg="Migration successfully executed" id="Update folder title length" duration=43.441µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.46727649Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.468554113Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.278673ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.477033289Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.478814022Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.780213ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.483807504Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.486168277Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.362483ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.489852995Z level=info msg="Executing migration" id="create anon_device table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.491350103Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.496297ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.494718314Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.496260962Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.542168ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.499765837Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.50101629Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.250403ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.504830319Z level=info msg="Executing migration" id="create signing_key table" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.505661225Z level=info msg="Migration successfully executed" id="create signing_key table" duration=830.596µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.508602669Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.509829661Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.226752ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.513161742Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.514445566Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.283594ms 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.519337616Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.519827595Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=490.189µs 18:16:17 grafana | logger=migrator t=2023-12-04T18:14:38.524439499Z level=info msg="migrations completed" performed=517 skipped=0 duration=5.196269798s 18:16:17 grafana | logger=sqlstore t=2023-12-04T18:14:38.535344759Z level=info msg="Created default admin" user=admin 18:16:17 grafana | logger=sqlstore t=2023-12-04T18:14:38.535683416Z level=info msg="Created default organization" 18:16:17 grafana | logger=secrets t=2023-12-04T18:14:38.538803204Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:17 grafana | logger=local.finder t=2023-12-04T18:14:38.605391475Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:17 grafana | logger=query_data t=2023-12-04T18:14:38.607872131Z level=info msg="Query Service initialization" 18:16:17 grafana | logger=live.push_http t=2023-12-04T18:14:38.611854025Z level=info msg="Live Push Gateway initialization" 18:16:17 grafana | logger=infra.usagestats.collector t=2023-12-04T18:14:40.810145859Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:17 grafana | logger=provisioning.datasources t=2023-12-04T18:14:40.812146956Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz 18:16:17 grafana | logger=provisioning.alerting t=2023-12-04T18:14:40.824734837Z level=info msg="starting to provision alerting" 18:16:17 grafana | logger=provisioning.alerting t=2023-12-04T18:14:40.824763208Z level=info msg="finished to provision alerting" 18:16:17 grafana | logger=ngalert.state.manager t=2023-12-04T18:14:40.825227346Z level=info msg="Warming state cache for startup" 18:16:17 grafana | logger=grafanaStorageLogger t=2023-12-04T18:14:40.825232926Z level=info msg="Storage starting" 18:16:17 grafana | logger=http.server t=2023-12-04T18:14:40.831654944Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:17 grafana | logger=sqlstore.transactions t=2023-12-04T18:14:40.837180015Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:17 grafana | logger=grafana.update.checker t=2023-12-04T18:14:40.862864536Z level=info msg="Update check succeeded" duration=36.081782ms 18:16:17 grafana | logger=ngalert.state.manager t=2023-12-04T18:14:40.895567917Z level=info msg="State cache has been initialized" states=0 duration=70.332811ms 18:16:17 grafana | logger=ngalert.scheduler t=2023-12-04T18:14:40.895620418Z level=info msg="Starting scheduler" tickInterval=10s 18:16:17 grafana | logger=ngalert.multiorg.alertmanager t=2023-12-04T18:14:40.895648929Z level=info msg="Starting MultiOrg Alertmanager" 18:16:17 grafana | logger=ticker t=2023-12-04T18:14:40.895841752Z level=info msg=starting first_tick=2023-12-04T18:14:50Z 18:16:17 grafana | logger=plugins.update.checker t=2023-12-04T18:14:40.899407547Z level=info msg="Update check succeeded" duration=71.98232ms 18:16:17 grafana | logger=ngalert.migration t=2023-12-04T18:14:40.966135472Z level=info msg=Starting 18:16:17 grafana | logger=ngalert.migration t=2023-12-04T18:14:40.967307824Z level=info msg="Starting legacy migration" 18:16:17 grafana | logger=ngalert.migration orgID=1 t=2023-12-04T18:14:40.967694311Z level=info msg="Migrating alerts for organisation" 18:16:17 grafana | logger=ngalert.migration orgID=1 t=2023-12-04T18:14:40.968430355Z level=info msg="Alerts found to migrate" alerts=0 18:16:17 grafana | logger=ngalert.migration orgID=1 t=2023-12-04T18:14:40.969185128Z level=warn msg="No available receivers" 18:16:17 grafana | logger=ngalert.migration t=2023-12-04T18:14:40.972811005Z level=info msg="Completed legacy migration" 18:16:17 grafana | logger=sqlstore.transactions t=2023-12-04T18:14:41.008154244Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:17 grafana | logger=sqlstore.transactions t=2023-12-04T18:14:41.029500986Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:17 grafana | logger=sqlstore.transactions t=2023-12-04T18:14:41.042416002Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 18:16:17 grafana | logger=sqlstore.transactions t=2023-12-04T18:14:41.056375799Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:17 ++ echo 'Tearing down containers...' 18:16:17 Tearing down containers... 18:16:17 ++ docker-compose down -v --remove-orphans 18:16:17 Stopping grafana ... 18:16:17 Stopping policy-api ... 18:16:17 Stopping prometheus ... 18:16:17 Stopping mariadb ... 18:16:18 Stopping grafana ... done 18:16:18 Stopping mariadb ... done 18:16:18 Stopping prometheus ... done 18:16:28 Stopping policy-api ... done 18:16:28 Removing grafana ... 18:16:28 Removing policy-api ... 18:16:28 Removing policy-db-migrator ... 18:16:28 Removing prometheus ... 18:16:28 Removing mariadb ... 18:16:28 Removing grafana ... done 18:16:28 Removing policy-api ... done 18:16:28 Removing prometheus ... done 18:16:28 Removing policy-db-migrator ... done 18:16:28 Removing mariadb ... done 18:16:28 Removing network compose_default 18:16:28 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:28 + load_set 18:16:28 + _setopts=hxB 18:16:28 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:28 ++ tr : ' ' 18:16:28 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:28 + set +o braceexpand 18:16:28 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:28 + set +o hashall 18:16:28 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:28 + set +o interactive-comments 18:16:28 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:28 + set +o xtrace 18:16:28 ++ echo hxB 18:16:28 ++ sed 's/./& /g' 18:16:28 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:28 + set +h 18:16:28 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:28 + set +x 18:16:28 + [[ -n /tmp/tmp.INQ5FQXAki ]] 18:16:28 + rsync -av /tmp/tmp.INQ5FQXAki/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:28 sending incremental file list 18:16:28 ./ 18:16:28 log.html 18:16:28 output.xml 18:16:28 report.html 18:16:28 testplan.txt 18:16:28 18:16:28 sent 1,344,226 bytes received 95 bytes 2,688,642.00 bytes/sec 18:16:28 total size is 1,343,580 speedup is 1.00 18:16:28 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:28 + exit 0 18:16:28 $ ssh-agent -k 18:16:28 unset SSH_AUTH_SOCK; 18:16:28 unset SSH_AGENT_PID; 18:16:28 echo Agent pid 2086 killed; 18:16:28 [ssh-agent] Stopped. 18:16:28 Robot results publisher started... 18:16:28 -Parsing output xml: 18:16:29 Done! 18:16:29 WARNING! Could not find file: **/log.html 18:16:29 WARNING! Could not find file: **/report.html 18:16:29 -Copying log files to build dir: 18:16:29 Done! 18:16:29 -Assigning results to build: 18:16:29 Done! 18:16:29 -Checking thresholds: 18:16:29 Done! 18:16:29 Done publishing Robot results. 18:16:29 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:29 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14742772396565102856.sh 18:16:29 ---> sysstat.sh 18:16:29 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins786255516838530929.sh 18:16:29 ---> package-listing.sh 18:16:29 ++ facter osfamily 18:16:29 ++ tr '[:upper:]' '[:lower:]' 18:16:29 + OS_FAMILY=debian 18:16:29 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:29 + START_PACKAGES=/tmp/packages_start.txt 18:16:29 + END_PACKAGES=/tmp/packages_end.txt 18:16:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:29 + PACKAGES=/tmp/packages_start.txt 18:16:29 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:29 + PACKAGES=/tmp/packages_end.txt 18:16:29 + case "${OS_FAMILY}" in 18:16:29 + dpkg -l 18:16:29 + grep '^ii' 18:16:29 + '[' -f /tmp/packages_start.txt ']' 18:16:29 + '[' -f /tmp/packages_end.txt ']' 18:16:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:29 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:29 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:29 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15205428203082646670.sh 18:16:29 ---> capture-instance-metadata.sh 18:16:30 Setup pyenv: 18:16:30 system 18:16:30 3.8.13 18:16:30 3.9.13 18:16:30 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:30 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LxEx from file:/tmp/.os_lf_venv 18:16:31 lf-activate-venv(): INFO: Installing: lftools 18:16:43 lf-activate-venv(): INFO: Adding /tmp/venv-LxEx/bin to PATH 18:16:43 INFO: Running in OpenStack, capturing instance metadata 18:16:43 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins34774857328747190.sh 18:16:43 provisioning config files... 18:16:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config6119082401200168680tmp 18:16:43 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:43 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:43 [EnvInject] - Injecting environment variables from a build step. 18:16:43 [EnvInject] - Injecting as environment variables the properties content 18:16:43 SERVER_ID=logs 18:16:43 18:16:43 [EnvInject] - Variables injected successfully. 18:16:43 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins511671933831658135.sh 18:16:43 ---> create-netrc.sh 18:16:43 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13939159990943898832.sh 18:16:43 ---> python-tools-install.sh 18:16:43 Setup pyenv: 18:16:43 system 18:16:43 3.8.13 18:16:43 3.9.13 18:16:43 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LxEx from file:/tmp/.os_lf_venv 18:16:45 lf-activate-venv(): INFO: Installing: lftools 18:16:54 lf-activate-venv(): INFO: Adding /tmp/venv-LxEx/bin to PATH 18:16:54 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5663861053581473513.sh 18:16:54 ---> sudo-logs.sh 18:16:54 Archiving 'sudo' log.. 18:16:54 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16409068523442023075.sh 18:16:54 ---> job-cost.sh 18:16:54 Setup pyenv: 18:16:54 system 18:16:54 3.8.13 18:16:54 3.9.13 18:16:54 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:55 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LxEx from file:/tmp/.os_lf_venv 18:16:56 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:17:04 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 18:17:04 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 18:17:04 lf-activate-venv(): INFO: Adding /tmp/venv-LxEx/bin to PATH 18:17:04 INFO: No Stack... 18:17:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:17:05 INFO: Archiving Costs 18:17:05 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins12830125497952869589.sh 18:17:05 ---> logs-deploy.sh 18:17:05 Setup pyenv: 18:17:05 system 18:17:05 3.8.13 18:17:05 3.9.13 18:17:05 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:17:05 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LxEx from file:/tmp/.os_lf_venv 18:17:07 lf-activate-venv(): INFO: Installing: lftools 18:17:16 lf-activate-venv(): INFO: Adding /tmp/venv-LxEx/bin to PATH 18:17:16 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/23 18:17:16 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:17:17 Archives upload complete. 18:17:17 INFO: archiving logs to Nexus 18:17:18 ---> uname -a: 18:17:18 Linux prd-ubuntu1804-docker-8c-8g-2365 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:18 18:17:18 18:17:18 ---> lscpu: 18:17:18 Architecture: x86_64 18:17:18 CPU op-mode(s): 32-bit, 64-bit 18:17:18 Byte Order: Little Endian 18:17:18 CPU(s): 8 18:17:18 On-line CPU(s) list: 0-7 18:17:18 Thread(s) per core: 1 18:17:18 Core(s) per socket: 1 18:17:18 Socket(s): 8 18:17:18 NUMA node(s): 1 18:17:18 Vendor ID: AuthenticAMD 18:17:18 CPU family: 23 18:17:18 Model: 49 18:17:18 Model name: AMD EPYC-Rome Processor 18:17:18 Stepping: 0 18:17:18 CPU MHz: 2799.998 18:17:18 BogoMIPS: 5599.99 18:17:18 Virtualization: AMD-V 18:17:18 Hypervisor vendor: KVM 18:17:18 Virtualization type: full 18:17:18 L1d cache: 32K 18:17:18 L1i cache: 32K 18:17:18 L2 cache: 512K 18:17:18 L3 cache: 16384K 18:17:18 NUMA node0 CPU(s): 0-7 18:17:18 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:18 18:17:18 18:17:18 ---> nproc: 18:17:18 8 18:17:18 18:17:18 18:17:18 ---> df -h: 18:17:18 Filesystem Size Used Avail Use% Mounted on 18:17:18 udev 16G 0 16G 0% /dev 18:17:18 tmpfs 3.2G 708K 3.2G 1% /run 18:17:18 /dev/vda1 155G 12G 144G 8% / 18:17:18 tmpfs 16G 0 16G 0% /dev/shm 18:17:18 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:18 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:18 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:18 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:18 18:17:18 18:17:18 ---> free -m: 18:17:18 total used free shared buff/cache available 18:17:18 Mem: 32167 813 27329 0 4024 30897 18:17:18 Swap: 1023 0 1023 18:17:18 18:17:18 18:17:18 ---> ip addr: 18:17:18 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:18 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:18 inet 127.0.0.1/8 scope host lo 18:17:18 valid_lft forever preferred_lft forever 18:17:18 inet6 ::1/128 scope host 18:17:18 valid_lft forever preferred_lft forever 18:17:18 2: ens3: mtu 1458 qdisc fq_codel state UP group default qlen 1000 18:17:18 link/ether fa:16:3e:33:df:1c brd ff:ff:ff:ff:ff:ff 18:17:18 inet 10.30.107.14/23 brd 10.30.107.255 scope global dynamic ens3 18:17:18 valid_lft 86038sec preferred_lft 86038sec 18:17:18 inet6 fe80::f816:3eff:fe33:df1c/64 scope link 18:17:18 valid_lft forever preferred_lft forever 18:17:18 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:18 link/ether 02:42:3f:b9:58:e2 brd ff:ff:ff:ff:ff:ff 18:17:18 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:18 valid_lft forever preferred_lft forever 18:17:18 18:17:18 18:17:18 ---> sar -b -r -n DEV: 18:17:18 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2365) 12/04/23 _x86_64_ (8 CPU) 18:17:18 18:17:18 18:11:20 LINUX RESTART (8 CPU) 18:17:18 18:17:18 18:12:01 tps rtps wtps bread/s bwrtn/s 18:17:18 18:13:01 112.13 30.76 81.37 1529.48 31671.39 18:17:18 18:14:01 130.58 23.01 107.57 2756.07 38179.64 18:17:18 18:15:01 382.07 12.23 369.84 814.63 85470.34 18:17:18 18:16:01 19.76 0.03 19.73 1.87 24427.79 18:17:18 18:17:01 71.79 1.50 70.29 119.18 28190.67 18:17:18 Average: 143.26 13.51 129.75 1044.21 41587.39 18:17:18 18:17:18 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:18 18:13:01 30129880 31739220 2809340 8.53 70368 1848688 1437836 4.23 840416 1682944 170548 18:17:18 18:14:01 28854220 31682308 4085000 12.40 102436 2996060 1617400 4.76 977424 2737936 925880 18:17:18 18:15:01 27251848 30935640 5687372 17.27 128200 3777716 3918204 11.53 1817664 3423292 432 18:17:18 18:16:01 26902032 30587072 6037188 18.33 128380 3778488 4311660 12.69 2165308 3423040 60 18:17:18 18:17:01 27986252 31638420 4952968 15.04 130960 3753428 1518492 4.47 1148076 3381840 4584 18:17:18 Average: 28224846 31316532 4714374 14.31 112069 3230876 2560718 7.53 1389778 2929810 220301 18:17:18 18:17:18 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:18 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:18 18:13:01 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 18:17:18 18:13:01 ens3 63.16 43.28 976.54 7.39 0.00 0.00 0.00 0.00 18:17:18 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:18 18:14:01 br-a19af7949f24 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:18 18:14:01 lo 5.73 5.73 0.54 0.54 0.00 0.00 0.00 0.00 18:17:18 18:14:01 ens3 173.74 111.35 4727.47 12.32 0.00 0.00 0.00 0.00 18:17:18 18:15:01 vethc6d4b80 0.43 0.60 0.05 0.30 0.00 0.00 0.00 0.00 18:17:18 18:15:01 veth3c8c4c3 54.42 64.81 19.19 16.04 0.00 0.00 0.00 0.00 18:17:18 18:15:01 veth7011a8d 26.75 24.80 11.56 16.25 0.00 0.00 0.00 0.00 18:17:18 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:18 18:16:01 vethc6d4b80 0.15 0.18 0.01 0.01 0.00 0.00 0.00 0.00 18:17:18 18:16:01 veth3c8c4c3 77.42 95.13 95.45 22.92 0.00 0.00 0.00 0.01 18:17:18 18:16:01 veth7011a8d 98.13 80.94 29.82 97.67 0.00 0.00 0.00 0.01 18:17:18 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:18 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:18 18:17:01 lo 31.91 31.91 10.46 10.46 0.00 0.00 0.00 0.00 18:17:18 18:17:01 ens3 834.53 534.76 11965.05 112.61 0.00 0.00 0.00 0.00 18:17:18 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:18 Average: lo 5.60 5.60 2.03 2.03 0.00 0.00 0.00 0.00 18:17:18 Average: ens3 92.47 61.86 2238.95 10.97 0.00 0.00 0.00 0.00 18:17:18 18:17:18 18:17:18 ---> sar -P ALL: 18:17:18 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2365) 12/04/23 _x86_64_ (8 CPU) 18:17:18 18:17:18 18:11:20 LINUX RESTART (8 CPU) 18:17:18 18:17:18 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:17:18 18:13:01 all 9.79 0.00 0.70 3.02 0.03 86.46 18:17:18 18:13:01 0 15.65 0.00 0.77 3.06 0.08 80.43 18:17:18 18:13:01 1 27.03 0.00 1.55 1.03 0.05 70.33 18:17:18 18:13:01 2 15.67 0.00 1.02 1.57 0.05 81.69 18:17:18 18:13:01 3 14.75 0.00 1.42 1.45 0.03 82.34 18:17:18 18:13:01 4 2.57 0.00 0.27 1.98 0.03 95.15 18:17:18 18:13:01 5 1.33 0.00 0.30 2.07 0.02 96.28 18:17:18 18:13:01 6 0.00 0.00 0.13 12.58 0.02 87.27 18:17:18 18:13:01 7 1.22 0.00 0.17 0.42 0.02 98.18 18:17:18 18:14:01 all 10.94 0.00 1.79 2.77 0.04 84.46 18:17:18 18:14:01 0 17.09 0.00 2.48 2.36 0.03 78.03 18:17:18 18:14:01 1 19.40 0.00 1.96 1.59 0.05 77.01 18:17:18 18:14:01 2 4.53 0.00 2.27 9.17 0.03 83.99 18:17:18 18:14:01 3 14.38 0.00 1.55 0.60 0.05 83.41 18:17:18 18:14:01 4 7.60 0.00 1.44 3.58 0.02 87.37 18:17:18 18:14:01 5 8.06 0.00 1.56 1.29 0.03 89.05 18:17:18 18:14:01 6 4.39 0.00 0.56 0.23 0.03 94.78 18:17:18 18:14:01 7 12.13 0.00 2.57 3.34 0.03 81.93 18:17:18 18:15:01 all 14.73 0.00 3.34 6.81 0.07 75.04 18:17:18 18:15:01 0 13.72 0.00 2.83 2.19 0.08 81.18 18:17:18 18:15:01 1 18.86 0.00 3.51 0.54 0.07 77.03 18:17:18 18:15:01 2 19.25 0.00 4.60 24.88 0.08 51.19 18:17:18 18:15:01 3 16.25 0.00 2.76 1.99 0.07 78.94 18:17:18 18:15:01 4 10.25 0.00 2.98 13.45 0.08 73.23 18:17:18 18:15:01 5 13.64 0.00 3.20 7.85 0.07 75.24 18:17:18 18:15:01 6 17.50 0.00 3.55 1.40 0.07 77.49 18:17:18 18:15:01 7 8.42 0.00 3.32 2.29 0.07 85.90 18:17:18 18:16:01 all 5.00 0.00 0.48 1.71 0.03 92.78 18:17:18 18:16:01 0 6.92 0.00 0.55 0.00 0.02 92.51 18:17:18 18:16:01 1 5.98 0.00 0.84 0.08 0.05 93.05 18:17:18 18:16:01 2 6.08 0.00 0.38 0.00 0.03 93.50 18:17:18 18:16:01 3 6.42 0.00 0.60 0.00 0.02 92.96 18:17:18 18:16:01 4 4.02 0.00 0.40 1.37 0.05 94.16 18:17:18 18:16:01 5 3.37 0.00 0.38 11.99 0.02 84.23 18:17:18 18:16:01 6 3.76 0.00 0.27 0.00 0.02 95.96 18:17:18 18:16:01 7 3.47 0.00 0.40 0.22 0.02 95.90 18:17:18 18:17:01 all 6.26 0.00 0.62 2.39 0.03 90.70 18:17:18 18:17:01 0 1.03 0.00 0.45 0.07 0.02 98.43 18:17:18 18:17:01 1 3.40 0.00 0.55 9.21 0.02 86.82 18:17:18 18:17:01 2 2.50 0.00 0.67 0.30 0.03 96.50 18:17:18 18:17:01 3 1.84 0.00 0.39 0.02 0.03 97.72 18:17:18 18:17:01 4 0.63 0.00 0.42 0.10 0.02 98.83 18:17:18 18:17:01 5 3.02 0.00 0.62 6.78 0.03 89.55 18:17:18 18:17:01 6 30.80 0.00 1.19 1.92 0.05 66.04 18:17:18 18:17:01 7 6.90 0.00 0.72 0.68 0.03 91.66 18:17:18 Average: all 9.34 0.00 1.38 3.33 0.04 85.90 18:17:18 Average: 0 10.87 0.00 1.41 1.53 0.05 86.13 18:17:18 Average: 1 14.93 0.00 1.68 2.49 0.05 80.85 18:17:18 Average: 2 9.59 0.00 1.78 7.14 0.05 81.45 18:17:18 Average: 3 10.73 0.00 1.34 0.81 0.04 87.08 18:17:18 Average: 4 5.00 0.00 1.10 4.08 0.04 89.78 18:17:18 Average: 5 5.87 0.00 1.21 6.00 0.03 86.89 18:17:18 Average: 6 11.26 0.00 1.13 3.23 0.04 84.34 18:17:18 Average: 7 6.42 0.00 1.43 1.39 0.03 90.72 18:17:18 18:17:18 18:17:18