11:34:31 Started by timer 11:34:31 Running as SYSTEM 11:34:31 [EnvInject] - Loading node environment variables. 11:34:31 Building remotely on prd-ubuntu1804-docker-8c-8g-22345 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api 11:34:31 [ssh-agent] Looking for ssh-agent implementation... 11:34:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:34:31 $ ssh-agent 11:34:31 SSH_AUTH_SOCK=/tmp/ssh-NCBM79RvupFu/agent.2079 11:34:31 SSH_AGENT_PID=2081 11:34:31 [ssh-agent] Started. 11:34:31 Running ssh-add (command line suppressed) 11:34:31 Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_17719648345868612003.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_17719648345868612003.key) 11:34:32 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 11:34:32 The recommended git tool is: NONE 11:34:33 using credential onap-jenkins-ssh 11:34:33 Wiping out workspace first. 11:34:33 Cloning the remote Git repository 11:34:33 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 11:34:33 > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 11:34:33 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 11:34:33 > git --version # timeout=10 11:34:33 > git --version # 'git version 2.17.1' 11:34:33 using GIT_SSH to set credentials Gerrit user 11:34:33 Verifying host key using manually-configured host key entries 11:34:33 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 11:34:34 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 11:34:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:34:34 Avoid second fetch 11:34:34 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 11:34:34 Checking out Revision c5936fb131831992ac8da40fb56599dfb0ae1b5e (refs/remotes/origin/master) 11:34:34 > git config core.sparsecheckout # timeout=10 11:34:34 > git checkout -f c5936fb131831992ac8da40fb56599dfb0ae1b5e # timeout=30 11:34:35 Commit message: "Disable drools pdp test in CSIT until drools is fixed" 11:34:35 > git rev-list --no-walk c5936fb131831992ac8da40fb56599dfb0ae1b5e # timeout=10 11:34:35 provisioning config files... 11:34:35 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:34:35 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:34:35 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins7338591311671825752.sh 11:34:35 ---> python-tools-install.sh 11:34:35 Setup pyenv: 11:34:35 * system (set by /opt/pyenv/version) 11:34:35 * 3.8.13 (set by /opt/pyenv/version) 11:34:35 * 3.9.13 (set by /opt/pyenv/version) 11:34:35 * 3.10.6 (set by /opt/pyenv/version) 11:34:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oKcL 11:34:39 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:34:42 lf-activate-venv(): INFO: Installing: lftools 11:35:14 lf-activate-venv(): INFO: Adding /tmp/venv-oKcL/bin to PATH 11:35:14 Generating Requirements File 11:35:41 Python 3.10.6 11:35:42 pip 24.0 from /tmp/venv-oKcL/lib/python3.10/site-packages/pip (python 3.10) 11:35:42 appdirs==1.4.4 11:35:42 argcomplete==3.2.3 11:35:42 aspy.yaml==1.3.0 11:35:42 attrs==23.2.0 11:35:42 autopage==0.5.2 11:35:42 beautifulsoup4==4.12.3 11:35:42 boto3==1.34.82 11:35:42 botocore==1.34.82 11:35:42 bs4==0.0.2 11:35:42 cachetools==5.3.3 11:35:42 certifi==2024.2.2 11:35:42 cffi==1.16.0 11:35:42 cfgv==3.4.0 11:35:42 chardet==5.2.0 11:35:42 charset-normalizer==3.3.2 11:35:42 click==8.1.7 11:35:42 cliff==4.6.0 11:35:42 cmd2==2.4.3 11:35:42 cryptography==3.3.2 11:35:42 debtcollector==3.0.0 11:35:42 decorator==5.1.1 11:35:42 defusedxml==0.7.1 11:35:42 Deprecated==1.2.14 11:35:42 distlib==0.3.8 11:35:42 dnspython==2.6.1 11:35:42 docker==4.2.2 11:35:42 dogpile.cache==1.3.2 11:35:42 email_validator==2.1.1 11:35:42 filelock==3.13.4 11:35:42 future==1.0.0 11:35:42 gitdb==4.0.11 11:35:42 GitPython==3.1.43 11:35:42 google-auth==2.29.0 11:35:42 httplib2==0.22.0 11:35:42 identify==2.5.35 11:35:42 idna==3.7 11:35:42 importlib-resources==1.5.0 11:35:42 iso8601==2.1.0 11:35:42 Jinja2==3.1.3 11:35:42 jmespath==1.0.1 11:35:42 jsonpatch==1.33 11:35:42 jsonpointer==2.4 11:35:42 jsonschema==4.21.1 11:35:42 jsonschema-specifications==2023.12.1 11:35:42 keystoneauth1==5.6.0 11:35:42 kubernetes==29.0.0 11:35:42 lftools==0.37.10 11:35:42 lxml==5.2.1 11:35:42 MarkupSafe==2.1.5 11:35:42 msgpack==1.0.8 11:35:42 multi_key_dict==2.0.3 11:35:42 munch==4.0.0 11:35:42 netaddr==1.2.1 11:35:42 netifaces==0.11.0 11:35:42 niet==1.4.2 11:35:42 nodeenv==1.8.0 11:35:42 oauth2client==4.1.3 11:35:42 oauthlib==3.2.2 11:35:42 openstacksdk==3.0.0 11:35:42 os-client-config==2.1.0 11:35:42 os-service-types==1.7.0 11:35:42 osc-lib==3.0.1 11:35:42 oslo.config==9.4.0 11:35:42 oslo.context==5.5.0 11:35:42 oslo.i18n==6.3.0 11:35:42 oslo.log==5.5.1 11:35:42 oslo.serialization==5.4.0 11:35:42 oslo.utils==7.1.0 11:35:42 packaging==24.0 11:35:42 pbr==6.0.0 11:35:42 platformdirs==4.2.0 11:35:42 prettytable==3.10.0 11:35:42 pyasn1==0.6.0 11:35:42 pyasn1_modules==0.4.0 11:35:42 pycparser==2.22 11:35:42 pygerrit2==2.0.15 11:35:42 PyGithub==2.3.0 11:35:42 pyinotify==0.9.6 11:35:42 PyJWT==2.8.0 11:35:42 PyNaCl==1.5.0 11:35:42 pyparsing==2.4.7 11:35:42 pyperclip==1.8.2 11:35:42 pyrsistent==0.20.0 11:35:42 python-cinderclient==9.5.0 11:35:42 python-dateutil==2.9.0.post0 11:35:42 python-heatclient==3.5.0 11:35:42 python-jenkins==1.8.2 11:35:42 python-keystoneclient==5.4.0 11:35:42 python-magnumclient==4.4.0 11:35:42 python-novaclient==18.6.0 11:35:42 python-openstackclient==6.6.0 11:35:42 python-swiftclient==4.5.0 11:35:42 PyYAML==6.0.1 11:35:42 referencing==0.34.0 11:35:42 requests==2.31.0 11:35:42 requests-oauthlib==2.0.0 11:35:42 requestsexceptions==1.4.0 11:35:42 rfc3986==2.0.0 11:35:42 rpds-py==0.18.0 11:35:42 rsa==4.9 11:35:42 ruamel.yaml==0.18.6 11:35:42 ruamel.yaml.clib==0.2.8 11:35:42 s3transfer==0.10.1 11:35:42 simplejson==3.19.2 11:35:42 six==1.16.0 11:35:42 smmap==5.0.1 11:35:42 soupsieve==2.5 11:35:42 stevedore==5.2.0 11:35:42 tabulate==0.9.0 11:35:42 toml==0.10.2 11:35:42 tomlkit==0.12.4 11:35:42 tqdm==4.66.2 11:35:42 typing_extensions==4.11.0 11:35:42 tzdata==2024.1 11:35:42 urllib3==1.26.18 11:35:42 virtualenv==20.25.1 11:35:42 wcwidth==0.2.13 11:35:42 websocket-client==1.7.0 11:35:42 wrapt==1.16.0 11:35:42 xdg==6.0.0 11:35:42 xmltodict==0.13.0 11:35:42 yq==3.2.3 11:35:42 [EnvInject] - Injecting environment variables from a build step. 11:35:42 [EnvInject] - Injecting as environment variables the properties content 11:35:42 SET_JDK_VERSION=openjdk17 11:35:42 GIT_URL="git://cloud.onap.org/mirror" 11:35:42 11:35:42 [EnvInject] - Variables injected successfully. 11:35:42 [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins14194487767409957561.sh 11:35:42 ---> update-java-alternatives.sh 11:35:42 ---> Updating Java version 11:35:42 ---> Ubuntu/Debian system detected 11:35:42 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:35:42 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:35:42 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 11:35:43 openjdk version "17.0.4" 2022-07-19 11:35:43 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:35:43 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:35:43 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:35:43 [EnvInject] - Injecting environment variables from a build step. 11:35:43 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:35:43 [EnvInject] - Variables injected successfully. 11:35:43 [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins8889208559068392526.sh 11:35:43 + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api 11:35:43 + set +u 11:35:43 + save_set 11:35:43 + RUN_CSIT_SAVE_SET=ehxB 11:35:43 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 11:35:43 + '[' 1 -eq 0 ']' 11:35:43 + '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:35:43 + 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:35:43 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:35:43 + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 11:35:43 + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 11:35:43 + export ROBOT_VARIABLES= 11:35:43 + ROBOT_VARIABLES= 11:35:43 + export PROJECT=api 11:35:43 + PROJECT=api 11:35:43 + cd /w/workspace/policy-api-master-project-csit-api 11:35:43 + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:35:43 + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:35:43 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:35:43 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 11:35:43 + relax_set 11:35:43 + set +e 11:35:43 + set +o pipefail 11:35:43 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:35:43 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:35:43 +++ mktemp -d 11:35:43 ++ ROBOT_VENV=/tmp/tmp.liX7ldVij0 11:35:43 ++ echo ROBOT_VENV=/tmp/tmp.liX7ldVij0 11:35:43 +++ python3 --version 11:35:43 ++ echo 'Python version is: Python 3.6.9' 11:35:43 Python version is: Python 3.6.9 11:35:43 ++ python3 -m venv --clear /tmp/tmp.liX7ldVij0 11:35:44 ++ source /tmp/tmp.liX7ldVij0/bin/activate 11:35:44 +++ deactivate nondestructive 11:35:44 +++ '[' -n '' ']' 11:35:44 +++ '[' -n '' ']' 11:35:44 +++ '[' -n /bin/bash -o -n '' ']' 11:35:44 +++ hash -r 11:35:44 +++ '[' -n '' ']' 11:35:44 +++ unset VIRTUAL_ENV 11:35:44 +++ '[' '!' nondestructive = nondestructive ']' 11:35:44 +++ VIRTUAL_ENV=/tmp/tmp.liX7ldVij0 11:35:44 +++ export VIRTUAL_ENV 11:35:44 +++ _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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:35:44 +++ PATH=/tmp/tmp.liX7ldVij0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:35:44 +++ export PATH 11:35:44 +++ '[' -n '' ']' 11:35:44 +++ '[' -z '' ']' 11:35:44 +++ _OLD_VIRTUAL_PS1= 11:35:44 +++ '[' 'x(tmp.liX7ldVij0) ' '!=' x ']' 11:35:44 +++ PS1='(tmp.liX7ldVij0) ' 11:35:44 +++ export PS1 11:35:44 +++ '[' -n /bin/bash -o -n '' ']' 11:35:44 +++ hash -r 11:35:44 ++ set -exu 11:35:44 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 11:35:48 ++ echo 'Installing Python Requirements' 11:35:48 Installing Python Requirements 11:35:48 ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt 11:36:06 ++ python3 -m pip -qq freeze 11:36:06 bcrypt==4.0.1 11:36:06 beautifulsoup4==4.12.3 11:36:06 bitarray==2.9.2 11:36:06 certifi==2024.2.2 11:36:06 cffi==1.15.1 11:36:06 charset-normalizer==2.0.12 11:36:06 cryptography==40.0.2 11:36:06 decorator==5.1.1 11:36:06 elasticsearch==7.17.9 11:36:06 elasticsearch-dsl==7.4.1 11:36:06 enum34==1.1.10 11:36:06 idna==3.7 11:36:06 importlib-resources==5.4.0 11:36:06 ipaddr==2.2.0 11:36:06 isodate==0.6.1 11:36:06 jmespath==0.10.0 11:36:06 jsonpatch==1.32 11:36:06 jsonpath-rw==1.4.0 11:36:06 jsonpointer==2.3 11:36:06 lxml==5.2.1 11:36:06 netaddr==0.8.0 11:36:06 netifaces==0.11.0 11:36:06 odltools==0.1.28 11:36:06 paramiko==3.4.0 11:36:06 pkg_resources==0.0.0 11:36:06 ply==3.11 11:36:06 pyang==2.6.0 11:36:06 pyangbind==0.8.1 11:36:06 pycparser==2.21 11:36:06 pyhocon==0.3.60 11:36:06 PyNaCl==1.5.0 11:36:06 pyparsing==3.1.2 11:36:06 python-dateutil==2.9.0.post0 11:36:06 regex==2023.8.8 11:36:06 requests==2.27.1 11:36:06 robotframework==6.1.1 11:36:06 robotframework-httplibrary==0.4.2 11:36:06 robotframework-pythonlibcore==3.0.0 11:36:06 robotframework-requests==0.9.4 11:36:06 robotframework-selenium2library==3.0.0 11:36:06 robotframework-seleniumlibrary==5.1.3 11:36:06 robotframework-sshlibrary==3.8.0 11:36:06 scapy==2.5.0 11:36:06 scp==0.14.5 11:36:06 selenium==3.141.0 11:36:06 six==1.16.0 11:36:06 soupsieve==2.3.2.post1 11:36:06 urllib3==1.26.18 11:36:06 waitress==2.0.0 11:36:06 WebOb==1.8.7 11:36:06 WebTest==3.0.0 11:36:06 zipp==3.6.0 11:36:06 ++ mkdir -p /tmp/tmp.liX7ldVij0/src/onap 11:36:06 ++ rm -rf /tmp/tmp.liX7ldVij0/src/onap/testsuite 11:36:06 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 11:36:12 ++ echo 'Installing python confluent-kafka library' 11:36:12 Installing python confluent-kafka library 11:36:12 ++ python3 -m pip install -qq confluent-kafka 11:36:14 ++ echo 'Uninstall docker-py and reinstall docker.' 11:36:14 Uninstall docker-py and reinstall docker. 11:36:14 ++ python3 -m pip uninstall -y -qq docker 11:36:14 ++ python3 -m pip install -U -qq docker 11:36:15 ++ python3 -m pip -qq freeze 11:36:15 bcrypt==4.0.1 11:36:15 beautifulsoup4==4.12.3 11:36:15 bitarray==2.9.2 11:36:15 certifi==2024.2.2 11:36:15 cffi==1.15.1 11:36:15 charset-normalizer==2.0.12 11:36:15 confluent-kafka==2.3.0 11:36:15 cryptography==40.0.2 11:36:15 decorator==5.1.1 11:36:15 deepdiff==5.7.0 11:36:15 dnspython==2.2.1 11:36:15 docker==5.0.3 11:36:15 elasticsearch==7.17.9 11:36:15 elasticsearch-dsl==7.4.1 11:36:15 enum34==1.1.10 11:36:15 future==1.0.0 11:36:15 idna==3.7 11:36:15 importlib-resources==5.4.0 11:36:15 ipaddr==2.2.0 11:36:15 isodate==0.6.1 11:36:15 Jinja2==3.0.3 11:36:15 jmespath==0.10.0 11:36:15 jsonpatch==1.32 11:36:15 jsonpath-rw==1.4.0 11:36:15 jsonpointer==2.3 11:36:15 kafka-python==2.0.2 11:36:15 lxml==5.2.1 11:36:15 MarkupSafe==2.0.1 11:36:15 more-itertools==5.0.0 11:36:15 netaddr==0.8.0 11:36:15 netifaces==0.11.0 11:36:15 odltools==0.1.28 11:36:15 ordered-set==4.0.2 11:36:15 paramiko==3.4.0 11:36:15 pbr==6.0.0 11:36:15 pkg_resources==0.0.0 11:36:15 ply==3.11 11:36:15 protobuf==3.19.6 11:36:15 pyang==2.6.0 11:36:15 pyangbind==0.8.1 11:36:15 pycparser==2.21 11:36:15 pyhocon==0.3.60 11:36:15 PyNaCl==1.5.0 11:36:15 pyparsing==3.1.2 11:36:15 python-dateutil==2.9.0.post0 11:36:15 PyYAML==6.0.1 11:36:15 regex==2023.8.8 11:36:15 requests==2.27.1 11:36:15 robotframework==6.1.1 11:36:15 robotframework-httplibrary==0.4.2 11:36:15 robotframework-onap==0.6.0.dev105 11:36:15 robotframework-pythonlibcore==3.0.0 11:36:15 robotframework-requests==0.9.4 11:36:15 robotframework-selenium2library==3.0.0 11:36:15 robotframework-seleniumlibrary==5.1.3 11:36:15 robotframework-sshlibrary==3.8.0 11:36:15 robotlibcore-temp==1.0.2 11:36:15 scapy==2.5.0 11:36:15 scp==0.14.5 11:36:15 selenium==3.141.0 11:36:15 six==1.16.0 11:36:15 soupsieve==2.3.2.post1 11:36:15 urllib3==1.26.18 11:36:15 waitress==2.0.0 11:36:15 WebOb==1.8.7 11:36:15 websocket-client==1.3.1 11:36:15 WebTest==3.0.0 11:36:15 zipp==3.6.0 11:36:15 ++ uname 11:36:15 ++ grep -q Linux 11:36:15 ++ sudo apt-get -y -qq install libxml2-utils 11:36:16 + load_set 11:36:16 + _setopts=ehuxB 11:36:16 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 11:36:16 ++ tr : ' ' 11:36:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:16 + set +o braceexpand 11:36:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:16 + set +o hashall 11:36:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:16 + set +o interactive-comments 11:36:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:16 + set +o nounset 11:36:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:16 + set +o xtrace 11:36:16 ++ echo ehuxB 11:36:16 ++ sed 's/./& /g' 11:36:16 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:16 + set +e 11:36:16 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:16 + set +h 11:36:16 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:16 + set +u 11:36:16 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:16 + set +x 11:36:16 + source_safely /tmp/tmp.liX7ldVij0/bin/activate 11:36:16 + '[' -z /tmp/tmp.liX7ldVij0/bin/activate ']' 11:36:16 + relax_set 11:36:16 + set +e 11:36:16 + set +o pipefail 11:36:16 + . /tmp/tmp.liX7ldVij0/bin/activate 11:36:16 ++ deactivate nondestructive 11:36:16 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ']' 11:36:16 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:36:16 ++ export PATH 11:36:16 ++ unset _OLD_VIRTUAL_PATH 11:36:16 ++ '[' -n '' ']' 11:36:16 ++ '[' -n /bin/bash -o -n '' ']' 11:36:16 ++ hash -r 11:36:16 ++ '[' -n '' ']' 11:36:16 ++ unset VIRTUAL_ENV 11:36:16 ++ '[' '!' nondestructive = nondestructive ']' 11:36:16 ++ VIRTUAL_ENV=/tmp/tmp.liX7ldVij0 11:36:16 ++ export VIRTUAL_ENV 11:36:16 ++ _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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:36:16 ++ PATH=/tmp/tmp.liX7ldVij0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:36:16 ++ export PATH 11:36:16 ++ '[' -n '' ']' 11:36:16 ++ '[' -z '' ']' 11:36:16 ++ _OLD_VIRTUAL_PS1='(tmp.liX7ldVij0) ' 11:36:16 ++ '[' 'x(tmp.liX7ldVij0) ' '!=' x ']' 11:36:16 ++ PS1='(tmp.liX7ldVij0) (tmp.liX7ldVij0) ' 11:36:16 ++ export PS1 11:36:16 ++ '[' -n /bin/bash -o -n '' ']' 11:36:16 ++ hash -r 11:36:16 + load_set 11:36:16 + _setopts=hxB 11:36:16 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:36:16 ++ tr : ' ' 11:36:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:16 + set +o braceexpand 11:36:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:16 + set +o hashall 11:36:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:16 + set +o interactive-comments 11:36:16 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:16 + set +o xtrace 11:36:16 ++ echo hxB 11:36:16 ++ sed 's/./& /g' 11:36:16 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:16 + set +h 11:36:16 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:16 + set +x 11:36:16 + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 11:36:16 + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 11:36:16 + export TEST_OPTIONS= 11:36:16 + TEST_OPTIONS= 11:36:16 ++ mktemp -d 11:36:16 + WORKDIR=/tmp/tmp.pWQI184m4e 11:36:16 + cd /tmp/tmp.pWQI184m4e 11:36:16 + docker login -u docker -p docker nexus3.onap.org:10001 11:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:36:16 Configure a credential helper to remove this warning. See 11:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:36:16 11:36:16 Login Succeeded 11:36:16 + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:36:16 + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:36:16 + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' 11:36:16 Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:36:16 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:36:16 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:36:16 + relax_set 11:36:16 + set +e 11:36:16 + set +o pipefail 11:36:16 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:36:16 ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh 11:36:16 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:36:16 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview 11:36:16 +++ GERRIT_BRANCH=master 11:36:16 +++ echo GERRIT_BRANCH=master 11:36:16 GERRIT_BRANCH=master 11:36:16 +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models 11:36:16 +++ mkdir /w/workspace/policy-api-master-project-csit-api/models 11:36:16 +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models 11:36:16 Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... 11:36:17 +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 11:36:17 +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 11:36:17 +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:36:17 +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:36:17 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:36:17 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:36:17 ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana 11:36:17 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:36:17 +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 11:36:17 +++ grafana=false 11:36:17 +++ gui=false 11:36:17 +++ [[ 2 -gt 0 ]] 11:36:17 +++ key=api 11:36:17 +++ case $key in 11:36:17 +++ echo api 11:36:17 api 11:36:17 +++ component=api 11:36:17 +++ shift 11:36:17 +++ [[ 1 -gt 0 ]] 11:36:17 +++ key=--grafana 11:36:17 +++ case $key in 11:36:17 +++ grafana=true 11:36:17 +++ shift 11:36:17 +++ [[ 0 -gt 0 ]] 11:36:17 +++ cd /w/workspace/policy-api-master-project-csit-api/compose 11:36:17 +++ echo 'Configuring docker compose...' 11:36:17 Configuring docker compose... 11:36:17 +++ source export-ports.sh 11:36:17 +++ source get-versions.sh 11:36:19 +++ '[' -z api ']' 11:36:19 +++ '[' -n api ']' 11:36:19 +++ '[' api == logs ']' 11:36:19 +++ '[' true = true ']' 11:36:19 +++ echo 'Starting api application with Grafana' 11:36:19 Starting api application with Grafana 11:36:19 +++ docker-compose up -d api grafana 11:36:20 Creating network "compose_default" with the default driver 11:36:20 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 11:36:21 10.10.2: Pulling from mariadb 11:36:26 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 11:36:26 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 11:36:26 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT)... 11:36:26 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator 11:36:30 Digest: sha256:60a680475999b7df727a4e4ae6dd0391d3a6f4fffbde0f8c3faea985c8443c48 11:36:30 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT 11:36:30 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.1)... 11:36:30 3.1.1: Pulling from onap/policy-api 11:36:34 Digest: sha256:73823c235d74d2500efd44b527f0e010b15469552561a2052fab717e6646a352 11:36:34 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.1 11:36:34 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 11:36:34 latest: Pulling from prom/prometheus 11:36:37 Digest: sha256:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 11:36:37 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 11:36:37 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 11:36:37 latest: Pulling from grafana/grafana 11:36:42 Digest: sha256:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 11:36:43 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 11:36:43 Creating prometheus ... 11:36:43 Creating mariadb ... 11:36:56 Creating prometheus ... done 11:36:56 Creating grafana ... 11:36:57 Creating grafana ... done 11:36:58 Creating mariadb ... done 11:36:58 Creating policy-db-migrator ... 11:36:59 Creating policy-db-migrator ... done 11:36:59 Creating policy-api ... 11:37:00 Creating policy-api ... done 11:37:00 +++ echo 'Prometheus server: http://localhost:30259' 11:37:00 Prometheus server: http://localhost:30259 11:37:00 +++ echo 'Grafana server: http://localhost:30269' 11:37:00 Grafana server: http://localhost:30269 11:37:00 +++ cd /w/workspace/policy-api-master-project-csit-api 11:37:00 ++ sleep 10 11:37:10 ++ unset http_proxy https_proxy 11:37:10 ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 11:37:10 Waiting for REST to come up on localhost port 30002... 11:37:10 NAMES STATUS 11:37:10 policy-api Up 10 seconds 11:37:10 policy-db-migrator Up 10 seconds 11:37:10 grafana Up 13 seconds 11:37:10 mariadb Up 11 seconds 11:37:10 prometheus Up 14 seconds 11:37:15 NAMES STATUS 11:37:15 policy-api Up 15 seconds 11:37:15 grafana Up 18 seconds 11:37:15 mariadb Up 16 seconds 11:37:15 prometheus Up 19 seconds 11:37:20 NAMES STATUS 11:37:20 policy-api Up 20 seconds 11:37:20 grafana Up 23 seconds 11:37:20 mariadb Up 22 seconds 11:37:20 prometheus Up 24 seconds 11:37:25 NAMES STATUS 11:37:25 policy-api Up 25 seconds 11:37:25 grafana Up 28 seconds 11:37:25 mariadb Up 27 seconds 11:37:25 prometheus Up 29 seconds 11:37:25 ++ export 'SUITES=api-test.robot 11:37:25 api-slas.robot' 11:37:25 ++ SUITES='api-test.robot 11:37:25 api-slas.robot' 11:37:25 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:37:25 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:37:25 + load_set 11:37:25 + _setopts=hxB 11:37:25 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:37:25 ++ tr : ' ' 11:37:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:25 + set +o braceexpand 11:37:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:25 + set +o hashall 11:37:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:25 + set +o interactive-comments 11:37:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:25 + set +o xtrace 11:37:25 ++ echo hxB 11:37:25 ++ sed 's/./& /g' 11:37:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:25 + set +h 11:37:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:25 + set +x 11:37:25 + docker_stats 11:37:25 + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 11:37:25 ++ uname -s 11:37:25 + '[' Linux == Darwin ']' 11:37:25 + sh -c 'top -bn1 | head -3' 11:37:26 top - 11:37:25 up 3 min, 0 users, load average: 1.87, 0.83, 0.33 11:37:26 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 11:37:26 %Cpu(s): 10.1 us, 2.0 sy, 0.0 ni, 84.0 id, 3.7 wa, 0.0 hi, 0.0 si, 0.0 st 11:37:26 + echo 11:37:26 11:37:26 + sh -c 'free -h' 11:37:26 total used free shared buff/cache available 11:37:26 Mem: 31G 1.5G 25G 1.0M 4.1G 29G 11:37:26 Swap: 1.0G 0B 1.0G 11:37:26 + echo 11:37:26 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:37:26 11:37:26 NAMES STATUS 11:37:26 policy-api Up 25 seconds 11:37:26 grafana Up 28 seconds 11:37:26 mariadb Up 27 seconds 11:37:26 prometheus Up 29 seconds 11:37:26 + echo 11:37:26 + docker stats --no-stream 11:37:26 11:37:28 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:37:28 5736bd21d65d policy-api 0.11% 569.1MiB / 31.41GiB 1.77% 999kB / 710kB 0B / 0B 55 11:37:28 28e047454b46 grafana 0.06% 61.59MiB / 31.41GiB 0.19% 18.8kB / 3.25kB 0B / 24.9MB 14 11:37:28 c899936b2ee3 mariadb 0.01% 100.4MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.8MB / 67.7MB 27 11:37:28 2989a249ff92 prometheus 0.05% 18.43MiB / 31.41GiB 0.06% 1.38kB / 0B 229kB / 0B 13 11:37:28 + echo 11:37:28 11:37:28 + cd /tmp/tmp.pWQI184m4e 11:37:28 + echo 'Reading the testplan:' 11:37:28 Reading the testplan: 11:37:28 + echo 'api-test.robot 11:37:28 api-slas.robot' 11:37:28 + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' 11:37:28 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 11:37:28 + cat testplan.txt 11:37:28 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot 11:37:28 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 11:37:28 ++ xargs 11:37:28 + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot' 11:37:28 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:37:28 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:37:28 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:37:28 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:37:28 + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' 11:37:28 Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ... 11:37:28 + relax_set 11:37:28 + set +e 11:37:28 + set +o pipefail 11:37:28 + 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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 11:37:28 ============================================================================== 11:37:28 api 11:37:28 ============================================================================== 11:37:28 api.Api-Test 11:37:28 ============================================================================== 11:37:29 Healthcheck :: Verify policy api health check | PASS | 11:37:29 ------------------------------------------------------------------------------ 11:37:31 RetrievePolicyTypes :: Retrieve all policy types | PASS | 11:37:31 ------------------------------------------------------------------------------ 11:37:32 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 11:37:32 ------------------------------------------------------------------------------ 11:37:32 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 11:37:32 ------------------------------------------------------------------------------ 11:37:32 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 11:37:32 ------------------------------------------------------------------------------ 11:37:33 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 11:37:33 ------------------------------------------------------------------------------ 11:37:33 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 11:37:33 ------------------------------------------------------------------------------ 11:37:33 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 11:37:33 ------------------------------------------------------------------------------ 11:37:33 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 11:37:33 ------------------------------------------------------------------------------ 11:37:34 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 11:37:34 ------------------------------------------------------------------------------ 11:37:34 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 11:37:34 ------------------------------------------------------------------------------ 11:37:34 RetrieveAllPolicies :: Retrieve all policies | PASS | 11:37:34 ------------------------------------------------------------------------------ 11:37:35 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 11:37:35 ------------------------------------------------------------------------------ 11:37:35 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 11:37:35 ------------------------------------------------------------------------------ 11:37:35 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 11:37:35 ------------------------------------------------------------------------------ 11:37:35 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 11:37:35 ------------------------------------------------------------------------------ 11:37:35 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 11:37:35 ------------------------------------------------------------------------------ 11:37:36 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 11:37:36 ------------------------------------------------------------------------------ 11:37:36 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 11:37:36 ------------------------------------------------------------------------------ 11:37:36 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 11:37:36 ------------------------------------------------------------------------------ 11:37:36 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 11:37:36 ------------------------------------------------------------------------------ 11:37:36 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 11:37:36 ------------------------------------------------------------------------------ 11:37:36 api.Api-Test | PASS | 11:37:36 22 tests, 22 passed, 0 failed 11:37:36 ============================================================================== 11:37:36 api.Api-Slas 11:37:36 ============================================================================== 11:38:36 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 11:38:36 ------------------------------------------------------------------------------ 11:38:37 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 11:38:37 ------------------------------------------------------------------------------ 11:38:37 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 11:38:37 ------------------------------------------------------------------------------ 11:38:37 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 11:38:37 ------------------------------------------------------------------------------ 11:38:37 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 11:38:37 ------------------------------------------------------------------------------ 11:38:37 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 11:38:37 ------------------------------------------------------------------------------ 11:38:37 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 11:38:37 ------------------------------------------------------------------------------ 11:38:37 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 11:38:37 ------------------------------------------------------------------------------ 11:38:37 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 11:38:37 ------------------------------------------------------------------------------ 11:38:37 api.Api-Slas | PASS | 11:38:37 9 tests, 9 passed, 0 failed 11:38:37 ============================================================================== 11:38:37 api | PASS | 11:38:37 31 tests, 31 passed, 0 failed 11:38:37 ============================================================================== 11:38:37 Output: /tmp/tmp.pWQI184m4e/output.xml 11:38:37 Log: /tmp/tmp.pWQI184m4e/log.html 11:38:37 Report: /tmp/tmp.pWQI184m4e/report.html 11:38:37 + RESULT=0 11:38:37 + load_set 11:38:37 + _setopts=hxB 11:38:37 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:38:37 ++ tr : ' ' 11:38:37 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:37 + set +o braceexpand 11:38:37 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:37 + set +o hashall 11:38:37 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:37 + set +o interactive-comments 11:38:37 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:37 + set +o xtrace 11:38:37 ++ echo hxB 11:38:37 ++ sed 's/./& /g' 11:38:37 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:38:37 + set +h 11:38:37 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:38:37 + set +x 11:38:37 + echo 'RESULT: 0' 11:38:37 RESULT: 0 11:38:37 + exit 0 11:38:37 + on_exit 11:38:37 + rc=0 11:38:37 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] 11:38:37 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:38:37 NAMES STATUS 11:38:37 policy-api Up About a minute 11:38:37 grafana Up About a minute 11:38:37 mariadb Up About a minute 11:38:37 prometheus Up About a minute 11:38:37 + docker_stats 11:38:37 ++ uname -s 11:38:37 + '[' Linux == Darwin ']' 11:38:37 + sh -c 'top -bn1 | head -3' 11:38:37 top - 11:38:37 up 5 min, 0 users, load average: 0.81, 0.75, 0.34 11:38:37 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 11:38:37 %Cpu(s): 8.7 us, 1.6 sy, 0.0 ni, 86.7 id, 2.9 wa, 0.0 hi, 0.0 si, 0.0 st 11:38:37 + echo 11:38:37 11:38:37 + sh -c 'free -h' 11:38:37 total used free shared buff/cache available 11:38:37 Mem: 31G 1.8G 25G 1.0M 4.1G 29G 11:38:37 Swap: 1.0G 0B 1.0G 11:38:37 + echo 11:38:37 11:38:37 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:38:37 NAMES STATUS 11:38:37 policy-api Up About a minute 11:38:37 grafana Up About a minute 11:38:37 mariadb Up About a minute 11:38:37 prometheus Up About a minute 11:38:37 + echo 11:38:37 11:38:37 + docker stats --no-stream 11:38:40 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:38:40 5736bd21d65d policy-api 0.13% 948.8MiB / 31.41GiB 2.95% 7MB / 2.55MB 0B / 0B 56 11:38:40 28e047454b46 grafana 0.02% 61.81MiB / 31.41GiB 0.19% 19.8kB / 4.43kB 0B / 24.9MB 14 11:38:40 c899936b2ee3 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 10.8MB / 68.1MB 18 11:38:40 2989a249ff92 prometheus 0.00% 23.62MiB / 31.41GiB 0.07% 55.6kB / 6.62kB 229kB / 0B 13 11:38:40 + echo 11:38:40 11:38:40 + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 11:38:40 + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' 11:38:40 + relax_set 11:38:40 + set +e 11:38:40 + set +o pipefail 11:38:40 + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 11:38:40 ++ echo 'Shut down started!' 11:38:40 Shut down started! 11:38:40 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:38:40 ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 11:38:40 ++ cd /w/workspace/policy-api-master-project-csit-api/compose 11:38:40 ++ source export-ports.sh 11:38:40 ++ source get-versions.sh 11:38:42 ++ echo 'Collecting logs from docker compose containers...' 11:38:42 Collecting logs from docker compose containers... 11:38:42 ++ docker-compose logs 11:38:43 ++ cat docker_compose.log 11:38:43 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 11:38:43 policy-api | Waiting for mariadb port 3306... 11:38:43 policy-api | mariadb (172.17.0.3:3306) open 11:38:43 policy-api | Waiting for policy-db-migrator port 6824... 11:38:43 policy-api | policy-db-migrator (172.17.0.5:6824) open 11:38:43 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 11:38:43 policy-api | 11:38:43 policy-api | . ____ _ __ _ _ 11:38:43 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:38:43 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:38:43 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:38:43 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 11:38:43 policy-api | =========|_|==============|___/=/_/_/_/ 11:38:43 policy-api | :: Spring Boot :: (v3.1.8) 11:38:43 policy-api | 11:38:43 policy-api | [2024-04-11T11:37:11.811+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) 11:38:43 policy-api | [2024-04-11T11:37:11.813+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 11:38:43 policy-api | [2024-04-11T11:37:13.473+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:38:43 policy-api | [2024-04-11T11:37:13.566+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 83 ms. Found 6 JPA repository interfaces. 11:38:43 policy-api | [2024-04-11T11:37:13.938+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 11:38:43 policy-api | [2024-04-11T11:37:13.938+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 11:38:43 policy-api | [2024-04-11T11:37:14.627+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 11:38:43 policy-api | [2024-04-11T11:37:14.637+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 11:38:43 policy-api | [2024-04-11T11:37:14.639+00:00|INFO|StandardService|main] Starting service [Tomcat] 11:38:43 policy-api | [2024-04-11T11:37:14.640+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] 11:38:43 policy-api | [2024-04-11T11:37:14.729+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 11:38:43 policy-api | [2024-04-11T11:37:14.730+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2844 ms 11:38:43 policy-api | [2024-04-11T11:37:15.150+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 11:38:43 policy-api | [2024-04-11T11:37:15.246+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 11:38:43 policy-api | [2024-04-11T11:37:15.249+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 11:38:43 policy-api | [2024-04-11T11:37:15.296+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 11:38:43 policy-api | [2024-04-11T11:37:15.658+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 11:38:43 policy-api | [2024-04-11T11:37:15.678+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 11:38:43 policy-api | [2024-04-11T11:37:15.770+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 11:38:43 policy-api | [2024-04-11T11:37:15.772+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 11:38:43 policy-api | [2024-04-11T11:37:17.580+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 11:38:43 policy-api | [2024-04-11T11:37:17.584+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 11:38:43 policy-api | [2024-04-11T11:37:18.566+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:38:43 policy-api | [2024-04-11T11:37:19.389+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:38:43 policy-api | [2024-04-11T11:37:20.573+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 11:38:43 policy-api | [2024-04-11T11:37:20.772+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@14a7e16e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@59171a5d, org.springframework.security.web.context.SecurityContextHolderFilter@700f356b, org.springframework.security.web.header.HeaderWriterFilter@fb74661, org.springframework.security.web.authentication.logout.LogoutFilter@6a4859fc, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@33e7ece5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@712ce4f1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3770dd80, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6f286e1d, org.springframework.security.web.access.ExceptionTranslationFilter@22ccd80f, org.springframework.security.web.access.intercept.AuthorizationFilter@78b9d614] 11:38:43 policy-api | [2024-04-11T11:37:21.531+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 11:38:43 policy-api | [2024-04-11T11:37:21.619+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 11:38:43 policy-api | [2024-04-11T11:37:21.643+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 11:38:43 policy-api | [2024-04-11T11:37:21.665+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.586 seconds (process running for 11.186) 11:38:43 policy-api | [2024-04-11T11:37:28.907+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 11:38:43 policy-api | [2024-04-11T11:37:28.908+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 11:38:43 policy-api | [2024-04-11T11:37:28.909+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 11:38:43 policy-api | [2024-04-11T11:37:31.886+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 11:38:43 policy-api | [] 11:38:43 policy-api | [2024-04-11T11:37:32.019+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 11:38:43 policy-api | [2024-04-11T11:37:32.264+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 11:38:43 policy-api | [2024-04-11T11:37:33.481+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 11:38:43 policy-api | [2024-04-11T11:37:35.568+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 11:38:43 policy-api | [2024-04-11T11:37:35.874+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policies/onap.restart.tca/versions/1.0.0 11:38:43 policy-api | [2024-04-11T11:37:36.105+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 11:38:43 policy-api | [2024-04-11T11:37:36.334+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 11:38:43 policy-api | [2024-04-11T11:37:36.565+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 11:38:43 policy-api | [2024-04-11T11:37:36.795+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 11:38:43 mariadb | 2024-04-11 11:36:58+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:38:43 mariadb | 2024-04-11 11:36:58+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 11:38:43 mariadb | 2024-04-11 11:36:58+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:38:43 mariadb | 2024-04-11 11:36:58+00:00 [Note] [Entrypoint]: Initializing database files 11:38:43 mariadb | 2024-04-11 11:36:59 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:38:43 mariadb | 2024-04-11 11:36:59 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:38:43 mariadb | 2024-04-11 11:36:59 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:38:43 mariadb | 11:38:43 mariadb | 11:38:43 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 11:38:43 mariadb | To do so, start the server, then issue the following command: 11:38:43 mariadb | 11:38:43 mariadb | '/usr/bin/mysql_secure_installation' 11:38:43 mariadb | 11:38:43 mariadb | which will also give you the option of removing the test 11:38:43 mariadb | databases and anonymous user created by default. This is 11:38:43 mariadb | strongly recommended for production servers. 11:38:43 mariadb | 11:38:43 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 11:38:43 mariadb | 11:38:43 mariadb | Please report any problems at https://mariadb.org/jira 11:38:43 mariadb | 11:38:43 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 11:38:43 mariadb | 11:38:43 mariadb | Consider joining MariaDB's strong and vibrant community: 11:38:43 mariadb | https://mariadb.org/get-involved/ 11:38:43 mariadb | 11:38:43 mariadb | 2024-04-11 11:37:00+00:00 [Note] [Entrypoint]: Database files initialized 11:38:43 mariadb | 2024-04-11 11:37:00+00:00 [Note] [Entrypoint]: Starting temporary server 11:38:43 mariadb | 2024-04-11 11:37:00+00:00 [Note] [Entrypoint]: Waiting for server startup 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: Number of transaction pools: 1 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: Completed initialization of buffer pool 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: 128 rollback segments are active. 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] InnoDB: log sequence number 46590; transaction id 14 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] Plugin 'FEEDBACK' is disabled. 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 11:38:43 mariadb | 2024-04-11 11:37:00 0 [Note] mariadbd: ready for connections. 11:38:43 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 11:38:43 mariadb | 2024-04-11 11:37:01+00:00 [Note] [Entrypoint]: Temporary server started. 11:38:43 mariadb | 2024-04-11 11:37:02+00:00 [Note] [Entrypoint]: Creating user policy_user 11:38:43 mariadb | 2024-04-11 11:37:02+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 11:38:43 mariadb | 11:38:43 mariadb | 2024-04-11 11:37:02+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 11:38:43 mariadb | 11:38:43 mariadb | 2024-04-11 11:37:02+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 11:38:43 mariadb | #!/bin/bash -xv 11:38:43 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 11:38:43 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 11:38:43 mariadb | # 11:38:43 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 11:38:43 mariadb | # you may not use this file except in compliance with the License. 11:38:43 mariadb | # You may obtain a copy of the License at 11:38:43 mariadb | # 11:38:43 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 11:38:43 mariadb | # 11:38:43 mariadb | # Unless required by applicable law or agreed to in writing, software 11:38:43 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 11:38:43 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11:38:43 mariadb | # See the License for the specific language governing permissions and 11:38:43 mariadb | # limitations under the License. 11:38:43 mariadb | 11:38:43 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:38:43 mariadb | do 11:38:43 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 11:38:43 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 11:38:43 mariadb | done 11:38:43 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:38:43 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 11:38:43 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:38:43 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:38:43 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 11:38:43 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:38:43 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:38:43 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 11:38:43 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:38:43 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:38:43 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 11:38:43 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:38:43 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:38:43 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 11:38:43 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:38:43 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:38:43 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 11:38:43 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:38:43 mariadb | 11:38:43 policy-db-migrator | Waiting for mariadb port 3306... 11:38:43 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:38:43 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.485638296Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-04-11T11:36:57Z 11:38:43 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:38:43 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486420707Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 11:38:43 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:38:43 prometheus | ts=2024-04-11T11:36:56.579Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 11:38:43 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.4864493Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 11:38:43 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:38:43 prometheus | ts=2024-04-11T11:36:56.579Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" 11:38:43 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 11:38:43 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:38:43 prometheus | ts=2024-04-11T11:36:56.579Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" 11:38:43 mariadb | 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486458438Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 11:38:43 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 11:38:43 prometheus | ts=2024-04-11T11:36:56.579Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 11:38:43 mariadb | 2024-04-11 11:37:03+00:00 [Note] [Entrypoint]: Stopping temporary server 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486466786Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486474485Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 11:38:43 prometheus | ts=2024-04-11T11:36:56.579Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 11:38:43 mariadb | 2024-04-11 11:37:03 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486481743Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486501718Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 11:38:43 prometheus | ts=2024-04-11T11:36:56.579Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 11:38:43 mariadb | 2024-04-11 11:37:03 0 [Note] InnoDB: FTS optimize thread exiting. 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486509747Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486518995Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 11:38:43 prometheus | ts=2024-04-11T11:36:56.582Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 11:38:43 mariadb | 2024-04-11 11:37:03 0 [Note] InnoDB: Starting shutdown... 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486528912Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486565514Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 11:38:43 prometheus | ts=2024-04-11T11:36:56.582Z caller=main.go:1129 level=info msg="Starting TSDB ..." 11:38:43 mariadb | 2024-04-11 11:37:03 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486573712Z level=info msg=Target target=[all] 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486597577Z level=info msg="Path Home" path=/usr/share/grafana 11:38:43 prometheus | ts=2024-04-11T11:36:56.584Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 11:38:43 mariadb | 2024-04-11 11:37:03 0 [Note] InnoDB: Buffer pool(s) dump completed at 240411 11:37:03 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486605765Z level=info msg="Path Data" path=/var/lib/grafana 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486612883Z level=info msg="Path Logs" path=/var/log/grafana 11:38:43 prometheus | ts=2024-04-11T11:36:56.584Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486619851Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486628679Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 11:38:43 prometheus | ts=2024-04-11T11:36:56.592Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Shutdown completed; log sequence number 344776; transaction id 298 11:38:43 grafana | logger=settings t=2024-04-11T11:36:57.486635618Z level=info msg="App mode production" 11:38:43 grafana | logger=sqlstore t=2024-04-11T11:36:57.487371671Z level=info msg="Connecting to DB" dbtype=sqlite3 11:38:43 prometheus | ts=2024-04-11T11:36:56.592Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.419µs 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] mariadbd: Shutdown complete 11:38:43 grafana | logger=sqlstore t=2024-04-11T11:36:57.487394905Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.488362814Z level=info msg="Starting DB migrations" 11:38:43 prometheus | ts=2024-04-11T11:36:56.593Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 11:38:43 mariadb | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.489241453Z level=info msg="Executing migration" id="create migration_log table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.490272328Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.027116ms 11:38:43 prometheus | ts=2024-04-11T11:36:56.593Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 11:38:43 mariadb | 2024-04-11 11:37:04+00:00 [Note] [Entrypoint]: Temporary server stopped 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.493470288Z level=info msg="Executing migration" id="create user table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.494225175Z level=info msg="Migration successfully executed" id="create user table" duration=754.588µs 11:38:43 prometheus | ts=2024-04-11T11:36:56.593Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=29.277µs wal_replay_duration=368.957µs wbl_replay_duration=240ns total_replay_duration=428.261µs 11:38:43 mariadb | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.500450194Z level=info msg="Executing migration" id="add unique index user.login" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.501515161Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.063328ms 11:38:43 prometheus | ts=2024-04-11T11:36:56.596Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 11:38:43 mariadb | 2024-04-11 11:37:04+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.504581611Z level=info msg="Executing migration" id="add unique index user.email" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.505663103Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.080773ms 11:38:43 prometheus | ts=2024-04-11T11:36:56.596Z caller=main.go:1153 level=info msg="TSDB started" 11:38:43 mariadb | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.50870115Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.509318518Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=617.429µs 11:38:43 prometheus | ts=2024-04-11T11:36:56.596Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.512096914Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.512718113Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=620.939µs 11:38:43 prometheus | ts=2024-04-11T11:36:56.597Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.778782ms db_storage=184.113µs remote_storage=2.32µs web_handler=770ns query_engine=1.37µs scrape=694.778µs scrape_sd=176.355µs notify=123.008µs notify_sd=11.499µs rules=1.92µs tracing=4.55µs 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.517300736Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 11:38:43 policy-db-migrator | 321 blocks 11:38:43 prometheus | ts=2024-04-11T11:36:56.597Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Number of transaction pools: 1 11:38:43 policy-db-migrator | Preparing upgrade release version: 0800 11:38:43 policy-db-migrator | Preparing upgrade release version: 0900 11:38:43 prometheus | ts=2024-04-11T11:36:56.598Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:38:43 policy-db-migrator | Preparing upgrade release version: 1000 11:38:43 policy-db-migrator | Preparing upgrade release version: 1100 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:38:43 policy-db-migrator | Preparing upgrade release version: 1200 11:38:43 policy-db-migrator | Preparing upgrade release version: 1300 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.520795249Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.494413ms 11:38:43 policy-db-migrator | Done 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.524200021Z level=info msg="Executing migration" id="create user table v2" 11:38:43 policy-db-migrator | name version 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.525475329Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.274868ms 11:38:43 policy-db-migrator | policyadmin 0 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Completed initialization of buffer pool 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.52840624Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 11:38:43 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.529079576Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=673.027µs 11:38:43 policy-db-migrator | upgrade: 0 -> 1300 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: 128 rollback segments are active. 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.534267632Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 11:38:43 policy-db-migrator | 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.535225084Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=955.912µs 11:38:43 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.538442769Z level=info msg="Executing migration" id="copy data_source v1 to v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: log sequence number 344776; transaction id 299 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.539128142Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=684.554µs 11:38:43 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) 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.54228848Z level=info msg="Executing migration" id="Drop old table user_v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.543054195Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=762.096µs 11:38:43 policy-db-migrator | 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] Plugin 'FEEDBACK' is disabled. 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.549068723Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 11:38:43 policy-db-migrator | 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.550111024Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.041992ms 11:38:43 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.552640517Z level=info msg="Executing migration" id="Update user table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] Server socket created on IP: '0.0.0.0'. 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.552665671Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.834µs 11:38:43 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) 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] Server socket created on IP: '::'. 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.555358036Z level=info msg="Executing migration" id="Add last_seen_at column to user" 11:38:43 policy-db-migrator | -------------- 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] mariadbd: ready for connections. 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.55709451Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.733284ms 11:38:43 policy-db-migrator | 11:38:43 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.560022901Z level=info msg="Executing migration" id="Add missing user data" 11:38:43 policy-db-migrator | 11:38:43 mariadb | 2024-04-11 11:37:04 0 [Note] InnoDB: Buffer pool(s) load completed at 240411 11:37:04 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.560363414Z level=info msg="Migration successfully executed" id="Add missing user data" duration=340.532µs 11:38:43 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 11:38:43 mariadb | 2024-04-11 11:37:04 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.56589642Z level=info msg="Executing migration" id="Add is_disabled column to user" 11:38:43 policy-db-migrator | -------------- 11:38:43 mariadb | 2024-04-11 11:37:04 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.566932003Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.035153ms 11:38:43 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) 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.569744051Z level=info msg="Executing migration" id="Add index user.login/user.email" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.57044896Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=704.419µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.572624114Z level=info msg="Executing migration" id="Add is_service_account column to user" 11:38:43 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.574390751Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.766137ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.577411981Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.586296772Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.885331ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.596681021Z level=info msg="Executing migration" id="Add uid column to user" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.597829818Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.150497ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.600649834Z level=info msg="Executing migration" id="Update uid column values for users" 11:38:43 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.600928571Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=278.666µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.603967157Z level=info msg="Executing migration" id="Add unique index user_uid" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.605078623Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.130122ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.608136275Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.608440945Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=304.53µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.612856217Z level=info msg="Executing migration" id="create temp user table v1-7" 11:38:43 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.61363504Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=778.843µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.616459035Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.617517413Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.057599ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.620644609Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.621733071Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.088922ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.627049326Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 11:38:43 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.627730871Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=680.686µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.630531861Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.631218464Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=686.163µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.634264889Z level=info msg="Executing migration" id="Update temp_user table charset" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.63430161Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=38.082µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.63907811Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 11:38:43 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.640068693Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=990.233µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.643266153Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 11:38:43 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.644298528Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.031785ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.647306451Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.648292356Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=985.494µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.652527749Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 11:38:43 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.65313451Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=606.102µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.656194531Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.659154935Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=2.959824ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.662237122Z level=info msg="Executing migration" id="create temp_user v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.663070951Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=833.489µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.666980789Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 11:38:43 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.667698615Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=716.516µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.670830999Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.672154997Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.322248ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.675795876Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.677040331Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.242195ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.681261168Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 11:38:43 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.682393009Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.128052ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.685881862Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.686457271Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=575.259µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.689801418Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.690567453Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=765.805µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.694672896Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 11:38:43 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 11:38:43 policy-db-migrator | -------------- 11:38:43 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.695197346Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=524.07µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.698337978Z level=info msg="Executing migration" id="create star table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.698952568Z level=info msg="Migration successfully executed" id="create star table" duration=612.53µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.702113276Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.702829543Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=715.608µs 11:38:43 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.707280486Z level=info msg="Executing migration" id="create org table v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.708040073Z level=info msg="Migration successfully executed" id="create org table v1" duration=759.286µs 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.712437149Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.713645633Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.206824ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.717012365Z level=info msg="Executing migration" id="create org_user table v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.718097736Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.084882ms 11:38:43 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.721309473Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.722011892Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=702.08µs 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.724966798Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.725698831Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=729.974µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.729479078Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.730187836Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=709.688µs 11:38:43 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.733469266Z level=info msg="Executing migration" id="Update org table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.733502698Z level=info msg="Migration successfully executed" id="Update org table charset" duration=35.192µs 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.736762575Z level=info msg="Executing migration" id="Update org_user table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.736787769Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=26.014µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.740069Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.740343977Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=274.818µs 11:38:43 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.745177323Z level=info msg="Executing migration" id="create dashboard table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.746603187Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.429973ms 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.749978546Z level=info msg="Executing migration" id="add index dashboard.account_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.750787023Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=808.696µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.753685781Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.754504083Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=817.833µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.757569204Z level=info msg="Executing migration" id="create dashboard_tag table" 11:38:43 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.758229512Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=658.859µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.761962811Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.762740443Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=776.023µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.765659706Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.766347559Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=687.442µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.768981208Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 11:38:43 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.776798343Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.817645ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.780565052Z level=info msg="Executing migration" id="create dashboard v2" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.781288638Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=723.076µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.784454015Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.785159814Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=705.598µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.788025599Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 11:38:43 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.788874245Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=845.366µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.794297457Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.794772178Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=473.502µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.797792289Z level=info msg="Executing migration" id="drop table dashboard_v1" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.799029617Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.236429ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.80247273Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.802575387Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=105.656µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.806255026Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 11:38:43 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.808083329Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.827533ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.811089923Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.812894861Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.804388ms 11:38:43 policy-db-migrator | -------------- 11:38:43 policy-db-migrator | 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.815637924Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 11:38:43 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.817472485Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.833711ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.821356569Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 11:38:43 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.822122204Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=758.487µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.825079658Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.826896644Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.818225ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.829873274Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 11:38:43 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.830653206Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=779.152µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.834318288Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.835044733Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=725.605µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.838027302Z level=info msg="Executing migration" id="Update dashboard table charset" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.838065763Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=39.771µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.84114727Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 11:38:43 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.841211065Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=64.845µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.845675276Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.848770459Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.094643ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.852235148Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.855180965Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.942608ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.858384074Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 11:38:43 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.860256746Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.870713ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.863190926Z level=info msg="Executing migration" id="Add column uid in dashboard" 11:38:43 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.865124394Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.932918ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.86930408Z level=info msg="Executing migration" id="Update uid column values in dashboard" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.86952244Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=219.18µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.872787285Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 11:38:43 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.873938532Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.150558ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.877266132Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 11:38:43 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.878321361Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.054829ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.882371277Z level=info msg="Executing migration" id="Update dashboard title length" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.882396341Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.614µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.884771079Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 11:38:43 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.885514289Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=742.332µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.888623279Z level=info msg="Executing migration" id="create dashboard_provisioning" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.889297675Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=673.916µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.893044709Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.898263327Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.218099ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.901512375Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 11:38:43 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.902210847Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=697.951µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.905498606Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.906884799Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.385733ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.911188836Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.912457326Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.26876ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.917457845Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 11:38:43 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.917761495Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=303.601µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.920798672Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.921318134Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=519.752µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.925459558Z level=info msg="Executing migration" id="Add check_sum column" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.928805853Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.342227ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.932214935Z level=info msg="Executing migration" id="Add index for dashboard_title" 11:38:43 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.933006415Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=790.27µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.936128992Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 11:38:43 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) 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.936294994Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=167.921µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.939531085Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.939795694Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=265.48µs 11:38:43 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.944072338Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:57.945351805Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.276808ms 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.003340625Z level=info msg="Executing migration" id="Add isPublic for dashboard" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.006793537Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.454532ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.038174195Z level=info msg="Executing migration" id="create data_source table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.039170029Z level=info msg="Migration successfully executed" id="create data_source table" duration=995.343µs 11:38:43 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.043169025Z level=info msg="Executing migration" id="add index data_source.account_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.044495283Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.323189ms 11:38:43 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.047598165Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.048873953Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.274878ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.05213183Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.052915232Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=783.392µs 11:38:43 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.056535525Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.057243443Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=707.258µs 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.060290078Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.068983394Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.694435ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.071917064Z level=info msg="Executing migration" id="create data_source table v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.072603219Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=685.394µs 11:38:43 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.076166465Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.076813707Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=644.673µs 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.079602171Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.080462194Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=859.664µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.084326803Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.084835147Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=521.191µs 11:38:43 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.088003233Z level=info msg="Executing migration" id="Add column with_credentials" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.091580197Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.576204ms 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.095371722Z level=info msg="Executing migration" id="Add secure json data column" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.098226211Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.859547ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.102139987Z level=info msg="Executing migration" id="Update data_source table charset" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.102166431Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.323µs 11:38:43 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.104746842Z level=info msg="Executing migration" id="Update initial version to 1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.104948886Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=200.504µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.108241354Z level=info msg="Executing migration" id="Add read_only data column" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.111934892Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.692698ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.115563734Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.115903656Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=338.222µs 11:38:43 policy-db-migrator | > upgrade 0450-pdpgroup.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.119954691Z level=info msg="Executing migration" id="Update json_data with nulls" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.120275369Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=321.198µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.12355736Z level=info msg="Executing migration" id="Add uid column" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.127282249Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.72472ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.130817862Z level=info msg="Executing migration" id="Update uid value" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.131149516Z level=info msg="Migration successfully executed" id="Update uid value" duration=332.164µs 11:38:43 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.134543422Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.135870189Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.326247ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.14029392Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.141588524Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.293844ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.145051424Z level=info msg="Executing migration" id="create api_key table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.145917317Z level=info msg="Migration successfully executed" id="create api_key table" duration=867.163µs 11:38:43 policy-db-migrator | > upgrade 0470-pdp.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.148915082Z level=info msg="Executing migration" id="add index api_key.account_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.149769077Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=851.765µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.153484139Z level=info msg="Executing migration" id="add index api_key.key" 11:38:43 policy-db-migrator | -------------- 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.154222321Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=739.882µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.158569049Z level=info msg="Executing migration" id="add index api_key.account_id_name" 11:38:43 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.159363518Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=794.07µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.16281764Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.16412686Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.308491ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.168713364Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.169813183Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.096539ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.17311186Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 11:38:43 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.173808651Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=696.522µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.178028608Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.184309654Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.280867ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.187445059Z level=info msg="Executing migration" id="create api_key table v2" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.188217923Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=773.613µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.191541084Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.192290053Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=748.728µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.19655562Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 11:38:43 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.197716645Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.160594ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.201275143Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.202489386Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.213133ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.206189201Z level=info msg="Executing migration" id="copy api_key v1 to v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.206515826Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=326.286µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.210514174Z level=info msg="Executing migration" id="Drop old table api_key_v1" 11:38:43 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.211032616Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=517.641µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.214335702Z level=info msg="Executing migration" id="Update api_key table charset" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.214376522Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=42.37µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.217989558Z level=info msg="Executing migration" id="Add expires to api_key table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.22205535Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.065163ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.226230647Z level=info msg="Executing migration" id="Add service account foreign key" 11:38:43 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.228750862Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.519196ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.232020276Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.232183939Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=163.974µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.235354605Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.237902004Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.548349ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.241844084Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 11:38:43 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.244475734Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.631169ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.247878977Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.248666807Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=787.29µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.252001776Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.252702056Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=698.16µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.256767258Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 11:38:43 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.257659995Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=892.168µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.260796989Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.262051952Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.254793ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.265785241Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.267247426Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.462126ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.271274798Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 11:38:43 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.272147348Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=872.121µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.275801134Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.27586195Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=80.012µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.279076157Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.279108399Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=33.563µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.283602204Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 11:38:43 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.287953371Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.348687ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.291469009Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.29426961Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.799851ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.297593561Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.297654967Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=61.765µs 11:38:43 policy-db-migrator | > upgrade 0570-toscadatatype.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.301120506Z level=info msg="Executing migration" id="create quota table v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.301968742Z level=info msg="Migration successfully executed" id="create quota table v1" duration=847.427µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.306152408Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.30754316Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.389933ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.311065117Z level=info msg="Executing migration" id="Update quota table charset" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.311115095Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=51.898µs 11:38:43 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.314585033Z level=info msg="Executing migration" id="create plugin_setting table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.315443597Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=858.274µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.319562497Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.320504452Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=941.475µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.323892779Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.32678082Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.887281ms 11:38:43 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.330100453Z level=info msg="Executing migration" id="Update plugin_setting table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.330121518Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=21.205µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.332667336Z level=info msg="Executing migration" id="create session table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.333577009Z level=info msg="Migration successfully executed" id="create session table" duration=908.884µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.337511651Z level=info msg="Executing migration" id="Drop old table playlist table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.337588103Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=78.363µs 11:38:43 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.340848079Z level=info msg="Executing migration" id="Drop old table playlist_item table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.34110827Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=259.081µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.344480101Z level=info msg="Executing migration" id="create playlist table v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.345705081Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.22424ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.35017976Z level=info msg="Executing migration" id="create playlist item table v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.35092442Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=744.369µs 11:38:43 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.355583627Z level=info msg="Executing migration" id="Update playlist table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.355604432Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=21.525µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.359183415Z level=info msg="Executing migration" id="Update playlist_item table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.359273314Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=96.588µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.363890001Z level=info msg="Executing migration" id="Add playlist column created_at" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.368988117Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.103405ms 11:38:43 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.372387342Z level=info msg="Executing migration" id="Add playlist column updated_at" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.375668223Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.281171ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.378952823Z level=info msg="Executing migration" id="drop preferences table v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.37918514Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=233.517µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.382526727Z level=info msg="Executing migration" id="drop preferences table v3" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.382718403Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=191.236µs 11:38:43 policy-db-migrator | > upgrade 0630-toscanodetype.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.387342898Z level=info msg="Executing migration" id="create preferences table v3" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.388841366Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.498008ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.392612326Z level=info msg="Executing migration" id="Update preferences table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.392646898Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=36.232µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.396413668Z level=info msg="Executing migration" id="Add column team_id in preferences" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.399804024Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.389786ms 11:38:43 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.403672762Z level=info msg="Executing migration" id="Update team_id column values in preferences" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.40390076Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=227.977µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.407124394Z level=info msg="Executing migration" id="Add column week_start in preferences" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.410492075Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.364482ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.413620511Z level=info msg="Executing migration" id="Add column preferences.json_data" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.416979085Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.357654ms 11:38:43 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.420283081Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.420377569Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=95.478µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.424504017Z level=info msg="Executing migration" id="Add preferences index org_id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.425580552Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.076865ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.428814714Z level=info msg="Executing migration" id="Add preferences index user_id" 11:38:43 policy-db-migrator | > upgrade 0660-toscaparameter.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.429800309Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=985.585µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.433091317Z level=info msg="Executing migration" id="create alert table v1" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.43435371Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.261813ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.438330302Z level=info msg="Executing migration" id="add index alert org_id & id " 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.439358388Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.028196ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.442465269Z level=info msg="Executing migration" id="add index alert state" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.444130528Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.66525ms 11:38:43 policy-db-migrator | > upgrade 0670-toscapolicies.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.448532864Z level=info msg="Executing migration" id="add index alert dashboard_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.449966426Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.434302ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.453452421Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.454204549Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=752.498µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.45766075Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.458633798Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=972.928µs 11:38:43 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.462406908Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.46331322Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=907.423µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.466318105Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.476554099Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=10.219798ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.47961406Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.480201876Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=588.536µs 11:38:43 policy-db-migrator | > upgrade 0690-toscapolicy.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.484000039Z 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" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.485122573Z 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.117376ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.488507261Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.488995419Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=489.648µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.492448991Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.493393496Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=944.445µs 11:38:43 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.497484512Z level=info msg="Executing migration" id="create alert_notification table v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.49837001Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=885.249µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.501504705Z level=info msg="Executing migration" id="Add column is_default" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.505367273Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.862718ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.508749081Z level=info msg="Executing migration" id="Add column frequency" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.512497276Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.748226ms 11:38:43 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.51637714Z level=info msg="Executing migration" id="Add column send_reminder" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.520112527Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.733108ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.524807416Z level=info msg="Executing migration" id="Add column disable_resolve_message" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.528606879Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.800513ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.5317145Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.532720181Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.005821ms 11:38:43 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.535688813Z level=info msg="Executing migration" id="Update alert table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.535716577Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=28.933µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.539681491Z level=info msg="Executing migration" id="Update alert_notification table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.539786427Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=106.666µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.543483014Z level=info msg="Executing migration" id="create notification_journal table v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.544883114Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.398091ms 11:38:43 policy-db-migrator | > upgrade 0730-toscaproperty.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.548855059Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.550341909Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.48718ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.555994879Z level=info msg="Executing migration" id="drop alert_notification_journal" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.556909999Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=915.031µs 11:38:43 policy-db-migrator | 11:38:43 policy-db-migrator | 11:38:43 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.560184223Z level=info msg="Executing migration" id="create alert_notification_state table v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.561162309Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=977.756µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.56409449Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.565086703Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=994.463µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.569281846Z level=info msg="Executing migration" id="Add for to alert table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.573362555Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.079959ms 11:38:43 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.577363732Z level=info msg="Executing migration" id="Add column uid in alert_notification" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.58144751Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.086257ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.584596161Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.58490766Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=311.628µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.588749144Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.58981647Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.067356ms 11:38:43 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.593622602Z level=info msg="Executing migration" id="Remove unique index org_id_name" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.59463611Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.013749ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.597760747Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.601846915Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.085139ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.605730148Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.605801892Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=72.533µs 11:38:43 policy-db-migrator | > upgrade 0770-toscarequirement.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.608186348Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.609238777Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.05231ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.612346898Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.613512752Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.166235ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.617899311Z level=info msg="Executing migration" id="Drop old annotation table v4" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.617992339Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=94.109µs 11:38:43 policy-db-migrator | > upgrade 0780-toscarequirements.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.620801458Z level=info msg="Executing migration" id="create annotation table v5" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.621844741Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.042573ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.625087311Z level=info msg="Executing migration" id="add index annotation 0 v3" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.626055609Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=968.249µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.629861921Z level=info msg="Executing migration" id="add index annotation 1 v3" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.630796548Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=934.726µs 11:38:43 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.634255078Z level=info msg="Executing migration" id="add index annotation 2 v3" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.635291781Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.036543ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.665869443Z level=info msg="Executing migration" id="add index annotation 3 v3" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.666920904Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.049601ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.704630277Z level=info msg="Executing migration" id="add index annotation 4 v3" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.705732386Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.110298ms 11:38:43 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.710302692Z level=info msg="Executing migration" id="Update annotation table charset" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.710337704Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=37.342µs 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.712455771Z level=info msg="Executing migration" id="Add column region_id to annotation table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.716575542Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.11911ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.721995864Z level=info msg="Executing migration" id="Drop category_id index" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.722770987Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=775.114µs 11:38:43 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.724967525Z level=info msg="Executing migration" id="Add column tags to annotation table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.734878324Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=9.90805ms 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.744100299Z level=info msg="Executing migration" id="Create annotation_tag table v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.745014841Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=913.783µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.747951261Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.749086021Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.13538ms 11:38:43 policy-db-migrator | > upgrade 0820-toscatrigger.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.752075429Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.752984282Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=909.103µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.758120359Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 11:38:43 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)) 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.772496238Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.37255ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.775146804Z level=info msg="Executing migration" id="Create annotation_tag table v3" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.775711026Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=564.172µs 11:38:43 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.778344555Z 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" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.778960244Z 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=616.279µs 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.783699312Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.783979059Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=280.557µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.788158085Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.788784631Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=626.477µs 11:38:43 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.791400964Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.791622074Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=221.339µs 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.795575542Z level=info msg="Executing migration" id="Add created time to annotation table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.801833564Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.240695ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.807905468Z level=info msg="Executing migration" id="Add updated time to annotation table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.813860878Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.929337ms 11:38:43 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.817615622Z level=info msg="Executing migration" id="Add index for created in annotation table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.818581282Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=966.879µs 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.820663856Z level=info msg="Executing migration" id="Add index for updated in annotation table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.82169692Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.032604ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.830148991Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.830616964Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=472.472µs 11:38:43 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.833575309Z level=info msg="Executing migration" id="Add epoch_end column" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.838531928Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.955279ms 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.841527834Z level=info msg="Executing migration" id="Add index for epoch_end" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.842443445Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=915.091µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.885331958Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.885601416Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=274.008µs 11:38:43 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.889318298Z level=info msg="Executing migration" id="Move region to single row" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.889951413Z level=info msg="Migration successfully executed" id="Move region to single row" duration=633.515µs 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.893540705Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.894816993Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.276259ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.898967826Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.899785079Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=819.833µs 11:38:43 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.903028459Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.903930673Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=901.864µs 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.908302035Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.910617507Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=2.314112ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.915274444Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.916745838Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.475474ms 11:38:43 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.920335499Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.92177859Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.466836ms 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.925932592Z level=info msg="Executing migration" id="Increase tags column to length 4096" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.926035908Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=105.536µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.929414207Z level=info msg="Executing migration" id="create test_data table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.930407001Z level=info msg="Migration successfully executed" id="create test_data table" duration=990.915µs 11:38:43 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.935312412Z level=info msg="Executing migration" id="create dashboard_version table v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.93623584Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=927.558µs 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.939243214Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.94018097Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=934.486µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.944095997Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.945062016Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=965.91µs 11:38:43 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.947769738Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.947949967Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=180.538µs 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.95043251Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.950792688Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=360.498µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.954714454Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.954780519Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=67.135µs 11:38:43 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.957608373Z level=info msg="Executing migration" id="create team table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.958446072Z level=info msg="Migration successfully executed" id="create team table" duration=837.788µs 11:38:43 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.962115974Z level=info msg="Executing migration" id="add index team.org_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.963990007Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.874823ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.968420465Z level=info msg="Executing migration" id="add unique index team_org_id_name" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.969789443Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.369398ms 11:38:43 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.972537246Z level=info msg="Executing migration" id="Add column uid in team" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.978673825Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.13568ms 11:38:43 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.983462293Z level=info msg="Executing migration" id="Update uid column values in team" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.983585794Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=123.372µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.986106919Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.986741154Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=633.925µs 11:38:43 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.990316758Z level=info msg="Executing migration" id="create team member table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.99249829Z level=info msg="Migration successfully executed" id="create team member table" duration=2.180292ms 11:38:43 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.996628277Z level=info msg="Executing migration" id="add index team_member.org_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:58.997518185Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=889.727µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.000358427Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.001450507Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.091201ms 11:38:43 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.004695358Z level=info msg="Executing migration" id="add index team_member.team_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.005576011Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=880.723µs 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.009239926Z level=info msg="Executing migration" id="Add column email to team table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.013801996Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.561689ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.016783024Z level=info msg="Executing migration" id="Add column external to team_member table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.021319809Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.534166ms 11:38:43 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.024463459Z level=info msg="Executing migration" id="Add column permission to team_member table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.02902412Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.560671ms 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.032953033Z level=info msg="Executing migration" id="create dashboard acl table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.033914767Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=960.204µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.037029124Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.037897977Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=868.634µs 11:38:43 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.040746364Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.041694461Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=949.726µs 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.046733293Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.047657025Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=922.413µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.050761894Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.051679887Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=917.582µs 11:38:43 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.055960301Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.057191982Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.229032ms 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.061718521Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.062584665Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=865.645µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.065720987Z level=info msg="Executing migration" id="add index dashboard_permission" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.066751465Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.030008ms 11:38:43 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.06965589Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.07009866Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=442.76µs 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.074178468Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 11:38:43 policy-db-migrator | -------------- 11:38:43 policy-db-migrator | 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.074398439Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=219.86µs 11:38:43 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.076825591Z level=info msg="Executing migration" id="create tag table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.07749252Z level=info msg="Migration successfully executed" id="create tag table" duration=666.939µs 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.081367396Z level=info msg="Executing migration" id="add index tag.key_value" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.08320782Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.839464ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.086690625Z level=info msg="Executing migration" id="create login attempt table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.087916857Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.226272ms 11:38:43 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.092421311Z level=info msg="Executing migration" id="add index login_attempt.username" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.09313486Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=713.529µs 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.096724639Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.097475081Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=750.431µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.104597842Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.120106082Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=15.50708ms 11:38:43 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.123078981Z level=info msg="Executing migration" id="create login_attempt v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.123873202Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=793.47µs 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.127526867Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.128308921Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=781.134µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.133695794Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.134422071Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=726.586µs 11:38:43 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.137804557Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.13849796Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=693.083µs 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.142963843Z level=info msg="Executing migration" id="create user auth table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.143739477Z level=info msg="Migration successfully executed" id="create user auth table" duration=774.845µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.147440102Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.148516599Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.079497ms 11:38:43 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.151744841Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.151815455Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=71.494µs 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.157147611Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.16251451Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.366479ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.167513232Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.176279083Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.76992ms 11:38:43 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.180775758Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.185892473Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.116155ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.191047249Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.196288946Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.240777ms 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.201185322Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.202704928Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.521826ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.206915898Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.212699612Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.775076ms 11:38:43 policy-db-migrator | > upgrade 0100-pdp.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.217842281Z level=info msg="Executing migration" id="create server_lock table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.218716824Z level=info msg="Migration successfully executed" id="create server_lock table" duration=874.054µs 11:38:43 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.223419102Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.224409859Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=990.607µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.229520956Z level=info msg="Executing migration" id="create user auth token table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.23087368Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.352245ms 11:38:43 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.236085714Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.238024886Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.921757ms 11:38:43 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.243170735Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.244183726Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.012891ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.248375409Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.249772754Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.395705ms 11:38:43 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.25417695Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.262689428Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.510619ms 11:38:43 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.265872741Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.26658338Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=710.509µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.270635715Z level=info msg="Executing migration" id="create cache_data table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.271321561Z level=info msg="Migration successfully executed" id="create cache_data table" duration=682.587µs 11:38:43 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.275721167Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.277244784Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.523436ms 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.281428449Z level=info msg="Executing migration" id="create short_url table v1" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.282395231Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=966.483µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.286802696Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.287907757Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.104811ms 11:38:43 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.293486817Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.29356391Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=78.774µs 11:38:43 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 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.297554429Z level=info msg="Executing migration" id="delete alert_definition table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.29768463Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=131.64µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.30251326Z level=info msg="Executing migration" id="recreate alert_definition table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.304118817Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.603977ms 11:38:43 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.309367763Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.310464186Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.096523ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.314823381Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.316529157Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.704815ms 11:38:43 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.320772758Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.320894181Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=123.182µs 11:38:43 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.325055202Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.326097506Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.041785ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.330475769Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.331633837Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.156889ms 11:38:43 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.336573182Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.338144057Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.570395ms 11:38:43 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.342103524Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.343196507Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.090804ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.347610161Z level=info msg="Executing migration" id="Add column paused in alert_definition" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.3564296Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.820539ms 11:38:43 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.360023629Z level=info msg="Executing migration" id="drop alert_definition table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.360707164Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=683.146µs 11:38:43 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.366002059Z level=info msg="Executing migration" id="delete alert_definition_version table" 11:38:43 policy-db-migrator | JOIN pdpstatistics b 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.366123942Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=122.602µs 11:38:43 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.369984681Z level=info msg="Executing migration" id="recreate alert_definition_version table" 11:38:43 policy-db-migrator | SET a.id = b.id 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.371617622Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.632021ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.377805086Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.378921353Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.10873ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.383174434Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 11:38:43 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.3848742Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.702015ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.389777243Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 11:38:43 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.389860864Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=82.331µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.395478186Z level=info msg="Executing migration" id="drop alert_definition_version table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.39652421Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.044294ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.40104499Z level=info msg="Executing migration" id="create alert_instance table" 11:38:43 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.402699006Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.652846ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.40844585Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.409562467Z 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.115888ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.41553145Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.416659735Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.129574ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.421267195Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 11:38:43 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.427194687Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.927462ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.432699085Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 11:38:43 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.433637634Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=938.189µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.436625009Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.437536583Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=911.914µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.441256743Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 11:38:43 policy-db-migrator | > upgrade 0210-sequence.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.464813837Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=23.557273ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.468678604Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.49239945Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.721037ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.496477979Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.497574441Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.095242ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.500413331Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 11:38:43 policy-db-migrator | > upgrade 0220-sequence.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.501201313Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=788.033µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.508572009Z level=info msg="Executing migration" id="add current_reason column related to current_state" 11:38:43 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.515777213Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.205994ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.519991381Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.525979931Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.987539ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.529946265Z level=info msg="Executing migration" id="create alert_rule table" 11:38:43 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.531013864Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.066859ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.536850106Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.537980942Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.130395ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.542220114Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.543319737Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.099542ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.549874217Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 11:38:43 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.553166673Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=3.292946ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.557965681Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 11:38:43 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) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.558039594Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=73.403µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.562969911Z level=info msg="Executing migration" id="add column for to alert_rule" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.569834611Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.86321ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.576483001Z level=info msg="Executing migration" id="add column annotations to alert_rule" 11:38:43 policy-db-migrator | > upgrade 0120-toscatrigger.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.582786458Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.302857ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.588353802Z level=info msg="Executing migration" id="add column labels to alert_rule" 11:38:43 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.596306707Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=7.952306ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.599992314Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.60071777Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=725.816µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.605394445Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 11:38:43 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.607060259Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.666143ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.611610222Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 11:38:43 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.623237637Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=11.624046ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.629102214Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.63913302Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=10.01671ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.672806359Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 11:38:43 policy-db-migrator | > upgrade 0140-toscaparameter.sql 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.674916753Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=2.113343ms 11:38:43 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.680939124Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.686900238Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.960575ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.690856715Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.696787576Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.927532ms 11:38:43 policy-db-migrator | > upgrade 0150-toscaproperty.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.701769841Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.701939063Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=174.611µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.706469701Z level=info msg="Executing migration" id="create alert_rule_version table" 11:38:43 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.708417032Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.946941ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.725175739Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.727523628Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.347249ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.735016237Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 11:38:43 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.737958623Z 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=2.944216ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.744678257Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.744744482Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=67.044µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.750107502Z level=info msg="Executing migration" id="add column for to alert_rule_version" 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.757840116Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.726086ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.763347852Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 11:38:43 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.769571038Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.222895ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.771885695Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.777848829Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=5.962944ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.783823521Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 11:38:43 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.791021456Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.196605ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.795476541Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 11:38:43 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.799773431Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=4.29686ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.803461069Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.803525944Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=67.135µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.808179373Z level=info msg="Executing migration" id=create_alert_configuration_table 11:38:43 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.808945281Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=766.078µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.812472995Z level=info msg="Executing migration" id="Add column default in alert_configuration" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.823072122Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.598458ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.828185767Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 11:38:43 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.828260231Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=69.794µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.832105043Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 11:38:43 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.838635889Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.530026ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.844181097Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.845197737Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.0162ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.848034327Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 11:38:43 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.854796811Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.761884ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.858411115Z level=info msg="Executing migration" id=create_ngalert_configuration_table 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.858970429Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=559.033µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.863324886Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 11:38:43 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.864066119Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=742.422µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.867119969Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 11:38:43 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.873822757Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.702318ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.877238796Z level=info msg="Executing migration" id="create provenance_type table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.878001813Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=763.617µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.884602434Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 11:38:43 policy-db-migrator | > upgrade 0100-upgrade.sql 11:38:43 policy-db-migrator | -------------- 11:38:43 policy-db-migrator | select 'upgrade to 1100 completed' as msg 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.885571115Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=968.471µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.888431499Z level=info msg="Executing migration" id="create alert_image table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.89082397Z level=info msg="Migration successfully executed" id="create alert_image table" duration=2.389991ms 11:38:43 policy-db-migrator | msg 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.89551412Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 11:38:43 policy-db-migrator | upgrade to 1100 completed 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.896483232Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=969.282µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.901318451Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 11:38:43 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.901383906Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=67.495µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.904523957Z level=info msg="Executing migration" id=create_alert_configuration_history_table 11:38:43 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.905623809Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.099651ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.909846306Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.910867735Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.021409ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.91625281Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 11:38:43 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.916666336Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.920269873Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 11:38:43 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.920876267Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=606.204µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.923803826Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.924880652Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.075977ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.929840663Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 11:38:43 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.937038858Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.196395ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.940282445Z level=info msg="Executing migration" id="create library_element table v1" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.941316313Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.032987ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.945415757Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 11:38:43 policy-db-migrator | > upgrade 0120-audit_sequence.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.946445505Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.029718ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.951209339Z level=info msg="Executing migration" id="create library_element_connection table v1" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.952154996Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=945.637µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.95586135Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.957004571Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.142442ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.960780719Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 11:38:43 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.961757529Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=974.23µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.967135345Z level=info msg="Executing migration" id="increase max description length to 2048" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.967183034Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=53.178µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.974026449Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 11:38:43 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.974152151Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=129.342µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.978723559Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 11:38:43 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)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.979170528Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=447.389µs 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.984010726Z level=info msg="Executing migration" id="create data_keys table" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.985682169Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.671593ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.990513048Z level=info msg="Executing migration" id="create secrets table" 11:38:43 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.991856685Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.343327ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:36:59.997270433Z level=info msg="Executing migration" id="rename data_keys name column to id" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.028102501Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=30.830108ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.032867778Z level=info msg="Executing migration" id="add name column into data_keys" 11:38:43 policy-db-migrator | TRUNCATE TABLE sequence 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.040086234Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.217957ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.04398568Z level=info msg="Executing migration" id="copy data_keys id column values into name" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.044089957Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=104.346µs 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.047720545Z level=info msg="Executing migration" id="rename data_keys name column to label" 11:38:43 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.077464578Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=29.743793ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.081678112Z level=info msg="Executing migration" id="rename data_keys id column back to name" 11:38:43 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.113873424Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=32.185064ms 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.117037839Z level=info msg="Executing migration" id="create kv_store table v1" 11:38:43 policy-db-migrator | 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.117755215Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=716.615µs 11:38:43 policy-db-migrator | DROP TABLE pdpstatistics 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.122765097Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.123833761Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.068275ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.129349817Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.129694448Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=344.051µs 11:38:43 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.133961711Z level=info msg="Executing migration" id="create permission table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.135521603Z level=info msg="Migration successfully executed" id="create permission table" duration=1.559422ms 11:38:43 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.143364635Z level=info msg="Executing migration" id="add unique index permission.role_id" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.144426132Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.060936ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.149439323Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.151128656Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.688283ms 11:38:43 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.155251991Z level=info msg="Executing migration" id="create role table" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.156199574Z level=info msg="Migration successfully executed" id="create role table" duration=947.543µs 11:38:43 policy-db-migrator | DROP TABLE statistics_sequence 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.159351332Z level=info msg="Executing migration" id="add column display_name" 11:38:43 policy-db-migrator | -------------- 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.167548004Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.195792ms 11:38:43 policy-db-migrator | 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.171434952Z level=info msg="Executing migration" id="add column group_name" 11:38:43 policy-db-migrator | policyadmin: OK: upgrade (1300) 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.178960028Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.524436ms 11:38:43 policy-db-migrator | name version 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.182413886Z level=info msg="Executing migration" id="add index role.org_id" 11:38:43 policy-db-migrator | policyadmin 1300 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.183128422Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=714.006µs 11:38:43 policy-db-migrator | ID script operation from_version to_version tag success atTime 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.18610601Z level=info msg="Executing migration" id="add unique index role_org_id_name" 11:38:43 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:04 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.186873984Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=767.714µs 11:38:43 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.191940593Z level=info msg="Executing migration" id="add index role_org_id_uid" 11:38:43 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.19391812Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.979557ms 11:38:43 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.197476494Z level=info msg="Executing migration" id="create team role table" 11:38:43 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.198527704Z level=info msg="Migration successfully executed" id="create team role table" duration=1.052279ms 11:38:43 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.20203629Z level=info msg="Executing migration" id="add index team_role.org_id" 11:38:43 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.203139156Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.103207ms 11:38:43 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.207211754Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 11:38:43 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.208427665Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.214151ms 11:38:43 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.211907627Z level=info msg="Executing migration" id="add index team_role.team_id" 11:38:43 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.213670703Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.768805ms 11:38:43 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.217986864Z level=info msg="Executing migration" id="create user role table" 11:38:43 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.219470394Z level=info msg="Migration successfully executed" id="create user role table" duration=1.48304ms 11:38:43 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.222546699Z level=info msg="Executing migration" id="add index user_role.org_id" 11:38:43 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.223542901Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=995.933µs 11:38:43 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.226458733Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 11:38:43 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.227488107Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.028964ms 11:38:43 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.231736273Z level=info msg="Executing migration" id="add index user_role.user_id" 11:38:43 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.232737304Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.00073ms 11:38:43 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.236685009Z level=info msg="Executing migration" id="create builtin role table" 11:38:43 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.237528126Z level=info msg="Migration successfully executed" id="create builtin role table" duration=843.018µs 11:38:43 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.240720424Z level=info msg="Executing migration" id="add index builtin_role.role_id" 11:38:43 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.242476471Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.755457ms 11:38:43 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.245996595Z level=info msg="Executing migration" id="add index builtin_role.name" 11:38:43 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.2478493Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.853455ms 11:38:43 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.251571198Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 11:38:43 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.259423417Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.850131ms 11:38:43 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:05 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.262704496Z level=info msg="Executing migration" id="add index builtin_role.org_id" 11:38:43 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.263719693Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.015067ms 11:38:43 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.266881319Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 11:38:43 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.267959991Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.075033ms 11:38:43 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.271563106Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 11:38:43 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.272562877Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=999.401µs 11:38:43 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.275425361Z level=info msg="Executing migration" id="add unique index role.uid" 11:38:43 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.276447826Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.022095ms 11:38:43 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.279757228Z level=info msg="Executing migration" id="create seed assignment table" 11:38:43 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.280530551Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=774.752µs 11:38:43 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.284528104Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.28555352Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.025045ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.288380382Z level=info msg="Executing migration" id="add column hidden to role table" 11:38:43 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.296194951Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.81427ms 11:38:43 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.299459853Z level=info msg="Executing migration" id="permission kind migration" 11:38:43 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.307504799Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.044167ms 11:38:43 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.312505452Z level=info msg="Executing migration" id="permission attribute migration" 11:38:43 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.320132795Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.626722ms 11:38:43 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.323813521Z level=info msg="Executing migration" id="permission identifier migration" 11:38:43 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.335613687Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=11.800156ms 11:38:43 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.339008289Z level=info msg="Executing migration" id="add permission identifier index" 11:38:43 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.340654841Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.645652ms 11:38:43 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.344805341Z level=info msg="Executing migration" id="add permission action scope role_id index" 11:38:43 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.346093285Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.287755ms 11:38:43 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.349400478Z level=info msg="Executing migration" id="remove permission role_id action scope index" 11:38:43 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.350511543Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.111804ms 11:38:43 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.353856876Z level=info msg="Executing migration" id="create query_history table v1" 11:38:43 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:06 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.355039646Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.182749ms 11:38:43 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.365065427Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 11:38:43 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.366488402Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.422335ms 11:38:43 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.375679265Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 11:38:43 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.375777953Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=101.857µs 11:38:43 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.383336611Z level=info msg="Executing migration" id="rbac disabled migrator" 11:38:43 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.38342764Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=93.638µs 11:38:43 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.392744834Z level=info msg="Executing migration" id="teams permissions migration" 11:38:43 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.393422928Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=679.934µs 11:38:43 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.401216253Z level=info msg="Executing migration" id="dashboard permissions" 11:38:43 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.402707391Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.493868ms 11:38:43 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.411545086Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 11:38:43 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.412750169Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.205253ms 11:38:43 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.421352398Z level=info msg="Executing migration" id="drop managed folder create actions" 11:38:43 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.42182102Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=467.493µs 11:38:43 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.430231943Z level=info msg="Executing migration" id="alerting notification permissions" 11:38:43 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.431236973Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=1.004541ms 11:38:43 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.439458129Z level=info msg="Executing migration" id="create query_history_star table v1" 11:38:43 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.440634029Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.178699ms 11:38:43 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.444267256Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 11:38:43 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.445846785Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.577938ms 11:38:43 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.451379187Z level=info msg="Executing migration" id="add column org_id in query_history_star" 11:38:43 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.462451409Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.066244ms 11:38:43 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.466342317Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 11:38:43 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:07 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.466483685Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=140.997µs 11:38:43 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.475787033Z level=info msg="Executing migration" id="create correlation table v1" 11:38:43 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.47684735Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.060787ms 11:38:43 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.482398448Z level=info msg="Executing migration" id="add index correlations.uid" 11:38:43 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.483225988Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=825.321µs 11:38:43 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.485985595Z level=info msg="Executing migration" id="add index correlations.source_uid" 11:38:43 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.486726087Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=740.681µs 11:38:43 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.490148702Z level=info msg="Executing migration" id="add correlation config column" 11:38:43 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.501412161Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.265728ms 11:38:43 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.506919958Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 11:38:43 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.507717255Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=800.047µs 11:38:43 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.51214799Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 11:38:43 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.513461789Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.313689ms 11:38:43 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.51655353Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 11:38:43 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.537528744Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=20.975523ms 11:38:43 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1104241137040800u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.579667317Z level=info msg="Executing migration" id="create correlation v2" 11:38:43 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.580970148Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.299691ms 11:38:43 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.584875643Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 11:38:43 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:08 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.585782825Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=907.302µs 11:38:43 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.589711004Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 11:38:43 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.590760514Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.04932ms 11:38:43 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.596900327Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 11:38:43 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.597907376Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.007699ms 11:38:43 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.602563799Z level=info msg="Executing migration" id="copy correlation v1 to v2" 11:38:43 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.602819011Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=255.311µs 11:38:43 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.606327616Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 11:38:43 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.607256584Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=881.169µs 11:38:43 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.612437116Z level=info msg="Executing migration" id="add provisioning column" 11:38:43 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1104241137040900u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.620963042Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.524716ms 11:38:43 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1104241137041000u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.624300178Z level=info msg="Executing migration" id="create entity_events table" 11:38:43 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1104241137041000u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.625154252Z level=info msg="Migration successfully executed" id="create entity_events table" duration=856.184µs 11:38:43 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1104241137041000u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.629224859Z level=info msg="Executing migration" id="create dashboard public config v1" 11:38:43 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1104241137041000u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.629984245Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=759.507µs 11:38:43 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1104241137041000u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.633524174Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 11:38:43 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1104241137041000u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.63384446Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.637692498Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:38:43 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1104241137041000u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.638005607Z 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" 11:38:43 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1104241137041000u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.644415128Z level=info msg="Executing migration" id="Drop old dashboard public config table" 11:38:43 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1104241137041000u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.64497206Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=556.853µs 11:38:43 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1104241137041100u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.648712563Z level=info msg="Executing migration" id="recreate dashboard public config v1" 11:38:43 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1104241137041200u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.649466281Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=753.598µs 11:38:43 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1104241137041200u 1 2024-04-11 11:37:09 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.652466173Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 11:38:43 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1104241137041200u 1 2024-04-11 11:37:10 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.653259721Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=793.418µs 11:38:43 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1104241137041200u 1 2024-04-11 11:37:10 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.657394953Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:38:43 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1104241137041300u 1 2024-04-11 11:37:10 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.658232752Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=833.4µs 11:38:43 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1104241137041300u 1 2024-04-11 11:37:10 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.661376031Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 11:38:43 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1104241137041300u 1 2024-04-11 11:37:10 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.662102614Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=726.454µs 11:38:43 policy-db-migrator | policyadmin: OK @ 1300 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.665454546Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.666176611Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=721.865µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.671559718Z level=info msg="Executing migration" id="Drop public config table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.67276919Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.209183ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.676525009Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.678343602Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.817833ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.682393324Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.683552639Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.158955ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.686492225Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.687730781Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.238145ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.690977916Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.6921878Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.209343ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.696313054Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.720750514Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=24.43766ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.723701267Z level=info msg="Executing migration" id="add annotations_enabled column" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.729921672Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.220324ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.732816638Z level=info msg="Executing migration" id="add time_selection_enabled column" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.742215685Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.398367ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.746004556Z level=info msg="Executing migration" id="delete orphaned public dashboards" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.74624912Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=246.594µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.748733641Z level=info msg="Executing migration" id="add share column" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.757732428Z level=info msg="Migration successfully executed" id="add share column" duration=9.002217ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.760879767Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.76104088Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=160.983µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.763823822Z level=info msg="Executing migration" id="create file table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.764550036Z level=info msg="Migration successfully executed" id="create file table" duration=726.004µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.768080037Z level=info msg="Executing migration" id="file table idx: path natural pk" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.769832766Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.74631ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.773344901Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.775049519Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.702619ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.77836683Z level=info msg="Executing migration" id="create file_meta table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.779251607Z level=info msg="Migration successfully executed" id="create file_meta table" duration=884.207µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.78303201Z level=info msg="Executing migration" id="file table idx: path key" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.78451985Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.48513ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.789176133Z level=info msg="Executing migration" id="set path collation in file table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.7892771Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=101.576µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.793011454Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.793080438Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=69.414µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.796367044Z level=info msg="Executing migration" id="managed permissions migration" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.796912699Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=545.565µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.800780773Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.801119146Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=338.432µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.805011133Z level=info msg="Executing migration" id="RBAC action name migrator" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.807132947Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.120474ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.81048131Z level=info msg="Executing migration" id="Add UID column to playlist" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.819274255Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.794744ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.823183679Z level=info msg="Executing migration" id="Update uid column values in playlist" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.823300742Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=117.153µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.826502988Z level=info msg="Executing migration" id="Add index for uid in playlist" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.827373159Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=869.77µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.830692588Z level=info msg="Executing migration" id="update group index for alert rules" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.831370113Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=678.406µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.834794478Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.835116574Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=320.216µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.83932153Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.839781825Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=460.395µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.842888063Z level=info msg="Executing migration" id="add action column to seed_assignment" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.851863666Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.975083ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.855002137Z level=info msg="Executing migration" id="add scope column to seed_assignment" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.863930721Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.925315ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.867773421Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.868539655Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=765.944µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.871345702Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.940253159Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=68.906618ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.943448718Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.944509864Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.060297ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.948631649Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.949746374Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.113955ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.952852402Z level=info msg="Executing migration" id="add primary key to seed_assigment" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.976325582Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=23.458893ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.980412626Z level=info msg="Executing migration" id="add origin column to seed_assignment" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.987733888Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.320411ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.990950182Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.991313698Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=361.377µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.994998633Z level=info msg="Executing migration" id="prevent seeding OnCall access" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.995353002Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=354.179µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.998610465Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:00.998953657Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=342.991µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.002975556Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.003278716Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=303.06µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.006596733Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.006868482Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=271.78µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.010509258Z level=info msg="Executing migration" id="create folder table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.012028225Z level=info msg="Migration successfully executed" id="create folder table" duration=1.517597ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.015700251Z level=info msg="Executing migration" id="Add index for parent_uid" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.017778264Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.075664ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.022397116Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.023613872Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.215946ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.027073603Z level=info msg="Executing migration" id="Update folder title length" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.027100777Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.914µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.030609569Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.032570697Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.962828ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.03722944Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.038326314Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.096673ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.041834695Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.043075085Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.239931ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.046991595Z level=info msg="Executing migration" id="Sync dashboard and folder table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.047572374Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=580.289µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.050866683Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.051215275Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=351.98µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.055074477Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.056916833Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.842276ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.060670968Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.061900902Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.231014ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.065894623Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.067016142Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.121098ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.070308541Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.071592612Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.283321ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.075839028Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.07698143Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.142043ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.080471096Z level=info msg="Executing migration" id="create anon_device table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.081448846Z level=info msg="Migration successfully executed" id="create anon_device table" duration=973.291µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.084870856Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.086148Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.276603ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.090290288Z level=info msg="Executing migration" id="add index anon_device.updated_at" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.091559583Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.268445ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.095073812Z level=info msg="Executing migration" id="create signing_key table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.096481365Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.405413ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.100607258Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.102488034Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.880466ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.106964888Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.108185603Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.219586ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.111548528Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.112059732Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=511.165µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.116892186Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.127660843Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.768927ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.132010476Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.132610441Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=600.485µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.135709094Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.136620889Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=911.206µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.139903451Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.141718802Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.815071ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.146359989Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.147503551Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.143393ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.151002295Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.15227006Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.270864ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.155595541Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.156809229Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.212678ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.160903038Z level=info msg="Executing migration" id="create sso_setting table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.162020687Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.117249ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.166928993Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.167749869Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=821.596µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.172161636Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.172743015Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=582.429µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.176535103Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.176742726Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=206.713µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.180247278Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.189008048Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=8.76103ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.192873839Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.200903613Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=8.028665ms 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.205690986Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.20607185Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=380.044µs 11:38:43 grafana | logger=migrator t=2024-04-11T11:37:01.209395524Z level=info msg="migrations completed" performed=548 skipped=0 duration=3.720180494s 11:38:43 grafana | logger=sqlstore t=2024-04-11T11:37:01.218591246Z level=info msg="Created default admin" user=admin 11:38:43 grafana | logger=sqlstore t=2024-04-11T11:37:01.218957683Z level=info msg="Created default organization" 11:38:43 grafana | logger=secrets t=2024-04-11T11:37:01.223842705Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 11:38:43 grafana | logger=plugin.store t=2024-04-11T11:37:01.253110323Z level=info msg="Loading plugins..." 11:38:43 grafana | logger=local.finder t=2024-04-11T11:37:01.293997618Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 11:38:43 grafana | logger=plugin.store t=2024-04-11T11:37:01.294029201Z level=info msg="Plugins loaded" count=55 duration=40.920038ms 11:38:43 grafana | logger=query_data t=2024-04-11T11:37:01.296943636Z level=info msg="Query Service initialization" 11:38:43 grafana | logger=live.push_http t=2024-04-11T11:37:01.300708759Z level=info msg="Live Push Gateway initialization" 11:38:43 grafana | logger=ngalert.migration t=2024-04-11T11:37:01.3060403Z level=info msg=Starting 11:38:43 grafana | logger=ngalert.migration t=2024-04-11T11:37:01.306606522Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 11:38:43 grafana | logger=ngalert.migration orgID=1 t=2024-04-11T11:37:01.307132174Z level=info msg="Migrating alerts for organisation" 11:38:43 grafana | logger=ngalert.migration orgID=1 t=2024-04-11T11:37:01.307835626Z level=info msg="Alerts found to migrate" alerts=0 11:38:43 grafana | logger=ngalert.migration t=2024-04-11T11:37:01.309787517Z level=info msg="Completed alerting migration" 11:38:43 grafana | logger=ngalert.state.manager t=2024-04-11T11:37:01.335724845Z level=info msg="Running in alternative execution of Error/NoData mode" 11:38:43 grafana | logger=infra.usagestats.collector t=2024-04-11T11:37:01.338205277Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 11:38:43 grafana | logger=provisioning.datasources t=2024-04-11T11:37:01.341485369Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 11:38:43 grafana | logger=provisioning.alerting t=2024-04-11T11:37:01.356562388Z level=info msg="starting to provision alerting" 11:38:43 grafana | logger=provisioning.alerting t=2024-04-11T11:37:01.356576815Z level=info msg="finished to provision alerting" 11:38:43 grafana | logger=ngalert.state.manager t=2024-04-11T11:37:01.357058437Z level=info msg="Warming state cache for startup" 11:38:43 grafana | logger=ngalert.state.manager t=2024-04-11T11:37:01.357239176Z level=info msg="State cache has been initialized" states=0 duration=180.719µs 11:38:43 grafana | logger=ngalert.multiorg.alertmanager t=2024-04-11T11:37:01.357305211Z level=info msg="Starting MultiOrg Alertmanager" 11:38:43 grafana | logger=ngalert.scheduler t=2024-04-11T11:37:01.357319808Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 11:38:43 grafana | logger=ticker t=2024-04-11T11:37:01.357351191Z level=info msg=starting first_tick=2024-04-11T11:37:10Z 11:38:43 grafana | logger=grafanaStorageLogger t=2024-04-11T11:37:01.357694884Z level=info msg="Storage starting" 11:38:43 grafana | logger=http.server t=2024-04-11T11:37:01.361718199Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 11:38:43 grafana | logger=provisioning.dashboard t=2024-04-11T11:37:01.401027529Z level=info msg="starting to provision dashboards" 11:38:43 grafana | logger=plugins.update.checker t=2024-04-11T11:37:01.450105623Z level=info msg="Update check succeeded" duration=92.670551ms 11:38:43 grafana | logger=grafana.update.checker t=2024-04-11T11:37:01.454706948Z level=info msg="Update check succeeded" duration=95.69535ms 11:38:43 grafana | logger=provisioning.dashboard t=2024-04-11T11:37:01.692741858Z level=info msg="finished to provision dashboards" 11:38:43 grafana | logger=grafana-apiserver t=2024-04-11T11:37:01.930268943Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 11:38:43 grafana | logger=grafana-apiserver t=2024-04-11T11:37:01.930853832Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 11:38:43 ++ echo 'Tearing down containers...' 11:38:43 Tearing down containers... 11:38:43 ++ docker-compose down -v --remove-orphans 11:38:44 Stopping policy-api ... 11:38:44 Stopping grafana ... 11:38:44 Stopping mariadb ... 11:38:44 Stopping prometheus ... 11:38:44 Stopping grafana ... done 11:38:45 Stopping prometheus ... done 11:38:45 Stopping mariadb ... done 11:38:54 Stopping policy-api ... done 11:38:54 Removing policy-api ... 11:38:54 Removing policy-db-migrator ... 11:38:54 Removing grafana ... 11:38:54 Removing mariadb ... 11:38:54 Removing prometheus ... 11:38:54 Removing prometheus ... done 11:38:54 Removing policy-api ... done 11:38:54 Removing policy-db-migrator ... done 11:38:54 Removing grafana ... done 11:38:54 Removing mariadb ... done 11:38:54 Removing network compose_default 11:38:54 ++ cd /w/workspace/policy-api-master-project-csit-api 11:38:54 + load_set 11:38:54 + _setopts=hxB 11:38:54 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:38:54 ++ tr : ' ' 11:38:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:54 + set +o braceexpand 11:38:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:54 + set +o hashall 11:38:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:54 + set +o interactive-comments 11:38:54 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:38:54 + set +o xtrace 11:38:54 ++ echo hxB 11:38:54 ++ sed 's/./& /g' 11:38:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:38:54 + set +h 11:38:54 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:38:54 + set +x 11:38:54 + [[ -n /tmp/tmp.pWQI184m4e ]] 11:38:54 + rsync -av /tmp/tmp.pWQI184m4e/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:38:54 sending incremental file list 11:38:54 ./ 11:38:54 log.html 11:38:54 output.xml 11:38:54 report.html 11:38:54 testplan.txt 11:38:54 11:38:54 sent 1,357,075 bytes received 95 bytes 2,714,340.00 bytes/sec 11:38:54 total size is 1,356,429 speedup is 1.00 11:38:54 + rm -rf /w/workspace/policy-api-master-project-csit-api/models 11:38:54 + exit 0 11:38:54 $ ssh-agent -k 11:38:54 unset SSH_AUTH_SOCK; 11:38:54 unset SSH_AGENT_PID; 11:38:54 echo Agent pid 2081 killed; 11:38:55 [ssh-agent] Stopped. 11:38:55 Robot results publisher started... 11:38:55 INFO: Checking test criticality is deprecated and will be dropped in a future release! 11:38:55 -Parsing output xml: 11:38:55 Done! 11:38:55 WARNING! Could not find file: **/log.html 11:38:55 WARNING! Could not find file: **/report.html 11:38:55 -Copying log files to build dir: 11:38:55 Done! 11:38:55 -Assigning results to build: 11:38:55 Done! 11:38:55 -Checking thresholds: 11:38:55 Done! 11:38:55 Done publishing Robot results. 11:38:55 [PostBuildScript] - [INFO] Executing post build scripts. 11:38:55 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14196519150316622857.sh 11:38:55 ---> sysstat.sh 11:38:56 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins5003442272179318307.sh 11:38:56 ---> package-listing.sh 11:38:56 ++ facter osfamily 11:38:56 ++ tr '[:upper:]' '[:lower:]' 11:38:56 + OS_FAMILY=debian 11:38:56 + workspace=/w/workspace/policy-api-master-project-csit-api 11:38:56 + START_PACKAGES=/tmp/packages_start.txt 11:38:56 + END_PACKAGES=/tmp/packages_end.txt 11:38:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:38:56 + PACKAGES=/tmp/packages_start.txt 11:38:56 + '[' /w/workspace/policy-api-master-project-csit-api ']' 11:38:56 + PACKAGES=/tmp/packages_end.txt 11:38:56 + case "${OS_FAMILY}" in 11:38:56 + dpkg -l 11:38:56 + grep '^ii' 11:38:56 + '[' -f /tmp/packages_start.txt ']' 11:38:56 + '[' -f /tmp/packages_end.txt ']' 11:38:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:38:56 + '[' /w/workspace/policy-api-master-project-csit-api ']' 11:38:56 + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ 11:38:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ 11:38:56 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15584803350943278769.sh 11:38:56 ---> capture-instance-metadata.sh 11:38:56 Setup pyenv: 11:38:56 system 11:38:56 3.8.13 11:38:56 3.9.13 11:38:56 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:38:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oKcL from file:/tmp/.os_lf_venv 11:38:58 lf-activate-venv(): INFO: Installing: lftools 11:39:07 lf-activate-venv(): INFO: Adding /tmp/venv-oKcL/bin to PATH 11:39:07 INFO: Running in OpenStack, capturing instance metadata 11:39:07 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2555849564823816890.sh 11:39:07 provisioning config files... 11:39:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config5430139127312624642tmp 11:39:07 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:39:07 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:39:07 [EnvInject] - Injecting environment variables from a build step. 11:39:07 [EnvInject] - Injecting as environment variables the properties content 11:39:07 SERVER_ID=logs 11:39:07 11:39:07 [EnvInject] - Variables injected successfully. 11:39:07 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6316587928511020265.sh 11:39:07 ---> create-netrc.sh 11:39:07 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15560709826585062200.sh 11:39:07 ---> python-tools-install.sh 11:39:07 Setup pyenv: 11:39:07 system 11:39:07 3.8.13 11:39:07 3.9.13 11:39:07 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:39:08 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oKcL from file:/tmp/.os_lf_venv 11:39:09 lf-activate-venv(): INFO: Installing: lftools 11:39:17 lf-activate-venv(): INFO: Adding /tmp/venv-oKcL/bin to PATH 11:39:17 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14851663742184441889.sh 11:39:17 ---> sudo-logs.sh 11:39:17 Archiving 'sudo' log.. 11:39:17 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10219204391137406393.sh 11:39:17 ---> job-cost.sh 11:39:17 Setup pyenv: 11:39:17 system 11:39:17 3.8.13 11:39:17 3.9.13 11:39:17 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:39:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oKcL from file:/tmp/.os_lf_venv 11:39:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:39:24 lf-activate-venv(): INFO: Adding /tmp/venv-oKcL/bin to PATH 11:39:24 INFO: No Stack... 11:39:24 INFO: Retrieving Pricing Info for: v3-standard-8 11:39:24 INFO: Archiving Costs 11:39:24 [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins3471822678029780977.sh 11:39:24 ---> logs-deploy.sh 11:39:24 Setup pyenv: 11:39:24 system 11:39:24 3.8.13 11:39:24 3.9.13 11:39:24 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:39:24 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oKcL from file:/tmp/.os_lf_venv 11:39:26 lf-activate-venv(): INFO: Installing: lftools 11:39:34 lf-activate-venv(): INFO: Adding /tmp/venv-oKcL/bin to PATH 11:39:34 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1596 11:39:34 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:39:35 Archives upload complete. 11:39:35 INFO: archiving logs to Nexus 11:39:36 ---> uname -a: 11:39:36 Linux prd-ubuntu1804-docker-8c-8g-22345 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 11:39:36 11:39:36 11:39:36 ---> lscpu: 11:39:36 Architecture: x86_64 11:39:36 CPU op-mode(s): 32-bit, 64-bit 11:39:36 Byte Order: Little Endian 11:39:36 CPU(s): 8 11:39:36 On-line CPU(s) list: 0-7 11:39:36 Thread(s) per core: 1 11:39:36 Core(s) per socket: 1 11:39:36 Socket(s): 8 11:39:36 NUMA node(s): 1 11:39:36 Vendor ID: AuthenticAMD 11:39:36 CPU family: 23 11:39:36 Model: 49 11:39:36 Model name: AMD EPYC-Rome Processor 11:39:36 Stepping: 0 11:39:36 CPU MHz: 2799.998 11:39:36 BogoMIPS: 5599.99 11:39:36 Virtualization: AMD-V 11:39:36 Hypervisor vendor: KVM 11:39:36 Virtualization type: full 11:39:36 L1d cache: 32K 11:39:36 L1i cache: 32K 11:39:36 L2 cache: 512K 11:39:36 L3 cache: 16384K 11:39:36 NUMA node0 CPU(s): 0-7 11:39:36 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 11:39:36 11:39:36 11:39:36 ---> nproc: 11:39:36 8 11:39:36 11:39:36 11:39:36 ---> df -h: 11:39:36 Filesystem Size Used Avail Use% Mounted on 11:39:36 udev 16G 0 16G 0% /dev 11:39:36 tmpfs 3.2G 708K 3.2G 1% /run 11:39:36 /dev/vda1 155G 12G 144G 8% / 11:39:36 tmpfs 16G 0 16G 0% /dev/shm 11:39:36 tmpfs 5.0M 0 5.0M 0% /run/lock 11:39:36 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:39:36 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:39:36 tmpfs 3.2G 0 3.2G 0% /run/user/1001 11:39:36 11:39:36 11:39:36 ---> free -m: 11:39:36 total used free shared buff/cache available 11:39:36 Mem: 32167 818 27143 0 4205 30892 11:39:36 Swap: 1023 0 1023 11:39:36 11:39:36 11:39:36 ---> ip addr: 11:39:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:39:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:39:36 inet 127.0.0.1/8 scope host lo 11:39:36 valid_lft forever preferred_lft forever 11:39:36 inet6 ::1/128 scope host 11:39:36 valid_lft forever preferred_lft forever 11:39:36 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:39:36 link/ether fa:16:3e:c4:37:b2 brd ff:ff:ff:ff:ff:ff 11:39:36 inet 10.30.107.85/23 brd 10.30.107.255 scope global dynamic ens3 11:39:36 valid_lft 86048sec preferred_lft 86048sec 11:39:36 inet6 fe80::f816:3eff:fec4:37b2/64 scope link 11:39:36 valid_lft forever preferred_lft forever 11:39:36 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 11:39:36 link/ether 02:42:8c:57:10:02 brd ff:ff:ff:ff:ff:ff 11:39:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:39:36 valid_lft forever preferred_lft forever 11:39:36 11:39:36 11:39:36 ---> sar -b -r -n DEV: 11:39:36 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-22345) 04/11/24 _x86_64_ (8 CPU) 11:39:36 11:39:36 11:33:48 LINUX RESTART (8 CPU) 11:39:36 11:39:36 11:34:01 tps rtps wtps bread/s bwrtn/s 11:39:36 11:35:02 139.15 74.09 65.06 5289.44 47968.41 11:39:36 11:36:01 115.46 27.33 88.12 2114.22 20649.11 11:39:36 11:37:01 327.76 15.50 312.26 2144.94 83587.34 11:39:36 11:38:01 120.31 6.58 113.73 306.48 12049.41 11:39:36 11:39:01 39.04 0.97 38.08 65.86 11957.66 11:39:36 Average: 148.46 24.89 123.57 1983.86 35291.61 11:39:36 11:39:36 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:39:36 11:35:02 30326040 31695676 2613180 7.93 53716 1637400 1492132 4.39 851172 1491772 67476 11:39:36 11:36:01 29948900 31707768 2990320 9.08 80604 1980176 1490172 4.38 871540 1808728 122100 11:39:36 11:37:01 27714012 31555716 5225208 15.86 125696 3937260 3154336 9.28 1140144 3634212 1136 11:39:36 11:38:01 26630364 30510460 6308856 19.15 130172 3964876 4327164 12.73 2235564 3609892 408 11:39:36 11:39:01 27797756 31629124 5141464 15.61 130856 3925140 1504020 4.43 1146320 3558600 3840 11:39:36 Average: 28483414 31419749 4455806 13.53 104209 3088970 2393565 7.04 1248948 2820641 38992 11:39:36 11:39:36 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:39:36 11:35:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:36 11:35:02 lo 1.87 1.87 0.19 0.19 0.00 0.00 0.00 0.00 11:39:36 11:35:02 ens3 333.56 229.22 1038.06 60.48 0.00 0.00 0.00 0.00 11:39:36 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:36 11:36:01 lo 1.36 1.36 0.15 0.15 0.00 0.00 0.00 0.00 11:39:36 11:36:01 ens3 67.72 46.28 1137.11 9.23 0.00 0.00 0.00 0.00 11:39:36 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:36 11:37:01 veth71bdaf8 0.05 0.15 0.00 0.01 0.00 0.00 0.00 0.00 11:39:36 11:37:01 veth341662b 0.00 0.22 0.00 0.02 0.00 0.00 0.00 0.00 11:39:36 11:37:01 lo 8.60 8.60 0.80 0.80 0.00 0.00 0.00 0.00 11:39:36 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:36 11:38:01 veth341662b 0.22 0.32 0.02 0.77 0.00 0.00 0.00 0.00 11:39:36 11:38:01 lo 8.55 8.55 8.43 8.43 0.00 0.00 0.00 0.00 11:39:36 11:38:01 veth980d582 124.85 105.40 41.38 113.92 0.00 0.00 0.00 0.01 11:39:36 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:36 11:39:01 lo 9.60 9.60 0.75 0.75 0.00 0.00 0.00 0.00 11:39:36 11:39:01 ens3 794.43 540.68 12841.11 110.44 0.00 0.00 0.00 0.00 11:39:36 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:36 Average: lo 6.01 6.01 2.07 2.07 0.00 0.00 0.00 0.00 11:39:36 Average: ens3 158.53 107.40 2576.53 22.03 0.00 0.00 0.00 0.00 11:39:36 11:39:36 11:39:36 ---> sar -P ALL: 11:39:36 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-22345) 04/11/24 _x86_64_ (8 CPU) 11:39:36 11:39:36 11:33:48 LINUX RESTART (8 CPU) 11:39:36 11:39:36 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:39:36 11:35:02 all 8.19 0.00 1.10 4.76 0.04 85.91 11:39:36 11:35:02 0 13.52 0.00 1.35 1.97 0.03 83.12 11:39:36 11:35:02 1 3.39 0.00 0.99 20.60 0.02 75.00 11:39:36 11:35:02 2 2.06 0.00 0.79 12.38 0.03 84.74 11:39:36 11:35:02 3 4.22 0.00 0.72 0.75 0.07 94.24 11:39:36 11:35:02 4 6.15 0.00 0.69 0.30 0.02 92.85 11:39:36 11:35:02 5 6.16 0.00 0.93 0.22 0.03 92.66 11:39:36 11:35:02 6 14.47 0.00 0.97 1.17 0.10 83.29 11:39:36 11:35:02 7 15.55 0.00 2.36 0.70 0.05 81.34 11:39:36 11:36:01 all 10.41 0.00 0.77 1.94 0.03 86.84 11:39:36 11:36:01 0 26.71 0.00 1.70 1.95 0.05 69.59 11:39:36 11:36:01 1 11.67 0.00 0.66 1.37 0.02 86.28 11:39:36 11:36:01 2 13.54 0.00 0.75 2.41 0.03 83.27 11:39:36 11:36:01 3 1.91 0.00 0.58 2.65 0.07 94.80 11:39:36 11:36:01 4 19.10 0.00 1.02 0.88 0.03 78.96 11:39:36 11:36:01 5 9.91 0.00 0.90 0.17 0.03 88.99 11:39:36 11:36:01 6 0.20 0.00 0.20 0.15 0.00 99.44 11:39:36 11:36:01 7 0.19 0.00 0.32 5.89 0.02 93.58 11:39:36 11:37:01 all 9.88 0.00 3.41 5.24 0.06 81.41 11:39:36 11:37:01 0 6.90 0.00 2.52 1.28 0.05 89.26 11:39:36 11:37:01 1 11.54 0.00 3.43 1.80 0.05 83.18 11:39:36 11:37:01 2 10.72 0.00 3.14 0.57 0.05 85.51 11:39:36 11:37:01 3 7.13 0.00 4.56 22.51 0.08 65.72 11:39:36 11:37:01 4 16.96 0.00 4.07 0.94 0.05 77.98 11:39:36 11:37:01 5 12.27 0.00 3.18 0.73 0.05 83.77 11:39:36 11:37:01 6 7.96 0.00 3.37 1.57 0.07 87.03 11:39:36 11:37:01 7 5.51 0.00 3.02 12.68 0.05 78.74 11:39:36 11:38:01 all 14.12 0.00 1.62 1.01 0.05 83.21 11:39:36 11:38:01 0 11.25 0.00 1.38 1.28 0.05 86.03 11:39:36 11:38:01 1 16.82 0.00 1.95 0.67 0.07 80.49 11:39:36 11:38:01 2 16.48 0.00 1.85 0.38 0.05 81.24 11:39:36 11:38:01 3 14.33 0.00 1.88 3.23 0.05 80.51 11:39:36 11:38:01 4 12.15 0.00 1.50 0.80 0.05 85.50 11:39:36 11:38:01 5 13.09 0.00 1.54 1.59 0.07 83.72 11:39:36 11:38:01 6 10.09 0.00 1.00 0.07 0.03 88.81 11:39:36 11:38:01 7 18.77 0.00 1.86 0.02 0.07 79.29 11:39:36 11:39:01 all 2.12 0.00 0.38 0.71 0.03 96.77 11:39:36 11:39:01 0 0.50 0.00 0.33 0.15 0.02 99.00 11:39:36 11:39:01 1 1.18 0.00 0.48 0.45 0.02 97.86 11:39:36 11:39:01 2 2.03 0.00 0.38 0.02 0.02 97.55 11:39:36 11:39:01 3 5.16 0.00 0.37 4.26 0.02 90.20 11:39:36 11:39:01 4 0.87 0.00 0.37 0.03 0.00 98.73 11:39:36 11:39:01 5 4.18 0.00 0.40 0.22 0.07 95.14 11:39:36 11:39:01 6 1.89 0.00 0.31 0.53 0.03 97.23 11:39:36 11:39:01 7 1.12 0.00 0.35 0.05 0.03 98.45 11:39:36 Average: all 8.93 0.00 1.45 2.73 0.04 86.84 11:39:36 Average: 0 11.73 0.00 1.46 1.33 0.04 85.44 11:39:36 Average: 1 8.91 0.00 1.50 4.99 0.03 84.56 11:39:36 Average: 2 8.95 0.00 1.38 3.15 0.04 86.48 11:39:36 Average: 3 6.56 0.00 1.62 6.66 0.06 85.11 11:39:36 Average: 4 11.02 0.00 1.53 0.59 0.03 86.84 11:39:36 Average: 5 9.11 0.00 1.39 0.58 0.05 88.87 11:39:36 Average: 6 6.94 0.00 1.17 0.70 0.05 91.15 11:39:36 Average: 7 8.25 0.00 1.58 3.85 0.04 86.27 11:39:36 11:39:36 11:39:36