18:11:59 Started by timer 18:11:59 Running as SYSTEM 18:11:59 [EnvInject] - Loading node environment variables. 18:11:59 Building remotely on prd-ubuntu1804-docker-8c-8g-2624 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:11:59 [ssh-agent] Looking for ssh-agent implementation... 18:11:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:59 $ ssh-agent 18:11:59 SSH_AUTH_SOCK=/tmp/ssh-TxCEwunoS30U/agent.2073 18:11:59 SSH_AGENT_PID=2075 18:11:59 [ssh-agent] Started. 18:11:59 Running ssh-add (command line suppressed) 18:11:59 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_6474688669690472791.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_6474688669690472791.key) 18:11:59 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:11:59 The recommended git tool is: NONE 18:12:01 using credential onap-jenkins-ssh 18:12:01 Wiping out workspace first. 18:12:01 Cloning the remote Git repository 18:12:01 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:12:01 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:12:01 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:12:01 > git --version # timeout=10 18:12:01 > git --version # 'git version 2.17.1' 18:12:01 using GIT_SSH to set credentials Gerrit user 18:12:01 Verifying host key using manually-configured host key entries 18:12:01 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:12:02 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:12:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:02 Avoid second fetch 18:12:02 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:12:02 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:12:02 > git config core.sparsecheckout # timeout=10 18:12:02 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:12:02 Commit message: "Set Montreal default branch" 18:12:02 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:12:02 provisioning config files... 18:12:02 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:12:02 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:12:02 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3059969070104618219.sh 18:12:02 ---> python-tools-install.sh 18:12:02 Setup pyenv: 18:12:03 * system (set by /opt/pyenv/version) 18:12:03 * 3.8.13 (set by /opt/pyenv/version) 18:12:03 * 3.9.13 (set by /opt/pyenv/version) 18:12:03 * 3.10.6 (set by /opt/pyenv/version) 18:12:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YuXk 18:12:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:10 lf-activate-venv(): INFO: Installing: lftools 18:12:43 lf-activate-venv(): INFO: Adding /tmp/venv-YuXk/bin to PATH 18:12:43 Generating Requirements File 18:13:19 Python 3.10.6 18:13:19 pip 24.0 from /tmp/venv-YuXk/lib/python3.10/site-packages/pip (python 3.10) 18:13:20 appdirs==1.4.4 18:13:20 argcomplete==3.2.2 18:13:20 aspy.yaml==1.3.0 18:13:20 attrs==23.2.0 18:13:20 autopage==0.5.2 18:13:20 beautifulsoup4==4.12.3 18:13:20 boto3==1.34.34 18:13:20 botocore==1.34.34 18:13:20 bs4==0.0.2 18:13:20 cachetools==5.3.2 18:13:20 certifi==2024.2.2 18:13:20 cffi==1.16.0 18:13:20 cfgv==3.4.0 18:13:20 chardet==5.2.0 18:13:20 charset-normalizer==3.3.2 18:13:20 click==8.1.7 18:13:20 cliff==4.5.0 18:13:20 cmd2==2.4.3 18:13:20 cryptography==3.3.2 18:13:20 debtcollector==2.5.0 18:13:20 decorator==5.1.1 18:13:20 defusedxml==0.7.1 18:13:20 Deprecated==1.2.14 18:13:20 distlib==0.3.8 18:13:20 dnspython==2.5.0 18:13:20 docker==4.2.2 18:13:20 dogpile.cache==1.3.0 18:13:20 email-validator==2.1.0.post1 18:13:20 filelock==3.13.1 18:13:20 future==0.18.3 18:13:20 gitdb==4.0.11 18:13:20 GitPython==3.1.41 18:13:20 google-auth==2.27.0 18:13:20 httplib2==0.22.0 18:13:20 identify==2.5.33 18:13:20 idna==3.6 18:13:20 importlib-resources==1.5.0 18:13:20 iso8601==2.1.0 18:13:20 Jinja2==3.1.3 18:13:20 jmespath==1.0.1 18:13:20 jsonpatch==1.33 18:13:20 jsonpointer==2.4 18:13:20 jsonschema==4.21.1 18:13:20 jsonschema-specifications==2023.12.1 18:13:20 keystoneauth1==5.5.0 18:13:20 kubernetes==29.0.0 18:13:20 lftools==0.37.8 18:13:20 lxml==5.1.0 18:13:20 MarkupSafe==2.1.5 18:13:20 msgpack==1.0.7 18:13:20 multi_key_dict==2.0.3 18:13:20 munch==4.0.0 18:13:20 netaddr==0.10.1 18:13:20 netifaces==0.11.0 18:13:20 niet==1.4.2 18:13:20 nodeenv==1.8.0 18:13:20 oauth2client==4.1.3 18:13:20 oauthlib==3.2.2 18:13:20 openstacksdk==0.62.0 18:13:20 os-client-config==2.1.0 18:13:20 os-service-types==1.7.0 18:13:20 osc-lib==3.0.0 18:13:20 oslo.config==9.3.0 18:13:20 oslo.context==5.3.0 18:13:20 oslo.i18n==6.2.0 18:13:20 oslo.log==5.4.0 18:13:20 oslo.serialization==5.3.0 18:13:20 oslo.utils==7.0.0 18:13:20 packaging==23.2 18:13:20 pbr==6.0.0 18:13:20 platformdirs==4.2.0 18:13:20 prettytable==3.9.0 18:13:20 pyasn1==0.5.1 18:13:20 pyasn1-modules==0.3.0 18:13:20 pycparser==2.21 18:13:20 pygerrit2==2.0.15 18:13:20 PyGithub==2.2.0 18:13:20 pyinotify==0.9.6 18:13:20 PyJWT==2.8.0 18:13:20 PyNaCl==1.5.0 18:13:20 pyparsing==2.4.7 18:13:20 pyperclip==1.8.2 18:13:20 pyrsistent==0.20.0 18:13:20 python-cinderclient==9.4.0 18:13:20 python-dateutil==2.8.2 18:13:20 python-heatclient==3.4.0 18:13:20 python-jenkins==1.8.2 18:13:20 python-keystoneclient==5.3.0 18:13:20 python-magnumclient==4.3.0 18:13:20 python-novaclient==18.4.0 18:13:20 python-openstackclient==6.0.0 18:13:20 python-swiftclient==4.4.0 18:13:20 pytz==2024.1 18:13:20 PyYAML==6.0.1 18:13:20 referencing==0.33.0 18:13:20 requests==2.31.0 18:13:20 requests-oauthlib==1.3.1 18:13:20 requestsexceptions==1.4.0 18:13:20 rfc3986==2.0.0 18:13:20 rpds-py==0.17.1 18:13:20 rsa==4.9 18:13:20 ruamel.yaml==0.18.5 18:13:20 ruamel.yaml.clib==0.2.8 18:13:20 s3transfer==0.10.0 18:13:20 simplejson==3.19.2 18:13:20 six==1.16.0 18:13:20 smmap==5.0.1 18:13:20 soupsieve==2.5 18:13:20 stevedore==5.1.0 18:13:20 tabulate==0.9.0 18:13:20 toml==0.10.2 18:13:20 tomlkit==0.12.3 18:13:20 tqdm==4.66.1 18:13:20 typing_extensions==4.9.0 18:13:20 tzdata==2023.4 18:13:20 urllib3==1.26.18 18:13:20 virtualenv==20.25.0 18:13:20 wcwidth==0.2.13 18:13:20 websocket-client==1.7.0 18:13:20 wrapt==1.16.0 18:13:20 xdg==6.0.0 18:13:20 xmltodict==0.13.0 18:13:20 yq==3.2.3 18:13:20 [EnvInject] - Injecting environment variables from a build step. 18:13:20 [EnvInject] - Injecting as environment variables the properties content 18:13:20 SET_JDK_VERSION=openjdk17 18:13:20 GIT_URL="git://cloud.onap.org/mirror" 18:13:20 18:13:20 [EnvInject] - Variables injected successfully. 18:13:20 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins7508776707454557277.sh 18:13:20 ---> update-java-alternatives.sh 18:13:20 ---> Updating Java version 18:13:20 ---> Ubuntu/Debian system detected 18:13:20 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:20 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:20 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 18:13:20 openjdk version "17.0.4" 2022-07-19 18:13:20 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:20 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:20 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:20 [EnvInject] - Injecting environment variables from a build step. 18:13:21 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:21 [EnvInject] - Variables injected successfully. 18:13:21 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins4846653554686897552.sh 18:13:21 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:21 + set +u 18:13:21 + save_set 18:13:21 + RUN_CSIT_SAVE_SET=ehxB 18:13:21 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:21 + '[' 1 -eq 0 ']' 18:13:21 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:21 + 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:21 + 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:21 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:21 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:21 + export ROBOT_VARIABLES= 18:13:21 + ROBOT_VARIABLES= 18:13:21 + export PROJECT=api 18:13:21 + PROJECT=api 18:13:21 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:21 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:21 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:21 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:21 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:21 + relax_set 18:13:21 + set +e 18:13:21 + set +o pipefail 18:13:21 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:21 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:21 +++ mktemp -d 18:13:21 ++ ROBOT_VENV=/tmp/tmp.RmvuLSOo8d 18:13:21 ++ echo ROBOT_VENV=/tmp/tmp.RmvuLSOo8d 18:13:21 +++ python3 --version 18:13:21 ++ echo 'Python version is: Python 3.6.9' 18:13:21 Python version is: Python 3.6.9 18:13:21 ++ python3 -m venv --clear /tmp/tmp.RmvuLSOo8d 18:13:22 ++ source /tmp/tmp.RmvuLSOo8d/bin/activate 18:13:22 +++ deactivate nondestructive 18:13:22 +++ '[' -n '' ']' 18:13:22 +++ '[' -n '' ']' 18:13:22 +++ '[' -n /bin/bash -o -n '' ']' 18:13:22 +++ hash -r 18:13:22 +++ '[' -n '' ']' 18:13:22 +++ unset VIRTUAL_ENV 18:13:22 +++ '[' '!' nondestructive = nondestructive ']' 18:13:22 +++ VIRTUAL_ENV=/tmp/tmp.RmvuLSOo8d 18:13:22 +++ export VIRTUAL_ENV 18:13:22 +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:22 +++ PATH=/tmp/tmp.RmvuLSOo8d/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:22 +++ export PATH 18:13:22 +++ '[' -n '' ']' 18:13:22 +++ '[' -z '' ']' 18:13:22 +++ _OLD_VIRTUAL_PS1= 18:13:22 +++ '[' 'x(tmp.RmvuLSOo8d) ' '!=' x ']' 18:13:22 +++ PS1='(tmp.RmvuLSOo8d) ' 18:13:22 +++ export PS1 18:13:22 +++ '[' -n /bin/bash -o -n '' ']' 18:13:22 +++ hash -r 18:13:22 ++ set -exu 18:13:22 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:25 ++ echo 'Installing Python Requirements' 18:13:25 Installing Python Requirements 18:13:25 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:44 ++ python3 -m pip -qq freeze 18:13:45 bcrypt==4.0.1 18:13:45 beautifulsoup4==4.12.3 18:13:45 bitarray==2.9.2 18:13:45 certifi==2024.2.2 18:13:45 cffi==1.15.1 18:13:45 charset-normalizer==2.0.12 18:13:45 cryptography==40.0.2 18:13:45 decorator==5.1.1 18:13:45 elasticsearch==7.17.9 18:13:45 elasticsearch-dsl==7.4.1 18:13:45 enum34==1.1.10 18:13:45 idna==3.6 18:13:45 importlib-resources==5.4.0 18:13:45 ipaddr==2.2.0 18:13:45 isodate==0.6.1 18:13:45 jmespath==0.10.0 18:13:45 jsonpatch==1.32 18:13:45 jsonpath-rw==1.4.0 18:13:45 jsonpointer==2.3 18:13:45 lxml==5.1.0 18:13:45 netaddr==0.8.0 18:13:45 netifaces==0.11.0 18:13:45 odltools==0.1.28 18:13:45 paramiko==3.4.0 18:13:45 pkg_resources==0.0.0 18:13:45 ply==3.11 18:13:45 pyang==2.6.0 18:13:45 pyangbind==0.8.1 18:13:45 pycparser==2.21 18:13:45 pyhocon==0.3.60 18:13:45 PyNaCl==1.5.0 18:13:45 pyparsing==3.1.1 18:13:45 python-dateutil==2.8.2 18:13:45 regex==2023.8.8 18:13:45 requests==2.27.1 18:13:45 robotframework==6.1.1 18:13:45 robotframework-httplibrary==0.4.2 18:13:45 robotframework-pythonlibcore==3.0.0 18:13:45 robotframework-requests==0.9.4 18:13:45 robotframework-selenium2library==3.0.0 18:13:45 robotframework-seleniumlibrary==5.1.3 18:13:45 robotframework-sshlibrary==3.8.0 18:13:45 scapy==2.5.0 18:13:45 scp==0.14.5 18:13:45 selenium==3.141.0 18:13:45 six==1.16.0 18:13:45 soupsieve==2.3.2.post1 18:13:45 urllib3==1.26.18 18:13:45 waitress==2.0.0 18:13:45 WebOb==1.8.7 18:13:45 WebTest==3.0.0 18:13:45 zipp==3.6.0 18:13:45 ++ mkdir -p /tmp/tmp.RmvuLSOo8d/src/onap 18:13:45 ++ rm -rf /tmp/tmp.RmvuLSOo8d/src/onap/testsuite 18:13:45 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 18:13:52 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:52 Uninstall docker-py and reinstall docker. 18:13:52 ++ python3 -m pip uninstall -y -qq docker 18:13:52 ++ python3 -m pip install -U -qq docker 18:13:53 ++ python3 -m pip -qq freeze 18:13:54 bcrypt==4.0.1 18:13:54 beautifulsoup4==4.12.3 18:13:54 bitarray==2.9.2 18:13:54 certifi==2024.2.2 18:13:54 cffi==1.15.1 18:13:54 charset-normalizer==2.0.12 18:13:54 cryptography==40.0.2 18:13:54 decorator==5.1.1 18:13:54 deepdiff==5.7.0 18:13:54 dnspython==2.2.1 18:13:54 docker==5.0.3 18:13:54 elasticsearch==7.17.9 18:13:54 elasticsearch-dsl==7.4.1 18:13:54 enum34==1.1.10 18:13:54 future==0.18.3 18:13:54 idna==3.6 18:13:54 importlib-resources==5.4.0 18:13:54 ipaddr==2.2.0 18:13:54 isodate==0.6.1 18:13:54 Jinja2==3.0.3 18:13:54 jmespath==0.10.0 18:13:54 jsonpatch==1.32 18:13:54 jsonpath-rw==1.4.0 18:13:54 jsonpointer==2.3 18:13:54 kafka-python==2.0.2 18:13:54 lxml==5.1.0 18:13:54 MarkupSafe==2.0.1 18:13:54 more-itertools==5.0.0 18:13:54 netaddr==0.8.0 18:13:54 netifaces==0.11.0 18:13:54 odltools==0.1.28 18:13:54 ordered-set==4.0.2 18:13:54 paramiko==3.4.0 18:13:54 pbr==6.0.0 18:13:54 pkg_resources==0.0.0 18:13:54 ply==3.11 18:13:54 protobuf==3.19.6 18:13:54 pyang==2.6.0 18:13:54 pyangbind==0.8.1 18:13:54 pycparser==2.21 18:13:54 pyhocon==0.3.60 18:13:54 PyNaCl==1.5.0 18:13:54 pyparsing==3.1.1 18:13:54 python-dateutil==2.8.2 18:13:54 PyYAML==6.0.1 18:13:54 regex==2023.8.8 18:13:54 requests==2.27.1 18:13:54 robotframework==6.1.1 18:13:54 robotframework-httplibrary==0.4.2 18:13:54 robotframework-onap==0.6.0.dev105 18:13:54 robotframework-pythonlibcore==3.0.0 18:13:54 robotframework-requests==0.9.4 18:13:54 robotframework-selenium2library==3.0.0 18:13:54 robotframework-seleniumlibrary==5.1.3 18:13:54 robotframework-sshlibrary==3.8.0 18:13:54 robotlibcore-temp==1.0.2 18:13:54 scapy==2.5.0 18:13:54 scp==0.14.5 18:13:54 selenium==3.141.0 18:13:54 six==1.16.0 18:13:54 soupsieve==2.3.2.post1 18:13:54 urllib3==1.26.18 18:13:54 waitress==2.0.0 18:13:54 WebOb==1.8.7 18:13:54 websocket-client==1.3.1 18:13:54 WebTest==3.0.0 18:13:54 zipp==3.6.0 18:13:54 ++ uname 18:13:54 ++ grep -q Linux 18:13:54 ++ sudo apt-get -y -qq install libxml2-utils 18:13:54 + load_set 18:13:54 + _setopts=ehuxB 18:13:54 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:54 ++ tr : ' ' 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o braceexpand 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o hashall 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o interactive-comments 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o nounset 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o xtrace 18:13:54 ++ echo ehuxB 18:13:54 ++ sed 's/./& /g' 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +e 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +h 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +u 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +x 18:13:54 + source_safely /tmp/tmp.RmvuLSOo8d/bin/activate 18:13:54 + '[' -z /tmp/tmp.RmvuLSOo8d/bin/activate ']' 18:13:54 + relax_set 18:13:54 + set +e 18:13:54 + set +o pipefail 18:13:54 + . /tmp/tmp.RmvuLSOo8d/bin/activate 18:13:54 ++ deactivate nondestructive 18:13:54 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ']' 18:13:54 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:54 ++ export PATH 18:13:54 ++ unset _OLD_VIRTUAL_PATH 18:13:54 ++ '[' -n '' ']' 18:13:54 ++ '[' -n /bin/bash -o -n '' ']' 18:13:54 ++ hash -r 18:13:54 ++ '[' -n '' ']' 18:13:54 ++ unset VIRTUAL_ENV 18:13:54 ++ '[' '!' nondestructive = nondestructive ']' 18:13:54 ++ VIRTUAL_ENV=/tmp/tmp.RmvuLSOo8d 18:13:54 ++ export VIRTUAL_ENV 18:13:54 ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:54 ++ PATH=/tmp/tmp.RmvuLSOo8d/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:54 ++ export PATH 18:13:54 ++ '[' -n '' ']' 18:13:54 ++ '[' -z '' ']' 18:13:54 ++ _OLD_VIRTUAL_PS1='(tmp.RmvuLSOo8d) ' 18:13:54 ++ '[' 'x(tmp.RmvuLSOo8d) ' '!=' x ']' 18:13:54 ++ PS1='(tmp.RmvuLSOo8d) (tmp.RmvuLSOo8d) ' 18:13:54 ++ export PS1 18:13:54 ++ '[' -n /bin/bash -o -n '' ']' 18:13:54 ++ hash -r 18:13:54 + load_set 18:13:54 + _setopts=hxB 18:13:54 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:54 ++ tr : ' ' 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o braceexpand 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o hashall 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o interactive-comments 18:13:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:54 + set +o xtrace 18:13:54 ++ echo hxB 18:13:54 ++ sed 's/./& /g' 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +h 18:13:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:54 + set +x 18:13:54 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:54 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:54 + export TEST_OPTIONS= 18:13:54 + TEST_OPTIONS= 18:13:54 ++ mktemp -d 18:13:54 + WORKDIR=/tmp/tmp.ahTZ3KsRwY 18:13:54 + cd /tmp/tmp.ahTZ3KsRwY 18:13:54 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:54 Configure a credential helper to remove this warning. See 18:13:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:54 18:13:54 Login Succeeded 18:13:54 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:54 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:54 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:54 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:54 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:54 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:54 + relax_set 18:13:54 + set +e 18:13:54 + set +o pipefail 18:13:54 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:54 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:54 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:54 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:54 +++ GERRIT_BRANCH=montreal 18:13:54 +++ echo GERRIT_BRANCH=montreal 18:13:54 GERRIT_BRANCH=montreal 18:13:54 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:54 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:54 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:54 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:55 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:55 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:55 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:55 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:55 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:55 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:55 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:55 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:55 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:55 +++ grafana=false 18:13:55 +++ gui=false 18:13:55 +++ [[ 2 -gt 0 ]] 18:13:55 +++ key=api 18:13:55 +++ case $key in 18:13:55 +++ echo api 18:13:55 api 18:13:55 +++ component=api 18:13:55 +++ shift 18:13:55 +++ [[ 1 -gt 0 ]] 18:13:55 +++ key=--grafana 18:13:55 +++ case $key in 18:13:55 +++ grafana=true 18:13:55 +++ shift 18:13:55 +++ [[ 0 -gt 0 ]] 18:13:55 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:55 +++ echo 'Configuring docker compose...' 18:13:55 Configuring docker compose... 18:13:55 +++ source export-ports.sh 18:13:55 +++ source get-versions.sh 18:13:58 +++ '[' -z api ']' 18:13:58 +++ '[' -n api ']' 18:13:58 +++ '[' api == logs ']' 18:13:58 +++ '[' true = true ']' 18:13:58 +++ echo 'Starting api application with Grafana' 18:13:58 Starting api application with Grafana 18:13:58 +++ docker-compose up -d api grafana 18:13:59 Creating network "compose_default" with the default driver 18:13:59 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:13:59 10.10.2: Pulling from mariadb 18:14:05 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:14:05 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:14:05 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:14:05 3.0.2: Pulling from onap/policy-db-migrator 18:14:09 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:14:09 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:14:09 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:14:09 3.0.2: Pulling from onap/policy-api 18:14:11 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:14:11 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:14:11 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:11 latest: Pulling from prom/prometheus 18:14:14 Digest: sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 18:14:14 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:14 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:14 latest: Pulling from grafana/grafana 18:14:20 Digest: sha256:7567a7c70a3c1d75aeeedc968d1304174a16651e55a60d1fb132a05e1e63a054 18:14:20 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:20 Creating prometheus ... 18:14:20 Creating mariadb ... 18:14:33 Creating prometheus ... done 18:14:33 Creating grafana ... 18:14:34 Creating grafana ... done 18:14:35 Creating mariadb ... done 18:14:35 Creating policy-db-migrator ... 18:14:36 Creating policy-db-migrator ... done 18:14:36 Creating policy-api ... 18:14:37 Creating policy-api ... done 18:14:37 +++ echo 'Prometheus server: http://localhost:30259' 18:14:37 Prometheus server: http://localhost:30259 18:14:37 +++ echo 'Grafana server: http://localhost:30269' 18:14:37 Grafana server: http://localhost:30269 18:14:37 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:37 ++ sleep 10 18:14:47 ++ unset http_proxy https_proxy 18:14:47 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:47 Waiting for REST to come up on localhost port 30002... 18:14:47 NAMES STATUS 18:14:47 policy-api Up 10 seconds 18:14:47 policy-db-migrator Up 11 seconds 18:14:47 grafana Up 13 seconds 18:14:47 mariadb Up 12 seconds 18:14:47 prometheus Up 14 seconds 18:14:52 NAMES STATUS 18:14:52 policy-api Up 15 seconds 18:14:52 grafana Up 18 seconds 18:14:52 mariadb Up 17 seconds 18:14:52 prometheus Up 19 seconds 18:14:57 NAMES STATUS 18:14:57 policy-api Up 20 seconds 18:14:57 grafana Up 23 seconds 18:14:57 mariadb Up 22 seconds 18:14:57 prometheus Up 24 seconds 18:15:02 NAMES STATUS 18:15:02 policy-api Up 25 seconds 18:15:02 grafana Up 28 seconds 18:15:02 mariadb Up 27 seconds 18:15:02 prometheus Up 29 seconds 18:15:02 ++ export 'SUITES=api-test.robot 18:15:02 api-slas.robot' 18:15:02 ++ SUITES='api-test.robot 18:15:02 api-slas.robot' 18:15:02 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:02 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:15:02 + load_set 18:15:02 + _setopts=hxB 18:15:02 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:15:02 ++ tr : ' ' 18:15:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:02 + set +o braceexpand 18:15:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:02 + set +o hashall 18:15:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:02 + set +o interactive-comments 18:15:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:02 + set +o xtrace 18:15:02 ++ echo hxB 18:15:02 ++ sed 's/./& /g' 18:15:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:02 + set +h 18:15:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:02 + set +x 18:15:02 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:15:02 + docker_stats 18:15:02 ++ uname -s 18:15:02 + '[' Linux == Darwin ']' 18:15:02 + sh -c 'top -bn1 | head -3' 18:15:03 top - 18:15:03 up 3 min, 0 users, load average: 2.52, 1.02, 0.39 18:15:03 Tasks: 177 total, 1 running, 101 sleeping, 0 stopped, 0 zombie 18:15:03 %Cpu(s): 10.6 us, 2.2 sy, 0.0 ni, 82.2 id, 4.8 wa, 0.0 hi, 0.1 si, 0.1 st 18:15:03 + echo 18:15:03 18:15:03 + sh -c 'free -h' 18:15:03 total used free shared buff/cache available 18:15:03 Mem: 31G 1.5G 25G 1.0M 3.9G 29G 18:15:03 Swap: 1.0G 0B 1.0G 18:15:03 + echo 18:15:03 18:15:03 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:15:03 NAMES STATUS 18:15:03 policy-api Up 25 seconds 18:15:03 grafana Up 29 seconds 18:15:03 mariadb Up 27 seconds 18:15:03 prometheus Up 29 seconds 18:15:03 + echo 18:15:03 + docker stats --no-stream 18:15:03 18:15:05 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:15:05 ae0e2ef1276d policy-api 0.35% 572.6MiB / 31.41GiB 1.78% 999kB / 710kB 0B / 0B 55 18:15:05 2bac8ef52a70 grafana 0.04% 56.19MiB / 31.41GiB 0.17% 13.6kB / 2.8kB 0B / 23.8MB 16 18:15:05 fcb02e8c8b16 mariadb 0.02% 100.9MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.2MB / 67.9MB 28 18:15:05 088c9cf7f63a prometheus 0.00% 19.5MiB / 31.41GiB 0.06% 1.45kB / 158B 4.1kB / 0B 13 18:15:05 + echo 18:15:05 18:15:05 + cd /tmp/tmp.ahTZ3KsRwY 18:15:05 + echo 'Reading the testplan:' 18:15:05 Reading the testplan: 18:15:05 + echo 'api-test.robot 18:15:05 api-slas.robot' 18:15:05 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:15:05 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:15:05 + cat testplan.txt 18:15:05 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:15:05 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:05 ++ xargs 18:15:05 + 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:05 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:05 -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:05 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:05 -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:05 + 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:05 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:05 + relax_set 18:15:05 + set +e 18:15:05 + set +o pipefail 18:15:05 + 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:05 ============================================================================== 18:15:05 api 18:15:05 ============================================================================== 18:15:05 api.Api-Test 18:15:05 ============================================================================== 18:15:06 Healthcheck :: Verify policy api health check | PASS | 18:15:06 ------------------------------------------------------------------------------ 18:15:08 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:08 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:15:08 ------------------------------------------------------------------------------ 18:15:09 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:09 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:15:09 ------------------------------------------------------------------------------ 18:15:10 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:10 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:11 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:15:11 ------------------------------------------------------------------------------ 18:15:11 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:15:11 ------------------------------------------------------------------------------ 18:15:11 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:15:11 ------------------------------------------------------------------------------ 18:15:11 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:15:11 ------------------------------------------------------------------------------ 18:15:11 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:15:11 ------------------------------------------------------------------------------ 18:15:12 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:15:12 ------------------------------------------------------------------------------ 18:15:12 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:15:12 ------------------------------------------------------------------------------ 18:15:12 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:15:12 ------------------------------------------------------------------------------ 18:15:12 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:15:12 ------------------------------------------------------------------------------ 18:15:13 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:15:13 ------------------------------------------------------------------------------ 18:15:13 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:15:13 ------------------------------------------------------------------------------ 18:15:13 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:15:13 ------------------------------------------------------------------------------ 18:15:13 api.Api-Test | PASS | 18:15:13 22 tests, 22 passed, 0 failed 18:15:13 ============================================================================== 18:15:13 api.Api-Slas 18:15:13 ============================================================================== 18:16:13 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:16:13 ------------------------------------------------------------------------------ 18:16:13 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:16:13 ------------------------------------------------------------------------------ 18:16:13 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:16:13 ------------------------------------------------------------------------------ 18:16:13 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:16:13 ------------------------------------------------------------------------------ 18:16:13 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:16:13 ------------------------------------------------------------------------------ 18:16:13 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:16:13 ------------------------------------------------------------------------------ 18:16:13 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:16:13 ------------------------------------------------------------------------------ 18:16:13 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:16:13 ------------------------------------------------------------------------------ 18:16:13 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:16:13 ------------------------------------------------------------------------------ 18:16:13 api.Api-Slas | PASS | 18:16:13 9 tests, 9 passed, 0 failed 18:16:13 ============================================================================== 18:16:13 api | PASS | 18:16:13 31 tests, 31 passed, 0 failed 18:16:13 ============================================================================== 18:16:13 Output: /tmp/tmp.ahTZ3KsRwY/output.xml 18:16:13 Log: /tmp/tmp.ahTZ3KsRwY/log.html 18:16:13 Report: /tmp/tmp.ahTZ3KsRwY/report.html 18:16:13 + RESULT=0 18:16:13 + load_set 18:16:13 + _setopts=hxB 18:16:13 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:13 ++ tr : ' ' 18:16:13 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:13 + set +o braceexpand 18:16:13 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:13 + set +o hashall 18:16:13 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:13 + set +o interactive-comments 18:16:13 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:13 + set +o xtrace 18:16:13 ++ echo hxB 18:16:13 ++ sed 's/./& /g' 18:16:13 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:13 + set +h 18:16:13 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:13 + set +x 18:16:13 + echo 'RESULT: 0' 18:16:13 RESULT: 0 18:16:13 + exit 0 18:16:13 + on_exit 18:16:13 + rc=0 18:16:13 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:16:13 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:13 NAMES STATUS 18:16:13 policy-api Up About a minute 18:16:13 grafana Up About a minute 18:16:13 mariadb Up About a minute 18:16:13 prometheus Up About a minute 18:16:13 + docker_stats 18:16:13 ++ uname -s 18:16:13 + '[' Linux == Darwin ']' 18:16:13 + sh -c 'top -bn1 | head -3' 18:16:13 top - 18:16:13 up 4 min, 0 users, load average: 0.87, 0.84, 0.38 18:16:13 Tasks: 175 total, 1 running, 99 sleeping, 0 stopped, 0 zombie 18:16:13 %Cpu(s): 9.0 us, 1.7 sy, 0.0 ni, 85.5 id, 3.7 wa, 0.0 hi, 0.1 si, 0.0 st 18:16:13 + echo 18:16:13 18:16:13 + sh -c 'free -h' 18:16:13 total used free shared buff/cache available 18:16:13 Mem: 31G 1.8G 25G 1.0M 3.9G 29G 18:16:13 Swap: 1.0G 0B 1.0G 18:16:13 + echo 18:16:13 18:16:13 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:13 NAMES STATUS 18:16:13 policy-api Up About a minute 18:16:13 grafana Up About a minute 18:16:13 mariadb Up About a minute 18:16:13 prometheus Up About a minute 18:16:13 + echo 18:16:13 18:16:13 + docker stats --no-stream 18:16:16 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:16:16 ae0e2ef1276d policy-api 0.17% 887MiB / 31.41GiB 2.76% 7MB / 2.55MB 0B / 0B 55 18:16:16 2bac8ef52a70 grafana 0.04% 58.19MiB / 31.41GiB 0.18% 14.4kB / 3.68kB 0B / 23.8MB 16 18:16:16 fcb02e8c8b16 mariadb 0.02% 101.9MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.2MB / 68.3MB 18 18:16:16 088c9cf7f63a prometheus 0.00% 25.76MiB / 31.41GiB 0.08% 55.5kB / 6.57kB 4.1kB / 0B 13 18:16:16 + echo 18:16:16 18:16:16 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:16 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:16:16 + relax_set 18:16:16 + set +e 18:16:16 + set +o pipefail 18:16:16 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:16 ++ echo 'Shut down started!' 18:16:16 Shut down started! 18:16:16 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:16 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:16:16 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:16:16 ++ source export-ports.sh 18:16:16 ++ source get-versions.sh 18:16:18 ++ echo 'Collecting logs from docker compose containers...' 18:16:18 Collecting logs from docker compose containers... 18:16:18 ++ docker-compose logs 18:16:20 ++ cat docker_compose.log 18:16:20 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.167946035Z level=info msg="Starting Grafana" version=10.3.1 commit=00a22ff8b28550d593ec369ba3da1b25780f0a4a branch=HEAD compiled=2024-01-22T18:40:42Z 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168138536Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168147766Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168151466Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168156966Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168160846Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168164656Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168167506Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168170436Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168194006Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168196686Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168199396Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168203956Z level=info msg=Target target=[all] 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168212296Z level=info msg="Path Home" path=/usr/share/grafana 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168215646Z level=info msg="Path Data" path=/var/lib/grafana 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168218506Z level=info msg="Path Logs" path=/var/log/grafana 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168221076Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168223726Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:20 grafana | logger=settings t=2024-02-04T18:14:34.168226356Z level=info msg="App mode production" 18:16:20 grafana | logger=sqlstore t=2024-02-04T18:14:34.168487408Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:20 grafana | logger=sqlstore t=2024-02-04T18:14:34.168502908Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.169075302Z level=info msg="Starting DB migrations" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.169908697Z level=info msg="Executing migration" id="create migration_log table" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.170599432Z level=info msg="Migration successfully executed" id="create migration_log table" duration=690.555µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.175512734Z level=info msg="Executing migration" id="create user table" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.175981947Z level=info msg="Migration successfully executed" id="create user table" duration=469.093µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.179008427Z level=info msg="Executing migration" id="add unique index user.login" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.17952421Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=519.283µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.182424469Z level=info msg="Executing migration" id="add unique index user.email" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.183482636Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.057397ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.188901472Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.189911209Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.009357ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.193072059Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.193679833Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=607.424µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.196697442Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.19935106Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.652548ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.204738365Z level=info msg="Executing migration" id="create user table v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.206037173Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.298838ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.214000996Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.21473682Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=735.564µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.217953102Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.219133539Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.180777ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.224349053Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.225046478Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=690.375µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.228085408Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.228607591Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=522.344µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.231350639Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.232472027Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.118678ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.236152101Z level=info msg="Executing migration" id="Update user table charset" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.236187251Z level=info msg="Migration successfully executed" id="Update user table charset" duration=36.04µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.241149903Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.243093187Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.939553ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.246294087Z level=info msg="Executing migration" id="Add missing user data" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.246509529Z level=info msg="Migration successfully executed" id="Add missing user data" duration=218.812µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.249425908Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.250552095Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.126467ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.253300183Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.254002297Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=701.334µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.259590763Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.261494856Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.902943ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.264567806Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.274317181Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.748685ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.277183029Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.277991514Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=808.055µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.282759516Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.28353762Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=777.734µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.28649419Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.287307485Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=812.785µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.290341614Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.29110807Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=766.086µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.295986091Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.296747947Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=761.306µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.299668086Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.299723887Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=57.501µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.302893047Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.303872273Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=979.366µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.306807573Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.307537928Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=729.075µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.312332959Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.312944334Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=611.015µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.315758592Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.317225231Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.466019ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.322762357Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.328475644Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.712197ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.331601085Z level=info msg="Executing migration" id="create temp_user v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.33238208Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=782.395µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.33539411Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.336134095Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=739.915µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.339033674Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.339722438Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=688.524µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.344374089Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.345064693Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=690.344µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.347945582Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.348695366Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=749.154µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.351646466Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.35227583Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=628.674µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.389216062Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.389623844Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=410.282µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.392142811Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.392433053Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=290.261µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.395305571Z level=info msg="Executing migration" id="create star table" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.395723684Z level=info msg="Migration successfully executed" id="create star table" duration=421.903µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.401725373Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.403102713Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.3807ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.406379734Z level=info msg="Executing migration" id="create org table v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.40743336Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.045656ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.41185708Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.412568424Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=708.274µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.415390293Z level=info msg="Executing migration" id="create org_user table v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.415992527Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=602.124µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.421763474Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.422889282Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.125968ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.425745591Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.426501466Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=755.324µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.429277263Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.430007788Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=730.245µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.432784096Z level=info msg="Executing migration" id="Update org table charset" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.432807606Z level=info msg="Migration successfully executed" id="Update org table charset" duration=24.24µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.438291592Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.438317442Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=23.88µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.441473213Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.441637864Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=232.211µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.444461813Z level=info msg="Executing migration" id="create dashboard table" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.44549209Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.029897ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.448696891Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.449889368Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.191497ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.455742806Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.456562733Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=813.017µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.459492311Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.460286016Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=760.905µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.463278656Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.464501344Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.221698ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.467660845Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.46851891Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=856.955µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.473181071Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.479530832Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.349411ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.482899084Z level=info msg="Executing migration" id="create dashboard v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.483546768Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=647.204µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.488647842Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.489346226Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=697.774µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.492580798Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.493299392Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=719.784µs 18:16:20 mariadb | 2024-02-04 18:14:35+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:20 mariadb | 2024-02-04 18:14:35+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:20 mariadb | 2024-02-04 18:14:35+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:20 mariadb | 2024-02-04 18:14:35+00:00 [Note] [Entrypoint]: Initializing database files 18:16:20 mariadb | 2024-02-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:20 mariadb | 2024-02-04 18:14:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:20 mariadb | 2024-02-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:20 mariadb | 18:16:20 mariadb | 18:16:20 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:20 mariadb | To do so, start the server, then issue the following command: 18:16:20 mariadb | 18:16:20 mariadb | '/usr/bin/mysql_secure_installation' 18:16:20 mariadb | 18:16:20 mariadb | which will also give you the option of removing the test 18:16:20 mariadb | databases and anonymous user created by default. This is 18:16:20 mariadb | strongly recommended for production servers. 18:16:20 mariadb | 18:16:20 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:20 mariadb | 18:16:20 mariadb | Please report any problems at https://mariadb.org/jira 18:16:20 mariadb | 18:16:20 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:20 mariadb | 18:16:20 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:20 mariadb | https://mariadb.org/get-involved/ 18:16:20 mariadb | 18:16:20 mariadb | 2024-02-04 18:14:37+00:00 [Note] [Entrypoint]: Database files initialized 18:16:20 mariadb | 2024-02-04 18:14:37+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:20 mariadb | 2024-02-04 18:14:37+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Number of transaction pools: 1 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: 128 rollback segments are active. 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.496462513Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:20 prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:20 policy-api | Waiting for mariadb port 3306... 18:16:20 mariadb | 2024-02-04 18:14:37 0 [Note] mariadbd: ready for connections. 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.496939236Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=476.813µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.500024316Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:20 prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" 18:16:20 policy-api | mariadb (172.17.0.3:3306) open 18:16:20 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:20 policy-db-migrator | Waiting for mariadb port 3306... 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.501310845Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.285899ms 18:16:20 prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" 18:16:20 policy-api | Waiting for policy-db-migrator port 6824... 18:16:20 mariadb | 2024-02-04 18:14:38+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:20 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.506770951Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:20 prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:594 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:20 policy-api | policy-db-migrator (172.17.0.5:6824) open 18:16:20 mariadb | 2024-02-04 18:14:40+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:20 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.506830781Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=60.38µs 18:16:20 prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:20 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:20 mariadb | 2024-02-04 18:14:40+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:20 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.509082316Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:20 prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:20 policy-api | 18:16:20 mariadb | 18:16:20 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.510793337Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.706161ms 18:16:20 prometheus | ts=2024-02-04T18:14:33.185Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:20 policy-api | . ____ _ __ _ _ 18:16:20 mariadb | 2024-02-04 18:14:40+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:20 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.513703826Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:20 prometheus | ts=2024-02-04T18:14:33.186Z caller=main.go:1039 level=info msg="Starting TSDB ..." 18:16:20 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:20 mariadb | 18:16:20 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.515398497Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.694261ms 18:16:20 prometheus | ts=2024-02-04T18:14:33.188Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 18:16:20 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:20 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 18:16:20 policy-db-migrator | 321 blocks 18:16:20 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:20 mariadb | 2024-02-04 18:14:40+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.52035133Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:20 prometheus | ts=2024-02-04T18:14:33.188Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:20 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:20 mariadb | #!/bin/bash -xv 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.522779465Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.422855ms 18:16:20 policy-db-migrator | Preparing upgrade release version: 0800 18:16:20 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:20 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:20 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.526044417Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:20 policy-db-migrator | Preparing upgrade release version: 0900 18:16:20 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.39µs 18:16:20 policy-api | :: Spring Boot :: (v3.1.4) 18:16:20 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.527211964Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.167247ms 18:16:20 policy-db-migrator | Preparing upgrade release version: 1000 18:16:20 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:20 policy-api | 18:16:20 mariadb | # 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.538590299Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:20 policy-db-migrator | Preparing upgrade release version: 1100 18:16:20 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:20 policy-api | [2024-02-04T18:14:51.878+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:20 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.540455341Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.861382ms 18:16:20 policy-db-migrator | Preparing upgrade release version: 1200 18:16:20 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=28.62µs wal_replay_duration=535.422µs wbl_replay_duration=210ns total_replay_duration=599.282µs 18:16:20 policy-api | [2024-02-04T18:14:51.882+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:20 mariadb | # you may not use this file except in compliance with the License. 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.545547465Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:20 policy-db-migrator | Preparing upgrade release version: 1300 18:16:20 prometheus | ts=2024-02-04T18:14:33.196Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC 18:16:20 policy-api | [2024-02-04T18:14:53.554+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:20 mariadb | # You may obtain a copy of the License at 18:16:20 policy-db-migrator | Done 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.54636426Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=816.385µs 18:16:20 prometheus | ts=2024-02-04T18:14:33.196Z caller=main.go:1063 level=info msg="TSDB started" 18:16:20 policy-api | [2024-02-04T18:14:53.640+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. 18:16:20 mariadb | # 18:16:20 policy-db-migrator | name version 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.549358099Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:20 prometheus | ts=2024-02-04T18:14:33.196Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:20 policy-api | [2024-02-04T18:14:54.055+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:20 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:20 policy-db-migrator | policyadmin 0 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.550113834Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=755.295µs 18:16:20 prometheus | ts=2024-02-04T18:14:33.197Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=892.612µs db_storage=1.19µs remote_storage=1.68µs web_handler=590ns query_engine=1.09µs scrape=248.91µs scrape_sd=125.051µs notify=25.11µs notify_sd=11.48µs rules=1.77µs tracing=5.34µs 18:16:20 policy-api | [2024-02-04T18:14:54.055+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:20 mariadb | # 18:16:20 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.55401517Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:20 prometheus | ts=2024-02-04T18:14:33.197Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." 18:16:20 policy-api | [2024-02-04T18:14:54.710+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:20 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:20 policy-db-migrator | upgrade: 0 -> 1300 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.55403984Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.68µs 18:16:20 prometheus | ts=2024-02-04T18:14:33.197Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 18:16:20 policy-api | [2024-02-04T18:14:54.721+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:20 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.557218071Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:20 policy-api | [2024-02-04T18:14:54.723+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:20 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:20 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.557240881Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=26.52µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.560803044Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:20 policy-api | [2024-02-04T18:14:54.723+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:20 mariadb | # See the License for the specific language governing permissions and 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.562645076Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.841682ms 18:16:20 policy-api | [2024-02-04T18:14:54.812+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:20 mariadb | # limitations under the License. 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.568008331Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:20 policy-api | [2024-02-04T18:14:54.813+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2870 ms 18:16:20 mariadb | 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.569907163Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.898502ms 18:16:20 policy-api | [2024-02-04T18:14:55.258+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:20 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.573629308Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:20 policy-api | [2024-02-04T18:14:55.333+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:20 mariadb | do 18:16:20 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.57688483Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.260181ms 18:16:20 policy-api | [2024-02-04T18:14:55.337+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:20 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.581208687Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:20 policy-api | [2024-02-04T18:14:55.378+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:20 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.583047919Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.839082ms 18:16:20 policy-api | [2024-02-04T18:14:55.757+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:20 mariadb | done 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.587803881Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:20 policy-api | [2024-02-04T18:14:55.778+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.587982782Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=179.121µs 18:16:20 policy-api | [2024-02-04T18:14:55.876+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 18:16:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.591670266Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:20 policy-api | [2024-02-04T18:14:55.879+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:20 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.59242809Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=757.324µs 18:16:20 policy-api | [2024-02-04T18:14:55.908+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:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.596095215Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:20 policy-api | [2024-02-04T18:14:55.909+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.597369893Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.271438ms 18:16:20 policy-api | [2024-02-04T18:14:57.709+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.602093414Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:20 policy-api | [2024-02-04T18:14:57.713+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.602134215Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=42.751µs 18:16:20 policy-api | [2024-02-04T18:14:58.911+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.605451996Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:20 policy-api | [2024-02-04T18:14:59.633+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:20 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.606720194Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.259368ms 18:16:20 policy-api | [2024-02-04T18:15:00.751+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:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.610134717Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:20 policy-api | [2024-02-04T18:15:00.972+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@c0d114b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2079ce51, org.springframework.security.web.context.SecurityContextHolderFilter@5f6b6f2, org.springframework.security.web.header.HeaderWriterFilter@712ce4f1, org.springframework.security.web.authentication.logout.LogoutFilter@13e6b26c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@136cd71b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@45fa7f1a, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@44264fb6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1692d173, org.springframework.security.web.access.ExceptionTranslationFilter@6e04275e, org.springframework.security.web.access.intercept.AuthorizationFilter@46ae1e6b] 18:16:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.610747721Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=609.934µs 18:16:20 policy-api | [2024-02-04T18:15:01.865+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.61380571Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:20 policy-api | [2024-02-04T18:15:01.916+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.620986637Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.180447ms 18:16:20 policy-api | [2024-02-04T18:15:01.936+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.625209385Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:20 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.625830179Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=619.614µs 18:16:20 policy-api | [2024-02-04T18:15:01.954+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.795 seconds (process running for 11.434) 18:16:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.629205571Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:20 policy-api | [2024-02-04T18:15:06.000+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.629990497Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=784.756µs 18:16:20 policy-api | [2024-02-04T18:15:06.000+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 18:16:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.633371629Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:20 policy-api | [2024-02-04T18:15:06.002+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms 18:16:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.634219414Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=847.295µs 18:16:20 policy-db-migrator | 18:16:20 policy-api | [2024-02-04T18:15:08.442+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 18:16:20 mariadb | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.638775244Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:20 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:20 policy-api | [] 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.639121016Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=345.322µs 18:16:20 policy-db-migrator | -------------- 18:16:20 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:20 policy-api | [2024-02-04T18:15:08.550+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.64290775Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:20 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:20 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:20 policy-api | [2024-02-04T18:15:08.796+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.643898327Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=988.247µs 18:16:20 policy-db-migrator | -------------- 18:16:20 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:20 policy-api | [2024-02-04T18:15:10.095+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.647552261Z level=info msg="Executing migration" id="Add check_sum column" 18:16:20 policy-db-migrator | 18:16:20 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:20 policy-db-migrator | 18:16:20 policy-api | [2024-02-04T18:15:12.047+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.650200899Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.649398ms 18:16:20 mariadb | 18:16:20 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:20 policy-api | [2024-02-04T18:15:12.352+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.654336215Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:20 mariadb | 2024-02-04 18:14:41+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:20 policy-api | [2024-02-04T18:15:12.585+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:20 mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.655205252Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=868.987µs 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:20 policy-api | [2024-02-04T18:15:12.817+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.658758465Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Starting shutdown... 18:16:20 policy-db-migrator | -------------- 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:20 policy-api | [2024-02-04T18:15:13.058+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.658987816Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=225.891µs 18:16:20 policy-db-migrator | 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Buffer pool(s) dump completed at 240204 18:14:41 18:16:20 policy-api | [2024-02-04T18:15:13.289+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.662609009Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:20 policy-db-migrator | 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.662994222Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=385.183µs 18:16:20 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Shutdown completed; log sequence number 340331; transaction id 298 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.667742593Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:20 policy-db-migrator | -------------- 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd: Shutdown complete 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.669304214Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.562601ms 18:16:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:20 mariadb | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.672858797Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:20 policy-db-migrator | -------------- 18:16:20 mariadb | 2024-02-04 18:14:41+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.675340133Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.480376ms 18:16:20 policy-db-migrator | 18:16:20 mariadb | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.715654626Z level=info msg="Executing migration" id="create data_source table" 18:16:20 policy-db-migrator | 18:16:20 mariadb | 2024-02-04 18:14:41+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:20 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.717225997Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.571261ms 18:16:20 mariadb | 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.722300391Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.723576488Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.275827ms 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.727138502Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Number of transaction pools: 1 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.728005508Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=866.826µs 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.73139804Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.732178004Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=780.094µs 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:20 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.736574974Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.737366928Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=791.914µs 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.740800521Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.748632442Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.831861ms 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.752227286Z level=info msg="Executing migration" id="create data_source table v2" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: 128 rollback segments are active. 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.753145442Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=918.016µs 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:20 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.757232859Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.758124914Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=891.755µs 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: log sequence number 340331; transaction id 299 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.761238555Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.762211871Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=972.816µs 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.765734444Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.766395358Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=658.514µs 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:20 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.770559766Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.772966402Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.406606ms 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] Server socket created on IP: '::'. 18:16:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.776445414Z level=info msg="Executing migration" id="Add secure json data column" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd: ready for connections. 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.7787982Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.352566ms 18:16:20 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:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.782054661Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:20 mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Buffer pool(s) load completed at 240204 18:14:41 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.782203992Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=152.151µs 18:16:20 mariadb | 2024-02-04 18:14:42 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:20 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.786298928Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:20 mariadb | 2024-02-04 18:14:42 23 [Warning] Aborted connection 23 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.786595251Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=299.133µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.789312369Z level=info msg="Executing migration" id="Add read_only data column" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.793122513Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.807244ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.796968558Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.79729674Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=327.862µs 18:16:20 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.800540152Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.800811714Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=271.342µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.804983501Z level=info msg="Executing migration" id="Add uid column" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.808747275Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.763924ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.812555971Z level=info msg="Executing migration" id="Update uid value" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.813039614Z level=info msg="Migration successfully executed" id="Update uid value" duration=478.133µs 18:16:20 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.816408155Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.817567764Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.158749ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.828423304Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.829489681Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.066217ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.832000717Z level=info msg="Executing migration" id="create api_key table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.832879913Z level=info msg="Migration successfully executed" id="create api_key table" duration=879.246µs 18:16:20 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.835343519Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.836260635Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=917.016µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.839665718Z level=info msg="Executing migration" id="add index api_key.key" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.840625284Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=959.286µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.843583503Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.844580609Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=996.556µs 18:16:20 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.848624706Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.849553272Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=928.676µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.854034572Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.85538423Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.349188ms 18:16:20 policy-db-migrator | 18:16:20 policy-db-migrator | 18:16:20 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.887796473Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.888422147Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=628.483µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.893076297Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.904783674Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.708227ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.908042305Z level=info msg="Executing migration" id="create api_key table v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.908815089Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=767.404µs 18:16:20 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.91201642Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.912891667Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=875.207µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.917204684Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.918172971Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=966.917µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.922065137Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.923514006Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.442288ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.927716764Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.928170466Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=453.172µs 18:16:20 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.931107836Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.931724129Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=621.773µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.935546125Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.935745976Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=199.481µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.939350119Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.943551357Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.204728ms 18:16:20 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.947377652Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.952058173Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=4.674341ms 18:16:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.956692903Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.956974414Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=281.361µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.960348157Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.963070215Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.721428ms 18:16:20 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.966478437Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.969199615Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.720868ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.973449192Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.974237648Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=788.346µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.97755879Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.978191774Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=632.724µs 18:16:20 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.981423165Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.98224916Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=825.935µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:34.986911491Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.987786106Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=873.875µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.990917027Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.991791483Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=866.816µs 18:16:20 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.994951743Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.995889289Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=936.926µs 18:16:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.999803295Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:34.999985436Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=181.881µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.003301132Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.003437663Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=136.291µs 18:16:20 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.006868441Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.011303378Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.434537ms 18:16:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.014894857Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.017588949Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.685182ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.021947686Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.022120877Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=173.121µs 18:16:20 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.063049533Z level=info msg="Executing migration" id="create quota table v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.064224594Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.177151ms 18:16:20 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:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.068060235Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.069524828Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.468943ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.075416116Z level=info msg="Executing migration" id="Update quota table charset" 18:16:20 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.075484557Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=75.191µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.081199924Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.082009051Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=810.007µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.084739104Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.08559172Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=852.086µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.088303913Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:20 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.091202177Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.892594ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.095504784Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.095535404Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=31.61µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.098283797Z level=info msg="Executing migration" id="create session table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.099029553Z level=info msg="Migration successfully executed" id="create session table" duration=739.215µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.101733005Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:20 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.101815006Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=82.481µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.104672379Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.10475592Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=77.321µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.108888095Z level=info msg="Executing migration" id="create playlist table v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.10955425Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=665.145µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.112513645Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:20 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.113581024Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.066028ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.116567598Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.116606129Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=40.101µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.121238377Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.121266127Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=28.78µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.124180902Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:20 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.127166877Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.988635ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.13000518Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.133309328Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.302638ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.136142501Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.136222022Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=79.981µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.140035824Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:20 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.140119365Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=83.341µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.143232681Z level=info msg="Executing migration" id="create preferences table v3" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.143931166Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=697.405µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.148186472Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.148225082Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=40.06µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.152662029Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:20 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.157486479Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.872381ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.160083991Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.160232062Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=148.281µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.162964195Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.16599938Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.035055ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.168896014Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:20 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.171869959Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.971495ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.176280526Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.176343756Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=63.83µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.179075539Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.179943226Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=867.207µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.183165593Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.184571085Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.404302ms 18:16:20 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.187952013Z level=info msg="Executing migration" id="create alert table v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.189323084Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.369231ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.192208858Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.193175386Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=966.278µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.197161359Z level=info msg="Executing migration" id="add index alert state" 18:16:20 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.198193678Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.031499ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.202096491Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.203007688Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=911.207µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.206293065Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.207086202Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=793.807µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.254314456Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:20 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.255777467Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.466601ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.259086975Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.260461336Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.376391ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.263403481Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.278122073Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.717282ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.283623879Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:20 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.284093063Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=469.344µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.286955346Z 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:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.288353659Z 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=1.406453ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.291527885Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.291983429Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=454.164µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.296617218Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:20 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.297141492Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=530.794µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.300029896Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.300749992Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=725.436µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.309122771Z level=info msg="Executing migration" id="Add column is_default" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.3126298Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.500989ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.320942979Z level=info msg="Executing migration" id="Add column frequency" 18:16:20 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.324791222Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.848483ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.327754387Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.331567968Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.814072ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.334812725Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.338838579Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.110695ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.343824251Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.344903459Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.079108ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.348132266Z level=info msg="Executing migration" id="Update alert table charset" 18:16:20 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.348299637Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=113.781µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.352547653Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.352693474Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=145.081µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.35712809Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.358091159Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=964.259µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.363714696Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:20 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.36546027Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.749524ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.368423815Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.369004089Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=562.524µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.371742042Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.37267808Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=935.448µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.378252617Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:20 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.379829499Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.576642ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.383874654Z level=info msg="Executing migration" id="Add for to alert table" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.390501659Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.628355ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.428151962Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:20 policy-db-migrator | 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.434121102Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=5.96958ms 18:16:20 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.439595427Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.439773779Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=178.422µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.443887323Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.444776241Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=888.748µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.450331847Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.450927382Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=595.355µs 18:16:20 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.455355008Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.458159992Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=2.800713ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.460575732Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.460636292Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=61.82µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.463198653Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.463844789Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=646.366µs 18:16:20 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.469153013Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.470072301Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=918.688µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.472691423Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.472777744Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=86.831µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.475431325Z level=info msg="Executing migration" id="create annotation table v5" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.476239012Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=802.077µs 18:16:20 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.481229334Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.482129431Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=897.637µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.484985115Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.485871962Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=886.597µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.488611415Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.489488913Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=877.268µs 18:16:20 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.492493698Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.493708037Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.213899ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.498430207Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.499352995Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=922.488µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.50243452Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.50246219Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.61µs 18:16:20 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.508151467Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.512453484Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.305027ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.515219287Z level=info msg="Executing migration" id="Drop category_id index" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.516071224Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=855.257µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.523624627Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.527532869Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.908022ms 18:16:20 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.530320572Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.530963837Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=642.555µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.533858161Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.53478712Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=928.799µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.540621928Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.542162761Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.540963ms 18:16:20 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.546510767Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.559908439Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.397932ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.562811393Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.563270337Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=458.834µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.668891116Z 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:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.67066751Z 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.779354ms 18:16:20 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.67546317Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.675774323Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=311.103µs 18:16:20 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:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.679176591Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.679893907Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=717.036µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.684128403Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:20 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.684326184Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=204.152µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.688473409Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.692545722Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.066183ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.696147282Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.701354496Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.206794ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.706260767Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:20 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.707185854Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=925.037µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.713109234Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.713950591Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=841.637µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.718107015Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.718329767Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=222.872µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.72346012Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:20 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.730505839Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=7.046549ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.736485998Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.737744238Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.25226ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.742144285Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.742526369Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=382.594µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.745465643Z level=info msg="Executing migration" id="Move region to single row" 18:16:20 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.745817426Z level=info msg="Migration successfully executed" id="Move region to single row" duration=348.613µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.749362845Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.750181323Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=813.498µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.755689079Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.75712356Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.438911ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.761252005Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:20 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.762642806Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.390311ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.768064041Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.769370471Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.3173ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.774339273Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.77516203Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=825.977µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.778329007Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.779643488Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.314581ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.78472251Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:20 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.784849661Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=127.421µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.789083295Z level=info msg="Executing migration" id="create test_data table" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.790182055Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.09841ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.79441549Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.795320988Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=905.288µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.801910623Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:20 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.803268025Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.356922ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.843854562Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.84594808Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=2.084848ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.849049785Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.849390678Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=340.733µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.855607889Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:20 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.856345345Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=737.486µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.861949792Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:20 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:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.862102994Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=153.762µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.866264308Z level=info msg="Executing migration" id="create team table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.867411238Z level=info msg="Migration successfully executed" id="create team table" duration=1.14636ms 18:16:20 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.871640433Z level=info msg="Executing migration" id="add index team.org_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.873793101Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=2.139318ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.879287297Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.880493457Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.20583ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.884359238Z level=info msg="Executing migration" id="Add column uid in team" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.888867887Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.509138ms 18:16:20 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.892380996Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.892549937Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=165.991µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.898482237Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.900546173Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=2.062967ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.905614446Z level=info msg="Executing migration" id="create team member table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.906850836Z level=info msg="Migration successfully executed" id="create team member table" duration=1.22157ms 18:16:20 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.909862802Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.910806519Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=943.047µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.916751999Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.918061989Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.30933ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.922203054Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.923807148Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.594714ms 18:16:20 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.928331245Z level=info msg="Executing migration" id="Add column email to team table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.935827818Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.496873ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.941632126Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.944898643Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.266317ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.948614603Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.953397313Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.78296ms 18:16:20 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.956509029Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.957126994Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=618.925µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:35.963246086Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.964850468Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.603762ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.97458616Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:35.978806945Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=4.229875ms 18:16:20 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.019113531Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.02027173Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.159449ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.027027355Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.02876928Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.741835ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.03352035Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.034441357Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=922.237µs 18:16:20 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.039452879Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.041489576Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=2.035817ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.049521912Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.050714702Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.19687ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.055175869Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.055790975Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=614.876µs 18:16:20 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.061140089Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.061432102Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=292.013µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.067052858Z level=info msg="Executing migration" id="create tag table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.068201617Z level=info msg="Migration successfully executed" id="create tag table" duration=1.148089ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.074319028Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.075941162Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.621524ms 18:16:20 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.079754733Z level=info msg="Executing migration" id="create login attempt table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.080942323Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.18701ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.085242139Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.086187947Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=945.598µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.09145014Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.09260871Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.15718ms 18:16:20 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.097839683Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.11925539Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.417687ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.123066503Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.123754858Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=688.835µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.1275823Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.128420427Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=837.767µs 18:16:20 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.132162468Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.13237767Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=215.362µs 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.135130023Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.135582766Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=452.293µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.139099285Z level=info msg="Executing migration" id="create user auth table" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.13961058Z level=info msg="Migration successfully executed" id="create user auth table" duration=511.165µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.142533674Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:20 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.143464802Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=930.858µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.146719178Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.146784909Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=66.581µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.152434176Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.157834611Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.399955ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.205530506Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.212460155Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=6.931509ms 18:16:20 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.218995978Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.22398664Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.990272ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.228019983Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.234505207Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.489214ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.239133385Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.240175314Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.041849ms 18:16:20 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.2445819Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.252808429Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.221789ms 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.258648597Z level=info msg="Executing migration" id="create server_lock table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.259243882Z level=info msg="Migration successfully executed" id="create server_lock table" duration=594.895µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.263186245Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.264824438Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.637613ms 18:16:20 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.291882373Z level=info msg="Executing migration" id="create user auth token table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.293401455Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.518842ms 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.326800012Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.328734449Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.932787ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.335838588Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.336750255Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=911.887µs 18:16:20 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.339871661Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.341880418Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=2.008367ms 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.402799384Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.411076081Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.296898ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.417901588Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.419002377Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.101109ms 18:16:20 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.423525775Z level=info msg="Executing migration" id="create cache_data table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.424289381Z level=info msg="Migration successfully executed" id="create cache_data table" duration=763.016µs 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.43020915Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.431496091Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.286471ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.438199356Z level=info msg="Executing migration" id="create short_url table v1" 18:16:20 policy-db-migrator | 18:16:20 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.439633109Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.434943ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.447956738Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.449335519Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.379021ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.454372081Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.454442711Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=71.65µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.458458554Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:20 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.458610026Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=161.181µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.462813121Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.463740478Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=927.497µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.467631931Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.468607749Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=975.648µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.474618059Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:20 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.4759024Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.289181ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.478784794Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.478893885Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=108.9µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.48320136Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.484606702Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.405102ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.490606042Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:20 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.492127274Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.521562ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.495724594Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.497318857Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.593623ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.501823074Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.502741782Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=918.288µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.50727666Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:20 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.516098823Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.823673ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.519569891Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.520195376Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=625.385µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.526340528Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.526472879Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=138.181µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.530496742Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:20 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.531751893Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.255151ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.536479822Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:20 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.538322287Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.846345ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.572275119Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.574071414Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.800115ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.57717783Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:20 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.577275271Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=98.511µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.581559345Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:20 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.582440164Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=880.639µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.58685722Z level=info msg="Executing migration" id="create alert_instance table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.588308132Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.449822ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.591998472Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:20 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.593701447Z 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.701155ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.599184753Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:20 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.60011525Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=931.848µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.604716508Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.611922178Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.20568ms 18:16:20 policy-db-migrator | 18:16:20 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.615918651Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.616908109Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=989.158µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.619779383Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.62063031Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=850.947µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.625608691Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:20 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.665101049Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=39.486598ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.669411075Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.703600749Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.188273ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.709365096Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.710068332Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=705.436µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.720490278Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:20 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.722228533Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.737115ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.726896411Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.736864304Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.966703ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.742228459Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.746793826Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.563847ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.751263214Z level=info msg="Executing migration" id="create alert_rule table" 18:16:20 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.752104871Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=841.427µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.756482247Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.757932759Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.450522ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.763899708Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.765774294Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.871746ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.770539834Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:20 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.771644523Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.104449ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.775846628Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.775912638Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=66.52µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.78212857Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.791407177Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.277926ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.795016007Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:20 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.80143105Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.414543ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.804379375Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.810712607Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.330672ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.815016573Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.816033661Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.021038ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.822499034Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:20 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.823503183Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.003569ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.827826569Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.833945119Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.11351ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.840751496Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.846848587Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.096371ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.849950872Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:20 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.85091512Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=963.498µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.856298645Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.862307255Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.00827ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.899808236Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.909445166Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.63806ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.914191205Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:20 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.914255726Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=64.921µs 18:16:20 policy-db-migrator | -------------- 18:16:20 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:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.917627933Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.918686073Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.05614ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.924485391Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:20 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.926292205Z 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.806544ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.931459298Z 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:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.932592358Z 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.13263ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.938266065Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.938412986Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=146.571µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.94852291Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.958061319Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.543009ms 18:16:20 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.961860281Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.970960556Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=9.099255ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:36.975229602Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.981150461Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=5.922369ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.987331872Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:36.996850851Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.518589ms 18:16:20 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.001419948Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.008244534Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.819366ms 18:16:20 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.012752714Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.012848304Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=96.4µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.01664028Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.01962908Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=2.97968ms 18:16:20 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.028825201Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.040892852Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=12.03076ms 18:16:20 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.080594946Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.080760218Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=174.142µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.428388789Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.438362595Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.978086ms 18:16:20 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.574254782Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.576326205Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=2.071813ms 18:16:20 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.583858746Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.591050004Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=7.188778ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.600845469Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.602136518Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.291309ms 18:16:20 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.611675862Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.613267793Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.591571ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:37.622412474Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.63243447Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.021526ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.64138033Z level=info msg="Executing migration" id="create provenance_type table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.642697329Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.321599ms 18:16:20 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.646534435Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.647680972Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.146297ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:37.653197869Z level=info msg="Executing migration" id="create alert_image table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.653922834Z level=info msg="Migration successfully executed" id="create alert_image table" duration=725.085µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.65928445Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.661075612Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.790932ms 18:16:20 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.664060612Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.664127032Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=67.22µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.666925081Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.667852507Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=924.726µs 18:16:20 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.672401337Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.673433264Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.032117ms 18:16:20 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.676427324Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.676903747Z 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:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.679847596Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.680339981Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=492.195µs 18:16:20 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.684078435Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.685244493Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.165878ms 18:16:20 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.689362981Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.695978104Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.615103ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.729387567Z level=info msg="Executing migration" id="create library_element table v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.731032219Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.642082ms 18:16:20 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.735941321Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.737736043Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.794562ms 18:16:20 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.742259834Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:20 policy-db-migrator | JOIN pdpstatistics b 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.743611502Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.352278ms 18:16:20 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.747509939Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:20 policy-db-migrator | SET a.id = b.id 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.748786887Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.278388ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.753852371Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.755011698Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.159457ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.75825021Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:20 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.75828688Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=39.47µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.76273781Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:20 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.762932981Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=193.441µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.767975975Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.768574169Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=597.784µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.774505109Z level=info msg="Executing migration" id="create data_keys table" 18:16:20 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.77617494Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.668782ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.780065096Z level=info msg="Executing migration" id="create secrets table" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:37.780857821Z level=info msg="Migration successfully executed" id="create secrets table" duration=792.705µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.784358515Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.830508402Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.147237ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.836345281Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:20 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.842608674Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.262783ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.845895256Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:20 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.846050457Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=154.961µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.849146727Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.895525976Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.379149ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.903424479Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:20 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.950499353Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=47.074644ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.954890223Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:37.955471757Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=579.614µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.958550067Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.959281722Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=731.275µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.962379773Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:20 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.962719615Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=339.802µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.967807609Z level=info msg="Executing migration" id="create permission table" 18:16:20 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.969191309Z level=info msg="Migration successfully executed" id="create permission table" duration=1.38128ms 18:16:20 policy-db-migrator | -------------- 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.974381293Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.976033014Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.651261ms 18:16:20 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.979458546Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.980557844Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.098788ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:37.984967883Z level=info msg="Executing migration" id="create role table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.98580836Z level=info msg="Migration successfully executed" id="create role table" duration=840.307µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.989103831Z level=info msg="Executing migration" id="add column display_name" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:37.998348893Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.246082ms 18:16:20 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.001568234Z level=info msg="Executing migration" id="add column group_name" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.008779593Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.210839ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:38.013313622Z level=info msg="Executing migration" id="add index role.org_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.014021928Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=708.246µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.016866207Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.017718382Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=850.045µs 18:16:20 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.020841603Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.022559365Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.717382ms 18:16:20 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.027467027Z level=info msg="Executing migration" id="create team role table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.028743966Z level=info msg="Migration successfully executed" id="create team role table" duration=1.275159ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.032269329Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.034167092Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.894743ms 18:16:20 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.037534284Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.038700933Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.165038ms 18:16:20 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.212970981Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.21428805Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.321048ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.2479293Z level=info msg="Executing migration" id="create user role table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.248715495Z level=info msg="Migration successfully executed" id="create user role table" duration=789.935µs 18:16:20 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.263714584Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.265847349Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=2.136265ms 18:16:20 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.307537042Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.308755291Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.218339ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.314334777Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.315503645Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.169918ms 18:16:20 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.320421287Z level=info msg="Executing migration" id="create builtin role table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.321877667Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.54681ms 18:16:20 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.327191481Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.32834086Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.147839ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.331206808Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.332263465Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.056417ms 18:16:20 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.362598855Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.374619614Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=12.022899ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.378702021Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.379457656Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=755.385µs 18:16:20 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.41661551Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.418475402Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.859642ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.422111176Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.423129653Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.021017ms 18:16:20 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.427672863Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.429092912Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.4226ms 18:16:20 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.432660846Z level=info msg="Executing migration" id="create seed assignment table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.433860074Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.201388ms 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.437425287Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.438389723Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=967.176µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.442698172Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.449237995Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=6.540813ms 18:16:20 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:20 policy-db-migrator | -------------- 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.453037569Z level=info msg="Executing migration" id="permission kind migration" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.458827417Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.786858ms 18:16:20 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.46215455Z level=info msg="Executing migration" id="permission attribute migration" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.470825627Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.667637ms 18:16:20 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.475378336Z level=info msg="Executing migration" id="permission identifier migration" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.483784701Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.406305ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.487079064Z level=info msg="Executing migration" id="add permission identifier index" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.487841649Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=762.405µs 18:16:20 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.490997109Z level=info msg="Executing migration" id="create query_history table v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.491626523Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=629.034µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.495721741Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.497700633Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.978652ms 18:16:20 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.502808357Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.502948418Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=141.051µs 18:16:20 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.508329913Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.508393663Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=44.48µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.512455011Z level=info msg="Executing migration" id="teams permissions migration" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.513260366Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=807.655µs 18:16:20 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.51688258Z level=info msg="Executing migration" id="dashboard permissions" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.517901147Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.020097ms 18:16:20 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.52149191Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.522149534Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=656.044µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.525240294Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:20 policy-db-migrator | msg 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.525462396Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=223.702µs 18:16:20 policy-db-migrator | upgrade to 1100 completed 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.529373922Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.529897665Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=523.503µs 18:16:20 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.533311567Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.534502045Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.191018ms 18:16:20 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.538024679Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.539095396Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.069647ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.54277825Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.550945073Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.165113ms 18:16:20 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.555381403Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.555451013Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=70.26µs 18:16:20 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.624499408Z level=info msg="Executing migration" id="create correlation table v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.626256939Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.759271ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.630158815Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.632124637Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.966702ms 18:16:20 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.641169227Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.643785145Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.615577ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.646883265Z level=info msg="Executing migration" id="add correlation config column" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.656203166Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.320261ms 18:16:20 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.659632438Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.660659066Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.026258ms 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:38.664700302Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.665748789Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.043687ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.669136872Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.700267496Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.105434ms 18:16:20 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.70692435Z level=info msg="Executing migration" id="create correlation v2" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.708018687Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.093667ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.711630671Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.712918359Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.285878ms 18:16:20 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.71755843Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:20 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:20 grafana | logger=migrator t=2024-02-04T18:14:38.719585843Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.111864ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.724546435Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.726666559Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.121174ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.732111246Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:20 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.732465388Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=348.732µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.735814949Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.736754236Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=933.767µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.739981597Z level=info msg="Executing migration" id="add provisioning column" 18:16:20 policy-db-migrator | TRUNCATE TABLE sequence 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.74960009Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.617073ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.754798725Z level=info msg="Executing migration" id="create entity_events table" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.75567921Z level=info msg="Migration successfully executed" id="create entity_events table" duration=880.795µs 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.761242837Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:20 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.762285124Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.043207ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.765292764Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:20 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.765863277Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.813977144Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.814945231Z 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:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.818343813Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:20 policy-db-migrator | DROP TABLE pdpstatistics 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.819716331Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.372658ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.823254025Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.824380142Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.126007ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.829913329Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:20 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.831062156Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.149247ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.833960995Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:20 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.835196374Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.234819ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.838143443Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.83931463Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.170557ms 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.843917981Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:20 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.845043808Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.125317ms 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.848056768Z level=info msg="Executing migration" id="Drop public config table" 18:16:20 policy-db-migrator | DROP TABLE statistics_sequence 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.848884644Z level=info msg="Migration successfully executed" id="Drop public config table" duration=829.576µs 18:16:20 policy-db-migrator | -------------- 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.853466494Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:20 policy-db-migrator | 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.854571711Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.104657ms 18:16:20 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.8573604Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:20 policy-db-migrator | name version 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.858622068Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.259498ms 18:16:20 policy-db-migrator | policyadmin 1300 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.861843039Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:20 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.863051577Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.207808ms 18:16:20 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.867642647Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:20 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.868610514Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=967.366µs 18:16:20 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.871548933Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:20 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.906291291Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.734048ms 18:16:20 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.909403671Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:20 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.916180747Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.776676ms 18:16:20 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.920648286Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:20 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.929157751Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.508905ms 18:16:20 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.932253891Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:20 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.932436744Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=182.543µs 18:16:20 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.935494094Z level=info msg="Executing migration" id="add share column" 18:16:20 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.941414603Z level=info msg="Migration successfully executed" id="add share column" duration=5.920189ms 18:16:20 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.945768971Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:20 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.945988492Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=222.711µs 18:16:20 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.949065152Z level=info msg="Executing migration" id="create file table" 18:16:20 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.950033579Z level=info msg="Migration successfully executed" id="create file table" duration=967.417µs 18:16:20 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.953547612Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:20 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.955756367Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.207895ms 18:16:20 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.966620488Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:20 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.967715315Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.095397ms 18:16:20 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.970894176Z level=info msg="Executing migration" id="create file_meta table" 18:16:20 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.972019824Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.124428ms 18:16:20 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.975333555Z level=info msg="Executing migration" id="file table idx: path key" 18:16:20 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.977404559Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.070494ms 18:16:20 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.983852092Z level=info msg="Executing migration" id="set path collation in file table" 18:16:20 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.983918422Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=67.53µs 18:16:20 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.98667413Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:20 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.986737661Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=64.221µs 18:16:20 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.989077996Z level=info msg="Executing migration" id="managed permissions migration" 18:16:20 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.989956562Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=878.546µs 18:16:20 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.995172396Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:20 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.995502888Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=327.792µs 18:16:20 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:38.999509204Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:20 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.000409731Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=899.147µs 18:16:20 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.003537341Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:20 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.012390678Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.852497ms 18:16:20 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.015449524Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:20 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.015635786Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=185.982µs 18:16:20 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.020522107Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:20 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.021768448Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.24411ms 18:16:20 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.024750613Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:20 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.025445789Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=695.576µs 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.028932019Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:20 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.029356042Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=421.383µs 18:16:20 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.03505369Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:20 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.035837947Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=784.337µs 18:16:20 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.039022394Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:20 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.049114409Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.092505ms 18:16:20 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.052371927Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:20 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.058699111Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.326844ms 18:16:20 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.061752777Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:20 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.062879386Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.125149ms 18:16:20 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.068379672Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:20 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.18273943Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=114.341768ms 18:16:20 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.187754223Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:20 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.188789311Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.034868ms 18:16:20 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.192029829Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:20 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.19330332Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.273241ms 18:16:20 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.198503834Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:20 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.235557479Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.053015ms 18:16:20 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.239093369Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:20 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.239369351Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=275.722µs 18:16:20 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.244311623Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:20 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.244570655Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=259.662µs 18:16:20 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.248508359Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:20 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.248917413Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=412.794µs 18:16:20 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.252841306Z level=info msg="Executing migration" id="create folder table" 18:16:20 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.254361498Z level=info msg="Migration successfully executed" id="create folder table" duration=1.514542ms 18:16:20 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.26034374Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:20 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.261629811Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.284241ms 18:16:20 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.266078579Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:20 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.268049695Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.970396ms 18:16:20 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.271807998Z level=info msg="Executing migration" id="Update folder title length" 18:16:20 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.271897579Z level=info msg="Migration successfully executed" id="Update folder title length" duration=90.641µs 18:16:20 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.276468397Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:20 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.277787659Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.318862ms 18:16:20 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.281303979Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:20 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.282763822Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.456973ms 18:16:20 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.328651363Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:20 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.329900163Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.24832ms 18:16:20 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.334439912Z level=info msg="Executing migration" id="Sync dashboard and folder table" 18:16:20 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.335162778Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=722.656µs 18:16:20 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.338645048Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 18:16:20 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.339103542Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=454.144µs 18:16:20 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.342958135Z level=info msg="Executing migration" id="create anon_device table" 18:16:20 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.343870212Z level=info msg="Migration successfully executed" id="create anon_device table" duration=912.327µs 18:16:20 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.348763114Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:20 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.350084006Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.320492ms 18:16:20 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.353662786Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:20 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.354823826Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.16014ms 18:16:20 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.358281536Z level=info msg="Executing migration" id="create signing_key table" 18:16:20 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.359130593Z level=info msg="Migration successfully executed" id="create signing_key table" duration=845.727µs 18:16:20 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.363269118Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:20 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.364441198Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.17166ms 18:16:20 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.367947468Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:20 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.369111288Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.16576ms 18:16:20 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.372482217Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:20 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.372783589Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=301.942µs 18:16:20 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.377206567Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:16:20 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.386564717Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.35645ms 18:16:20 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.389960336Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:16:20 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.390659052Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=699.126µs 18:16:20 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.394450604Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:16:20 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.395632134Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.18036ms 18:16:20 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.399105814Z level=info msg="Executing migration" id="create sso_setting table" 18:16:20 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.400079272Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=973.248µs 18:16:20 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0402241814421100u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.405666809Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:16:20 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0402241814421200u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.406705249Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.07647ms 18:16:20 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0402241814421200u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.411388589Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:16:20 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0402241814421200u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.411884203Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=496.414µs 18:16:20 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0402241814421200u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=migrator t=2024-02-04T18:14:39.415435573Z level=info msg="migrations completed" performed=526 skipped=0 duration=5.245555926s 18:16:20 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0402241814421300u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=sqlstore t=2024-02-04T18:14:39.424917524Z level=info msg="Created default admin" user=admin 18:16:20 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0402241814421300u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=sqlstore t=2024-02-04T18:14:39.425222526Z level=info msg="Created default organization" 18:16:20 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0402241814421300u 1 2024-02-04 18:14:49 18:16:20 grafana | logger=secrets t=2024-02-04T18:14:39.430260239Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:20 policy-db-migrator | policyadmin: OK @ 1300 18:16:20 grafana | logger=plugin.store t=2024-02-04T18:14:39.446968292Z level=info msg="Loading plugins..." 18:16:20 grafana | logger=local.finder t=2024-02-04T18:14:39.484244671Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:20 grafana | logger=plugin.store t=2024-02-04T18:14:39.484322301Z level=info msg="Plugins loaded" count=55 duration=37.354979ms 18:16:20 grafana | logger=query_data t=2024-02-04T18:14:39.48664919Z level=info msg="Query Service initialization" 18:16:20 grafana | logger=live.push_http t=2024-02-04T18:14:39.490268962Z level=info msg="Live Push Gateway initialization" 18:16:20 grafana | logger=ngalert.migration t=2024-02-04T18:14:39.503520644Z level=info msg=Starting 18:16:20 grafana | logger=ngalert.migration orgID=1 t=2024-02-04T18:14:39.504439733Z level=info msg="Migrating alerts for organisation" 18:16:20 grafana | logger=ngalert.migration orgID=1 t=2024-02-04T18:14:39.505263979Z level=info msg="Alerts found to migrate" alerts=0 18:16:20 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-04T18:14:39.507871502Z level=info msg="Completed legacy migration" 18:16:20 grafana | logger=infra.usagestats.collector t=2024-02-04T18:14:39.545777755Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:20 grafana | logger=provisioning.datasources t=2024-02-04T18:14:39.548847452Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:16:20 grafana | logger=provisioning.alerting t=2024-02-04T18:14:39.56388142Z level=info msg="starting to provision alerting" 18:16:20 grafana | logger=provisioning.alerting t=2024-02-04T18:14:39.56390045Z level=info msg="finished to provision alerting" 18:16:20 grafana | logger=ngalert.state.manager t=2024-02-04T18:14:39.564134282Z level=info msg="Warming state cache for startup" 18:16:20 grafana | logger=grafanaStorageLogger t=2024-02-04T18:14:39.564141392Z level=info msg="Storage starting" 18:16:20 grafana | logger=ngalert.multiorg.alertmanager t=2024-02-04T18:14:39.564399994Z level=info msg="Starting MultiOrg Alertmanager" 18:16:20 grafana | logger=ngalert.state.manager t=2024-02-04T18:14:39.564577475Z level=info msg="State cache has been initialized" states=0 duration=440.293µs 18:16:20 grafana | logger=ngalert.scheduler t=2024-02-04T18:14:39.564622146Z level=info msg="Starting scheduler" tickInterval=10s 18:16:20 grafana | logger=ticker t=2024-02-04T18:14:39.564673686Z level=info msg=starting first_tick=2024-02-04T18:14:40Z 18:16:20 grafana | logger=http.server t=2024-02-04T18:14:39.566603533Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:20 grafana | logger=grafana-apiserver t=2024-02-04T18:14:39.569265945Z level=info msg="Authentication is disabled" 18:16:20 grafana | logger=grafana-apiserver t=2024-02-04T18:14:39.571456515Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 18:16:20 grafana | logger=sqlstore.transactions t=2024-02-04T18:14:39.637234545Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:20 grafana | logger=sqlstore.transactions t=2024-02-04T18:14:39.64834414Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 18:16:20 grafana | logger=plugins.update.checker t=2024-02-04T18:14:39.668647033Z level=info msg="Update check succeeded" duration=104.601482ms 18:16:20 grafana | logger=sqlstore.transactions t=2024-02-04T18:14:39.945243063Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:20 grafana | logger=sqlstore.transactions t=2024-02-04T18:14:39.95660979Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 18:16:20 grafana | logger=grafana.update.checker t=2024-02-04T18:14:49.570750472Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": net/http: TLS handshake timeout" duration=10.005980635s 18:16:20 grafana | logger=infra.usagestats t=2024-02-04T18:15:40.576943036Z level=info msg="Usage stats are ready to report" 18:16:20 ++ echo 'Tearing down containers...' 18:16:20 Tearing down containers... 18:16:20 ++ docker-compose down -v --remove-orphans 18:16:20 Stopping policy-api ... 18:16:20 Stopping grafana ... 18:16:20 Stopping mariadb ... 18:16:20 Stopping prometheus ... 18:16:21 Stopping grafana ... done 18:16:21 Stopping prometheus ... done 18:16:21 Stopping mariadb ... done 18:16:30 Stopping policy-api ... done 18:16:31 Removing policy-api ... 18:16:31 Removing policy-db-migrator ... 18:16:31 Removing grafana ... 18:16:31 Removing mariadb ... 18:16:31 Removing prometheus ... 18:16:31 Removing grafana ... done 18:16:31 Removing prometheus ... done 18:16:31 Removing policy-db-migrator ... done 18:16:31 Removing policy-api ... done 18:16:31 Removing mariadb ... done 18:16:31 Removing network compose_default 18:16:31 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:31 + load_set 18:16:31 + _setopts=hxB 18:16:31 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:31 ++ tr : ' ' 18:16:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:31 + set +o braceexpand 18:16:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:31 + set +o hashall 18:16:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:31 + set +o interactive-comments 18:16:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:31 + set +o xtrace 18:16:31 ++ echo hxB 18:16:31 ++ sed 's/./& /g' 18:16:31 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:31 + set +h 18:16:31 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:31 + set +x 18:16:31 + [[ -n /tmp/tmp.ahTZ3KsRwY ]] 18:16:31 + rsync -av /tmp/tmp.ahTZ3KsRwY/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:31 sending incremental file list 18:16:31 ./ 18:16:31 log.html 18:16:31 output.xml 18:16:31 report.html 18:16:31 testplan.txt 18:16:31 18:16:31 sent 1,345,201 bytes received 95 bytes 2,690,592.00 bytes/sec 18:16:31 total size is 1,344,551 speedup is 1.00 18:16:31 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:31 + exit 0 18:16:31 $ ssh-agent -k 18:16:31 unset SSH_AUTH_SOCK; 18:16:31 unset SSH_AGENT_PID; 18:16:31 echo Agent pid 2075 killed; 18:16:31 [ssh-agent] Stopped. 18:16:31 Robot results publisher started... 18:16:31 INFO: Checking test criticality is deprecated and will be dropped in a future release! 18:16:31 -Parsing output xml: 18:16:31 Done! 18:16:31 WARNING! Could not find file: **/log.html 18:16:31 WARNING! Could not find file: **/report.html 18:16:31 -Copying log files to build dir: 18:16:32 Done! 18:16:32 -Assigning results to build: 18:16:32 Done! 18:16:32 -Checking thresholds: 18:16:32 Done! 18:16:32 Done publishing Robot results. 18:16:32 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:32 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13865086516697832197.sh 18:16:32 ---> sysstat.sh 18:16:32 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins18089492484087276281.sh 18:16:32 ---> package-listing.sh 18:16:32 ++ facter osfamily 18:16:32 ++ tr '[:upper:]' '[:lower:]' 18:16:32 + OS_FAMILY=debian 18:16:32 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:32 + START_PACKAGES=/tmp/packages_start.txt 18:16:32 + END_PACKAGES=/tmp/packages_end.txt 18:16:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:32 + PACKAGES=/tmp/packages_start.txt 18:16:32 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:32 + PACKAGES=/tmp/packages_end.txt 18:16:32 + case "${OS_FAMILY}" in 18:16:32 + dpkg -l 18:16:32 + grep '^ii' 18:16:32 + '[' -f /tmp/packages_start.txt ']' 18:16:32 + '[' -f /tmp/packages_end.txt ']' 18:16:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:32 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:32 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:32 + 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:32 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13911672159547323367.sh 18:16:32 ---> capture-instance-metadata.sh 18:16:32 Setup pyenv: 18:16:32 system 18:16:32 3.8.13 18:16:32 3.9.13 18:16:32 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:32 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YuXk from file:/tmp/.os_lf_venv 18:16:34 lf-activate-venv(): INFO: Installing: lftools 18:16:44 lf-activate-venv(): INFO: Adding /tmp/venv-YuXk/bin to PATH 18:16:44 INFO: Running in OpenStack, capturing instance metadata 18:16:45 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6949844744369628612.sh 18:16:45 provisioning config files... 18:16:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config8830788044041411608tmp 18:16:45 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:45 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:45 [EnvInject] - Injecting environment variables from a build step. 18:16:45 [EnvInject] - Injecting as environment variables the properties content 18:16:45 SERVER_ID=logs 18:16:45 18:16:45 [EnvInject] - Variables injected successfully. 18:16:45 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11084203284771032284.sh 18:16:45 ---> create-netrc.sh 18:16:45 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6968437243473470577.sh 18:16:45 ---> python-tools-install.sh 18:16:45 Setup pyenv: 18:16:45 system 18:16:45 3.8.13 18:16:45 3.9.13 18:16:45 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:45 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YuXk from file:/tmp/.os_lf_venv 18:16:46 lf-activate-venv(): INFO: Installing: lftools 18:16:54 lf-activate-venv(): INFO: Adding /tmp/venv-YuXk/bin to PATH 18:16:55 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6646280525365779541.sh 18:16:55 ---> sudo-logs.sh 18:16:55 Archiving 'sudo' log.. 18:16:55 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4963807514050704423.sh 18:16:55 ---> job-cost.sh 18:16:55 Setup pyenv: 18:16:55 system 18:16:55 3.8.13 18:16:55 3.9.13 18:16:55 * 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-YuXk 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:03 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:03 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 18:17:04 lf-activate-venv(): INFO: Adding /tmp/venv-YuXk/bin to PATH 18:17:04 INFO: No Stack... 18:17:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:17:04 INFO: Archiving Costs 18:17:04 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins9302617042432685190.sh 18:17:04 ---> logs-deploy.sh 18:17:04 Setup pyenv: 18:17:04 system 18:17:04 3.8.13 18:17:04 3.9.13 18:17:04 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:17:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YuXk from file:/tmp/.os_lf_venv 18:17:06 lf-activate-venv(): INFO: Installing: lftools 18:17:15 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:15 python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 18:17:15 lf-activate-venv(): INFO: Adding /tmp/venv-YuXk/bin to PATH 18:17:15 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/85 18:17:15 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:17:16 Archives upload complete. 18:17:16 INFO: archiving logs to Nexus 18:17:17 ---> uname -a: 18:17:17 Linux prd-ubuntu1804-docker-8c-8g-2624 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:17 18:17:17 18:17:17 ---> lscpu: 18:17:17 Architecture: x86_64 18:17:17 CPU op-mode(s): 32-bit, 64-bit 18:17:17 Byte Order: Little Endian 18:17:17 CPU(s): 8 18:17:17 On-line CPU(s) list: 0-7 18:17:17 Thread(s) per core: 1 18:17:17 Core(s) per socket: 1 18:17:17 Socket(s): 8 18:17:17 NUMA node(s): 1 18:17:17 Vendor ID: AuthenticAMD 18:17:17 CPU family: 23 18:17:17 Model: 49 18:17:17 Model name: AMD EPYC-Rome Processor 18:17:17 Stepping: 0 18:17:17 CPU MHz: 2799.998 18:17:17 BogoMIPS: 5599.99 18:17:17 Virtualization: AMD-V 18:17:17 Hypervisor vendor: KVM 18:17:17 Virtualization type: full 18:17:17 L1d cache: 32K 18:17:17 L1i cache: 32K 18:17:17 L2 cache: 512K 18:17:17 L3 cache: 16384K 18:17:17 NUMA node0 CPU(s): 0-7 18:17:17 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:17 18:17:17 18:17:17 ---> nproc: 18:17:17 8 18:17:17 18:17:17 18:17:17 ---> df -h: 18:17:17 Filesystem Size Used Avail Use% Mounted on 18:17:17 udev 16G 0 16G 0% /dev 18:17:17 tmpfs 3.2G 708K 3.2G 1% /run 18:17:17 /dev/vda1 155G 12G 144G 8% / 18:17:17 tmpfs 16G 0 16G 0% /dev/shm 18:17:17 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:17 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:17 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:17 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:17 18:17:17 18:17:17 ---> free -m: 18:17:17 total used free shared buff/cache available 18:17:17 Mem: 32167 835 27333 0 3997 30875 18:17:17 Swap: 1023 0 1023 18:17:17 18:17:17 18:17:17 ---> ip addr: 18:17:17 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:17 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:17 inet 127.0.0.1/8 scope host lo 18:17:17 valid_lft forever preferred_lft forever 18:17:17 inet6 ::1/128 scope host 18:17:17 valid_lft forever preferred_lft forever 18:17:17 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:17:17 link/ether fa:16:3e:da:70:71 brd ff:ff:ff:ff:ff:ff 18:17:17 inet 10.30.106.228/23 brd 10.30.107.255 scope global dynamic ens3 18:17:17 valid_lft 86044sec preferred_lft 86044sec 18:17:17 inet6 fe80::f816:3eff:feda:7071/64 scope link 18:17:17 valid_lft forever preferred_lft forever 18:17:17 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:17 link/ether 02:42:9f:03:5b:24 brd ff:ff:ff:ff:ff:ff 18:17:17 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:17 valid_lft forever preferred_lft forever 18:17:17 18:17:17 18:17:17 ---> sar -b -r -n DEV: 18:17:17 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2624) 02/04/24 _x86_64_ (8 CPU) 18:17:17 18:17:17 18:11:24 LINUX RESTART (8 CPU) 18:17:17 18:17:17 18:12:02 tps rtps wtps bread/s bwrtn/s 18:17:17 18:13:01 128.08 36.74 91.34 1716.32 52906.83 18:17:17 18:14:01 132.69 22.93 109.77 2756.47 57092.08 18:17:17 18:15:01 402.20 13.36 388.84 819.06 101031.34 18:17:17 18:16:01 4.80 0.55 4.25 26.00 105.15 18:17:17 18:17:01 43.24 1.45 41.79 108.25 2616.86 18:17:17 Average: 142.25 14.93 127.32 1083.11 42716.49 18:17:17 18:17:17 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:17 18:13:01 30072280 31678212 2866932 8.70 69312 1847620 1417428 4.17 895508 1681820 166948 18:17:17 18:14:01 29537984 31699280 3401228 10.33 92420 2357300 1346600 3.96 957324 2108044 340220 18:17:17 18:15:01 27311572 30966168 5627640 17.08 127732 3751684 3919600 11.53 1780196 3398764 272 18:17:17 18:16:01 26902636 30559436 6036576 18.33 127856 3753180 4281716 12.60 2187860 3396624 100 18:17:17 18:17:01 27988692 31613084 4950520 15.03 130652 3728080 1453204 4.28 1168136 3355836 44808 18:17:17 Average: 28362633 31303236 4576579 13.89 109594 3087573 2483710 7.31 1397805 2788218 110470 18:17:17 18:17:17 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:17 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:17 18:13:01 lo 1.63 1.63 0.18 0.18 0.00 0.00 0.00 0.00 18:17:17 18:13:01 ens3 87.48 59.07 1042.99 10.96 0.00 0.00 0.00 0.00 18:17:17 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:17 18:14:01 lo 5.53 5.53 0.52 0.52 0.00 0.00 0.00 0.00 18:17:17 18:14:01 ens3 124.50 87.87 2781.40 11.04 0.00 0.00 0.00 0.00 18:17:17 18:14:01 br-6d32c85e478b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:17 18:15:01 veth67306f1 26.68 24.66 11.55 16.24 0.00 0.00 0.00 0.00 18:17:17 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:17 18:15:01 lo 4.83 4.83 0.43 0.43 0.00 0.00 0.00 0.00 18:17:17 18:15:01 vethcdcfc71 0.05 0.35 0.00 0.02 0.00 0.00 0.00 0.00 18:17:17 18:16:01 veth67306f1 98.20 80.79 29.84 97.68 0.00 0.00 0.00 0.01 18:17:17 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:17 18:16:01 lo 10.08 10.08 8.51 8.51 0.00 0.00 0.00 0.00 18:17:17 18:16:01 vethcdcfc71 0.18 0.20 0.02 0.77 0.00 0.00 0.00 0.00 18:17:17 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:17 18:17:01 lo 7.70 7.70 0.67 0.67 0.00 0.00 0.00 0.00 18:17:17 18:17:01 ens3 827.98 569.64 11897.57 130.46 0.00 0.00 0.00 0.00 18:17:17 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:17 Average: lo 5.97 5.97 2.07 2.07 0.00 0.00 0.00 0.00 18:17:17 Average: ens3 102.88 69.12 2236.82 15.51 0.00 0.00 0.00 0.00 18:17:17 18:17:17 18:17:17 ---> sar -P ALL: 18:17:17 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2624) 02/04/24 _x86_64_ (8 CPU) 18:17:17 18:17:17 18:11:24 LINUX RESTART (8 CPU) 18:17:17 18:17:17 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:17:17 18:13:01 all 9.92 0.00 0.83 3.84 0.04 85.37 18:17:17 18:13:01 0 25.89 0.00 1.62 1.36 0.05 71.08 18:17:17 18:13:01 1 0.48 0.00 0.37 10.27 0.02 88.86 18:17:17 18:13:01 2 4.72 0.00 0.36 14.38 0.03 80.51 18:17:17 18:13:01 3 5.91 0.00 0.88 0.37 0.02 92.81 18:17:17 18:13:01 4 4.05 0.00 0.31 0.22 0.05 95.37 18:17:17 18:13:01 5 1.45 0.00 0.55 0.43 0.02 97.56 18:17:17 18:13:01 6 1.24 0.00 0.47 0.51 0.00 97.78 18:17:17 18:13:01 7 35.71 0.00 2.09 3.18 0.07 58.95 18:17:17 18:14:01 all 9.93 0.00 1.17 4.05 0.04 84.81 18:17:17 18:14:01 0 14.05 0.00 1.60 0.95 0.05 83.34 18:17:17 18:14:01 1 4.70 0.00 0.90 5.95 0.02 88.43 18:17:17 18:14:01 2 21.55 0.00 1.57 3.29 0.05 73.53 18:17:17 18:14:01 3 8.03 0.00 1.22 0.28 0.03 90.43 18:17:17 18:14:01 4 1.90 0.00 0.84 12.44 0.05 84.77 18:17:17 18:14:01 5 1.24 0.00 0.52 2.18 0.03 96.03 18:17:17 18:14:01 6 4.77 0.00 0.72 0.67 0.03 93.81 18:17:17 18:14:01 7 23.14 0.00 1.97 6.68 0.05 68.15 18:17:17 18:15:01 all 15.34 0.00 4.32 6.82 0.10 73.43 18:17:17 18:15:01 0 17.46 0.00 4.70 1.79 0.08 75.96 18:17:17 18:15:01 1 16.77 0.00 4.80 10.24 0.10 68.09 18:17:17 18:15:01 2 18.14 0.00 3.78 3.55 0.12 74.41 18:17:17 18:15:01 3 16.03 0.00 3.82 1.22 0.08 78.85 18:17:17 18:15:01 4 12.20 0.00 4.46 0.98 0.08 82.27 18:17:17 18:15:01 5 14.87 0.00 4.26 3.19 0.12 77.56 18:17:17 18:15:01 6 13.97 0.00 3.74 7.71 0.07 74.51 18:17:17 18:15:01 7 13.22 0.00 4.95 25.99 0.10 55.74 18:17:17 18:16:01 all 5.41 0.00 0.44 0.01 0.03 94.11 18:17:17 18:16:01 0 3.80 0.00 0.37 0.00 0.05 95.78 18:17:17 18:16:01 1 4.09 0.00 0.33 0.00 0.02 95.56 18:17:17 18:16:01 2 5.02 0.00 0.43 0.03 0.02 94.49 18:17:17 18:16:01 3 4.85 0.00 0.42 0.02 0.05 94.66 18:17:17 18:16:01 4 7.70 0.00 0.70 0.03 0.03 91.53 18:17:17 18:16:01 5 4.79 0.00 0.45 0.00 0.00 94.76 18:17:17 18:16:01 6 5.81 0.00 0.28 0.00 0.05 93.86 18:17:17 18:16:01 7 7.19 0.00 0.53 0.05 0.02 92.21 18:17:17 18:17:01 all 6.25 0.00 0.63 0.52 0.03 92.57 18:17:17 18:17:01 0 1.02 0.00 0.49 0.03 0.05 98.41 18:17:17 18:17:01 1 3.12 0.00 0.43 0.12 0.02 96.32 18:17:17 18:17:01 2 1.75 0.00 0.65 0.68 0.02 96.90 18:17:17 18:17:01 3 2.03 0.00 0.50 0.23 0.03 97.20 18:17:17 18:17:01 4 3.14 0.00 0.60 0.25 0.03 95.98 18:17:17 18:17:01 5 28.15 0.00 1.24 0.53 0.05 70.03 18:17:17 18:17:01 6 3.30 0.00 0.45 0.02 0.03 96.20 18:17:17 18:17:01 7 7.49 0.00 0.70 2.24 0.03 89.53 18:17:17 Average: all 9.35 0.00 1.47 3.04 0.05 86.09 18:17:17 Average: 0 12.39 0.00 1.75 0.82 0.06 84.97 18:17:17 Average: 1 5.82 0.00 1.36 5.28 0.03 87.50 18:17:17 Average: 2 10.24 0.00 1.36 4.35 0.05 84.01 18:17:17 Average: 3 7.35 0.00 1.36 0.42 0.04 90.82 18:17:17 Average: 4 5.79 0.00 1.38 2.79 0.05 89.99 18:17:17 Average: 5 10.13 0.00 1.40 1.26 0.04 87.17 18:17:17 Average: 6 5.82 0.00 1.13 1.77 0.04 91.24 18:17:17 Average: 7 17.30 0.00 2.04 7.58 0.05 73.02 18:17:17 18:17:17 18:17:17