16:22:00 Started by upstream project "policy-api-master-merge-java" build number 316 16:22:00 originally caused by: 16:22:00 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/api/+/136539 16:22:00 Running as SYSTEM 16:22:00 [EnvInject] - Loading node environment variables. 16:22:00 Building remotely on prd-ubuntu1804-docker-8c-8g-75677 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api 16:22:00 [ssh-agent] Looking for ssh-agent implementation... 16:22:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:00 $ ssh-agent 16:22:00 SSH_AUTH_SOCK=/tmp/ssh-SAASOyqmsGZb/agent.2185 16:22:00 SSH_AGENT_PID=2187 16:22:00 [ssh-agent] Started. 16:22:00 Running ssh-add (command line suppressed) 16:22:00 Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_1175977453396005676.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_1175977453396005676.key) 16:22:00 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 16:22:00 The recommended git tool is: NONE 16:22:02 using credential onap-jenkins-ssh 16:22:02 Wiping out workspace first. 16:22:02 Cloning the remote Git repository 16:22:02 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 16:22:02 > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 16:22:02 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 16:22:02 > git --version # timeout=10 16:22:02 > git --version # 'git version 2.17.1' 16:22:02 using GIT_SSH to set credentials Gerrit user 16:22:02 Verifying host key using manually-configured host key entries 16:22:02 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 16:22:02 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 16:22:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:22:03 Avoid second fetch 16:22:03 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 16:22:03 Checking out Revision 0a32da8957faea5b96de55b540f594dc6bf9bfba (refs/remotes/origin/master) 16:22:03 > git config core.sparsecheckout # timeout=10 16:22:03 > git checkout -f 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=30 16:22:03 Commit message: "Set all cross references of policy/docker" 16:22:03 > git rev-list --no-walk 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=10 16:22:03 provisioning config files... 16:22:03 copy managed file [npmrc] to file:/home/jenkins/.npmrc 16:22:03 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 16:22:03 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6585344737857011712.sh 16:22:03 ---> python-tools-install.sh 16:22:03 Setup pyenv: 16:22:03 * system (set by /opt/pyenv/version) 16:22:03 * 3.8.13 (set by /opt/pyenv/version) 16:22:03 * 3.9.13 (set by /opt/pyenv/version) 16:22:03 * 3.10.6 (set by /opt/pyenv/version) 16:22:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uj5w 16:22:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 16:22:11 lf-activate-venv(): INFO: Installing: lftools 16:22:45 lf-activate-venv(): INFO: Adding /tmp/venv-uj5w/bin to PATH 16:22:45 Generating Requirements File 16:23:28 Python 3.10.6 16:23:28 pip 23.3.1 from /tmp/venv-uj5w/lib/python3.10/site-packages/pip (python 3.10) 16:23:29 appdirs==1.4.4 16:23:29 argcomplete==3.1.6 16:23:29 aspy.yaml==1.3.0 16:23:29 attrs==23.1.0 16:23:29 autopage==0.5.2 16:23:29 Babel==2.13.1 16:23:29 beautifulsoup4==4.12.2 16:23:29 boto3==1.28.85 16:23:29 botocore==1.31.85 16:23:29 bs4==0.0.1 16:23:29 cachetools==5.3.2 16:23:29 certifi==2023.7.22 16:23:29 cffi==1.16.0 16:23:29 cfgv==3.4.0 16:23:29 chardet==5.2.0 16:23:29 charset-normalizer==3.3.2 16:23:29 click==8.1.7 16:23:29 cliff==4.4.0 16:23:29 cmd2==2.4.3 16:23:29 cryptography==3.3.2 16:23:29 debtcollector==2.5.0 16:23:29 decorator==5.1.1 16:23:29 defusedxml==0.7.1 16:23:29 Deprecated==1.2.14 16:23:29 distlib==0.3.7 16:23:29 dnspython==2.4.2 16:23:29 docker==4.2.2 16:23:29 dogpile.cache==1.2.2 16:23:29 email-validator==2.1.0.post1 16:23:29 filelock==3.13.1 16:23:29 future==0.18.3 16:23:29 gitdb==4.0.11 16:23:29 GitPython==3.1.40 16:23:29 google-auth==2.23.4 16:23:29 httplib2==0.22.0 16:23:29 identify==2.5.31 16:23:29 idna==3.4 16:23:29 importlib-metadata==6.8.0 16:23:29 importlib-resources==1.5.0 16:23:29 iso8601==2.1.0 16:23:29 Jinja2==3.1.2 16:23:29 jmespath==1.0.1 16:23:29 jsonpatch==1.33 16:23:29 jsonpointer==2.4 16:23:29 jsonschema==4.19.2 16:23:29 jsonschema-specifications==2023.7.1 16:23:29 keystoneauth1==5.3.0 16:23:29 kubernetes==28.1.0 16:23:29 lftools==0.37.8 16:23:29 lxml==4.9.3 16:23:29 MarkupSafe==2.1.3 16:23:29 msgpack==1.0.7 16:23:29 multi-key-dict==2.0.3 16:23:29 munch==4.0.0 16:23:29 netaddr==0.9.0 16:23:29 netifaces==0.11.0 16:23:29 niet==1.4.2 16:23:29 nodeenv==1.8.0 16:23:29 oauth2client==4.1.3 16:23:29 oauthlib==3.2.2 16:23:29 openstacksdk==0.62.0 16:23:29 os-client-config==2.1.0 16:23:29 os-service-types==1.7.0 16:23:29 osc-lib==2.9.0 16:23:29 oslo.config==9.2.0 16:23:29 oslo.context==5.3.0 16:23:29 oslo.i18n==6.2.0 16:23:29 oslo.log==5.4.0 16:23:29 oslo.serialization==5.2.0 16:23:29 oslo.utils==6.3.0 16:23:29 packaging==23.2 16:23:29 pbr==6.0.0 16:23:29 platformdirs==3.11.0 16:23:29 prettytable==3.9.0 16:23:29 pyasn1==0.5.0 16:23:29 pyasn1-modules==0.3.0 16:23:29 pycparser==2.21 16:23:29 pygerrit2==2.0.15 16:23:29 PyGithub==2.1.1 16:23:29 pyinotify==0.9.6 16:23:29 PyJWT==2.8.0 16:23:29 PyNaCl==1.5.0 16:23:29 pyparsing==2.4.7 16:23:29 pyperclip==1.8.2 16:23:29 pyrsistent==0.20.0 16:23:29 python-cinderclient==9.4.0 16:23:29 python-dateutil==2.8.2 16:23:29 python-heatclient==3.3.0 16:23:29 python-jenkins==1.8.2 16:23:29 python-keystoneclient==5.2.0 16:23:29 python-magnumclient==4.2.0 16:23:29 python-novaclient==18.4.0 16:23:29 python-openstackclient==6.0.0 16:23:29 python-swiftclient==4.4.0 16:23:29 pytz==2023.3.post1 16:23:29 PyYAML==6.0.1 16:23:29 referencing==0.30.2 16:23:29 requests==2.31.0 16:23:29 requests-oauthlib==1.3.1 16:23:29 requestsexceptions==1.4.0 16:23:29 rfc3986==2.0.0 16:23:29 rpds-py==0.12.0 16:23:29 rsa==4.9 16:23:29 ruamel.yaml==0.18.5 16:23:29 ruamel.yaml.clib==0.2.8 16:23:29 s3transfer==0.7.0 16:23:29 simplejson==3.19.2 16:23:29 six==1.16.0 16:23:29 smmap==5.0.1 16:23:29 soupsieve==2.5 16:23:29 stevedore==5.1.0 16:23:29 tabulate==0.9.0 16:23:29 toml==0.10.2 16:23:29 tomlkit==0.12.2 16:23:29 tqdm==4.66.1 16:23:29 typing_extensions==4.8.0 16:23:29 tzdata==2023.3 16:23:29 urllib3==1.26.18 16:23:29 virtualenv==20.24.6 16:23:29 wcwidth==0.2.10 16:23:29 websocket-client==1.6.4 16:23:29 wrapt==1.16.0 16:23:29 xdg==6.0.0 16:23:29 xmltodict==0.13.0 16:23:29 yq==3.2.3 16:23:29 zipp==3.17.0 16:23:29 [EnvInject] - Injecting environment variables from a build step. 16:23:29 [EnvInject] - Injecting as environment variables the properties content 16:23:29 SET_JDK_VERSION=openjdk17 16:23:29 GIT_URL="git://cloud.onap.org/mirror" 16:23:29 16:23:29 [EnvInject] - Variables injected successfully. 16:23:29 [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins10623216235490962843.sh 16:23:29 ---> update-java-alternatives.sh 16:23:29 ---> Updating Java version 16:23:29 ---> Ubuntu/Debian system detected 16:23:29 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 16:23:29 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 16:23:29 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 16:23:30 openjdk version "17.0.4" 2022-07-19 16:23:30 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 16:23:30 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 16:23:30 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 16:23:30 [EnvInject] - Injecting environment variables from a build step. 16:23:30 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 16:23:30 [EnvInject] - Variables injected successfully. 16:23:30 [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins2390710966652476602.sh 16:23:30 + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api 16:23:30 + set +u 16:23:30 + save_set 16:23:30 + RUN_CSIT_SAVE_SET=ehxB 16:23:30 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 16:23:30 + '[' 1 -eq 0 ']' 16:23:30 + '[' -z /w/workspace/policy-api-master-project-csit-api ']' 16:23:30 + 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 16:23:30 + 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 16:23:30 + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 16:23:30 + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 16:23:30 + export ROBOT_VARIABLES= 16:23:30 + ROBOT_VARIABLES= 16:23:30 + export PROJECT=api 16:23:30 + PROJECT=api 16:23:30 + cd /w/workspace/policy-api-master-project-csit-api 16:23:30 + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api 16:23:30 + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api 16:23:30 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 16:23:30 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 16:23:30 + relax_set 16:23:30 + set +e 16:23:30 + set +o pipefail 16:23:30 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 16:23:30 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 16:23:30 +++ mktemp -d 16:23:30 ++ ROBOT_VENV=/tmp/tmp.JVtM2Bv3tH 16:23:30 ++ echo ROBOT_VENV=/tmp/tmp.JVtM2Bv3tH 16:23:30 +++ python3 --version 16:23:30 ++ echo 'Python version is: Python 3.6.9' 16:23:30 Python version is: Python 3.6.9 16:23:30 ++ python3 -m venv --clear /tmp/tmp.JVtM2Bv3tH 16:23:31 ++ source /tmp/tmp.JVtM2Bv3tH/bin/activate 16:23:31 +++ deactivate nondestructive 16:23:31 +++ '[' -n '' ']' 16:23:31 +++ '[' -n '' ']' 16:23:31 +++ '[' -n /bin/bash -o -n '' ']' 16:23:31 +++ hash -r 16:23:31 +++ '[' -n '' ']' 16:23:31 +++ unset VIRTUAL_ENV 16:23:31 +++ '[' '!' nondestructive = nondestructive ']' 16:23:31 +++ VIRTUAL_ENV=/tmp/tmp.JVtM2Bv3tH 16:23:31 +++ export VIRTUAL_ENV 16:23:31 +++ _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 16:23:31 +++ PATH=/tmp/tmp.JVtM2Bv3tH/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 16:23:31 +++ export PATH 16:23:31 +++ '[' -n '' ']' 16:23:31 +++ '[' -z '' ']' 16:23:31 +++ _OLD_VIRTUAL_PS1= 16:23:31 +++ '[' 'x(tmp.JVtM2Bv3tH) ' '!=' x ']' 16:23:31 +++ PS1='(tmp.JVtM2Bv3tH) ' 16:23:31 +++ export PS1 16:23:31 +++ '[' -n /bin/bash -o -n '' ']' 16:23:31 +++ hash -r 16:23:31 ++ set -exu 16:23:31 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 16:23:40 ++ echo 'Installing Python Requirements' 16:23:40 Installing Python Requirements 16:23:40 ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt 16:24:01 ++ python3 -m pip -qq freeze 16:24:01 bcrypt==4.0.1 16:24:01 beautifulsoup4==4.12.2 16:24:01 bitarray==2.8.3 16:24:01 certifi==2023.7.22 16:24:01 cffi==1.15.1 16:24:01 charset-normalizer==2.0.12 16:24:01 cryptography==40.0.2 16:24:01 decorator==5.1.1 16:24:01 elasticsearch==7.17.9 16:24:01 elasticsearch-dsl==7.4.1 16:24:01 enum34==1.1.10 16:24:01 idna==3.4 16:24:01 importlib-resources==5.4.0 16:24:01 ipaddr==2.2.0 16:24:01 isodate==0.6.1 16:24:01 jmespath==0.10.0 16:24:01 jsonpatch==1.32 16:24:01 jsonpath-rw==1.4.0 16:24:01 jsonpointer==2.3 16:24:01 lxml==4.9.3 16:24:01 netaddr==0.8.0 16:24:01 netifaces==0.11.0 16:24:01 odltools==0.1.28 16:24:01 paramiko==3.3.1 16:24:01 pkg_resources==0.0.0 16:24:01 ply==3.11 16:24:01 pyang==2.6.0 16:24:01 pyangbind==0.8.1 16:24:01 pycparser==2.21 16:24:01 pyhocon==0.3.60 16:24:01 PyNaCl==1.5.0 16:24:01 pyparsing==3.1.1 16:24:01 python-dateutil==2.8.2 16:24:01 regex==2023.8.8 16:24:01 requests==2.27.1 16:24:01 robotframework==6.1.1 16:24:01 robotframework-httplibrary==0.4.2 16:24:01 robotframework-pythonlibcore==3.0.0 16:24:01 robotframework-requests==0.9.4 16:24:01 robotframework-selenium2library==3.0.0 16:24:01 robotframework-seleniumlibrary==5.1.3 16:24:01 robotframework-sshlibrary==3.8.0 16:24:01 scapy==2.5.0 16:24:01 scp==0.14.5 16:24:01 selenium==3.141.0 16:24:01 six==1.16.0 16:24:01 soupsieve==2.3.2.post1 16:24:01 urllib3==1.26.18 16:24:01 waitress==2.0.0 16:24:01 WebOb==1.8.7 16:24:01 WebTest==3.0.0 16:24:01 zipp==3.6.0 16:24:01 ++ mkdir -p /tmp/tmp.JVtM2Bv3tH/src/onap 16:24:01 ++ rm -rf /tmp/tmp.JVtM2Bv3tH/src/onap/testsuite 16:24:01 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 16:24:08 ++ echo 'Uninstall docker-py and reinstall docker.' 16:24:08 Uninstall docker-py and reinstall docker. 16:24:08 ++ python3 -m pip uninstall -y -qq docker 16:24:09 ++ python3 -m pip install -U -qq docker 16:24:10 ++ python3 -m pip -qq freeze 16:24:11 bcrypt==4.0.1 16:24:11 beautifulsoup4==4.12.2 16:24:11 bitarray==2.8.3 16:24:11 certifi==2023.7.22 16:24:11 cffi==1.15.1 16:24:11 charset-normalizer==2.0.12 16:24:11 cryptography==40.0.2 16:24:11 decorator==5.1.1 16:24:11 deepdiff==5.7.0 16:24:11 dnspython==2.2.1 16:24:11 docker==5.0.3 16:24:11 elasticsearch==7.17.9 16:24:11 elasticsearch-dsl==7.4.1 16:24:11 enum34==1.1.10 16:24:11 future==0.18.3 16:24:11 idna==3.4 16:24:11 importlib-resources==5.4.0 16:24:11 ipaddr==2.2.0 16:24:11 isodate==0.6.1 16:24:11 Jinja2==3.0.3 16:24:11 jmespath==0.10.0 16:24:11 jsonpatch==1.32 16:24:11 jsonpath-rw==1.4.0 16:24:11 jsonpointer==2.3 16:24:11 kafka-python==2.0.2 16:24:11 lxml==4.9.3 16:24:11 MarkupSafe==2.0.1 16:24:11 more-itertools==5.0.0 16:24:11 netaddr==0.8.0 16:24:11 netifaces==0.11.0 16:24:11 odltools==0.1.28 16:24:11 ordered-set==4.0.2 16:24:11 paramiko==3.3.1 16:24:11 pbr==6.0.0 16:24:11 pkg_resources==0.0.0 16:24:11 ply==3.11 16:24:11 protobuf==3.19.6 16:24:11 pyang==2.6.0 16:24:11 pyangbind==0.8.1 16:24:11 pycparser==2.21 16:24:11 pyhocon==0.3.60 16:24:11 PyNaCl==1.5.0 16:24:11 pyparsing==3.1.1 16:24:11 python-dateutil==2.8.2 16:24:11 PyYAML==6.0.1 16:24:11 regex==2023.8.8 16:24:11 requests==2.27.1 16:24:11 robotframework==6.1.1 16:24:11 robotframework-httplibrary==0.4.2 16:24:11 robotframework-onap==0.6.0.dev105 16:24:11 robotframework-pythonlibcore==3.0.0 16:24:11 robotframework-requests==0.9.4 16:24:11 robotframework-selenium2library==3.0.0 16:24:11 robotframework-seleniumlibrary==5.1.3 16:24:11 robotframework-sshlibrary==3.8.0 16:24:11 robotlibcore-temp==1.0.2 16:24:11 scapy==2.5.0 16:24:11 scp==0.14.5 16:24:11 selenium==3.141.0 16:24:11 six==1.16.0 16:24:11 soupsieve==2.3.2.post1 16:24:11 urllib3==1.26.18 16:24:11 waitress==2.0.0 16:24:11 WebOb==1.8.7 16:24:11 websocket-client==1.3.1 16:24:11 WebTest==3.0.0 16:24:11 zipp==3.6.0 16:24:11 ++ uname 16:24:11 ++ grep -q Linux 16:24:11 ++ sudo apt-get -y -qq install libxml2-utils 16:24:11 + load_set 16:24:11 + _setopts=ehuxB 16:24:11 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 16:24:11 ++ tr : ' ' 16:24:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:24:11 + set +o braceexpand 16:24:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:24:11 + set +o hashall 16:24:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:24:11 + set +o interactive-comments 16:24:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:24:11 + set +o nounset 16:24:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:24:11 + set +o xtrace 16:24:11 ++ echo ehuxB 16:24:11 ++ sed 's/./& /g' 16:24:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:24:11 + set +e 16:24:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:24:11 + set +h 16:24:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:24:11 + set +u 16:24:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:24:11 + set +x 16:24:11 + source_safely /tmp/tmp.JVtM2Bv3tH/bin/activate 16:24:11 + '[' -z /tmp/tmp.JVtM2Bv3tH/bin/activate ']' 16:24:11 + relax_set 16:24:11 + set +e 16:24:11 + set +o pipefail 16:24:11 + . /tmp/tmp.JVtM2Bv3tH/bin/activate 16:24:11 ++ deactivate nondestructive 16:24:11 ++ '[' -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 ']' 16:24:11 ++ 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 16:24:11 ++ export PATH 16:24:11 ++ unset _OLD_VIRTUAL_PATH 16:24:11 ++ '[' -n '' ']' 16:24:11 ++ '[' -n /bin/bash -o -n '' ']' 16:24:11 ++ hash -r 16:24:11 ++ '[' -n '' ']' 16:24:11 ++ unset VIRTUAL_ENV 16:24:11 ++ '[' '!' nondestructive = nondestructive ']' 16:24:11 ++ VIRTUAL_ENV=/tmp/tmp.JVtM2Bv3tH 16:24:11 ++ export VIRTUAL_ENV 16:24:11 ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 16:24:11 ++ PATH=/tmp/tmp.JVtM2Bv3tH/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 16:24:11 ++ export PATH 16:24:11 ++ '[' -n '' ']' 16:24:11 ++ '[' -z '' ']' 16:24:11 ++ _OLD_VIRTUAL_PS1='(tmp.JVtM2Bv3tH) ' 16:24:11 ++ '[' 'x(tmp.JVtM2Bv3tH) ' '!=' x ']' 16:24:11 ++ PS1='(tmp.JVtM2Bv3tH) (tmp.JVtM2Bv3tH) ' 16:24:11 ++ export PS1 16:24:11 ++ '[' -n /bin/bash -o -n '' ']' 16:24:11 ++ hash -r 16:24:11 + load_set 16:24:11 + _setopts=hxB 16:24:11 ++ tr : ' ' 16:24:11 ++ echo braceexpand:hashall:interactive-comments:xtrace 16:24:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:24:11 + set +o braceexpand 16:24:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:24:11 + set +o hashall 16:24:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:24:11 + set +o interactive-comments 16:24:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:24:11 + set +o xtrace 16:24:11 ++ echo hxB 16:24:11 ++ sed 's/./& /g' 16:24:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:24:11 + set +h 16:24:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:24:11 + set +x 16:24:11 + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 16:24:11 + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 16:24:11 + export TEST_OPTIONS= 16:24:11 + TEST_OPTIONS= 16:24:11 ++ mktemp -d 16:24:11 + WORKDIR=/tmp/tmp.8m9fGfWtrb 16:24:11 + cd /tmp/tmp.8m9fGfWtrb 16:24:11 + docker login -u docker -p docker nexus3.onap.org:10001 16:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:11 Configure a credential helper to remove this warning. See 16:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:11 16:24:11 Login Succeeded 16:24:11 + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 16:24:11 + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 16:24:11 + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' 16:24:11 Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 16:24:11 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 16:24:11 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 16:24:11 + relax_set 16:24:11 + set +e 16:24:11 + set +o pipefail 16:24:11 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 16:24:11 ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh 16:24:11 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 16:24:11 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview 16:24:11 +++ GERRIT_BRANCH=master 16:24:11 +++ echo GERRIT_BRANCH=master 16:24:11 GERRIT_BRANCH=master 16:24:11 +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models 16:24:11 +++ mkdir /w/workspace/policy-api-master-project-csit-api/models 16:24:11 +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models 16:24:11 Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... 16:24:12 +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 16:24:12 +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 16:24:12 +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 16:24:12 +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 16:24:12 +++ 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 16:24:12 +++ 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 16:24:12 ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana 16:24:12 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 16:24:12 +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 16:24:12 +++ grafana=false 16:24:12 +++ gui=false 16:24:12 +++ [[ 2 -gt 0 ]] 16:24:12 +++ key=api 16:24:12 +++ case $key in 16:24:12 +++ echo api 16:24:12 api 16:24:12 +++ component=api 16:24:12 +++ shift 16:24:12 +++ [[ 1 -gt 0 ]] 16:24:12 +++ key=--grafana 16:24:12 +++ case $key in 16:24:12 +++ grafana=true 16:24:12 +++ shift 16:24:12 +++ [[ 0 -gt 0 ]] 16:24:12 +++ cd /w/workspace/policy-api-master-project-csit-api/compose 16:24:12 +++ echo 'Configuring docker compose...' 16:24:12 Configuring docker compose... 16:24:12 +++ source export-ports.sh 16:24:12 +++ source get-versions.sh 16:24:14 +++ '[' -z api ']' 16:24:14 +++ '[' -n api ']' 16:24:14 +++ '[' api == logs ']' 16:24:14 +++ '[' true = true ']' 16:24:14 +++ echo 'Starting api application with Grafana' 16:24:14 Starting api application with Grafana 16:24:14 +++ docker-compose up -d api grafana 16:24:16 Creating network "compose_default" with the default driver 16:24:16 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 16:24:16 10.10.2: Pulling from mariadb 16:24:21 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 16:24:21 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 16:24:21 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT)... 16:24:21 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator 16:24:30 Digest: sha256:95b0e87dae0821e375b172529bac7a8ec2d4496b86815e8062136443d6425924 16:24:30 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT 16:24:30 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 16:24:30 3.0.3-SNAPSHOT: Pulling from onap/policy-api 16:24:32 Digest: sha256:584376ee8a6175b11db57deffa926cbff8899d9af41a18e406b2d407f3d554f6 16:24:32 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT 16:24:32 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 16:24:32 latest: Pulling from prom/prometheus 16:24:35 Digest: sha256:3002935850ea69a59816825d4cb718fafcdb9b124e4e6153ebc6894627525f7f 16:24:35 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 16:24:35 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 16:24:35 latest: Pulling from grafana/grafana 16:24:41 Digest: sha256:1ee0c54286b8ca09a3dd1419ff8653e7780a148a006ac088544203bb0affe550 16:24:41 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 16:24:41 Creating mariadb ... 16:24:41 Creating prometheus ... 16:24:54 Creating prometheus ... done 16:24:54 Creating grafana ... 16:24:55 Creating mariadb ... done 16:24:55 Creating policy-db-migrator ... 16:24:56 Creating policy-db-migrator ... done 16:24:56 Creating policy-api ... 16:24:58 Creating grafana ... done 16:24:58 Creating policy-api ... done 16:24:58 +++ echo 'Prometheus server: http://localhost:30259' 16:24:58 Prometheus server: http://localhost:30259 16:24:58 +++ echo 'Grafana server: http://localhost:30269' 16:24:58 Grafana server: http://localhost:30269 16:24:58 +++ cd /w/workspace/policy-api-master-project-csit-api 16:24:58 ++ sleep 10 16:25:08 ++ unset http_proxy https_proxy 16:25:08 ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 16:25:08 Waiting for REST to come up on localhost port 30002... 16:25:09 NAMES STATUS 16:25:09 policy-api Up 10 seconds 16:25:09 policy-db-migrator Up 12 seconds 16:25:09 grafana Up 11 seconds 16:25:09 mariadb Up 13 seconds 16:25:09 prometheus Up 14 seconds 16:25:14 NAMES STATUS 16:25:14 policy-api Up 15 seconds 16:25:14 policy-db-migrator Up 17 seconds 16:25:14 grafana Up 16 seconds 16:25:14 mariadb Up 18 seconds 16:25:14 prometheus Up 19 seconds 16:25:19 NAMES STATUS 16:25:19 policy-api Up 20 seconds 16:25:19 grafana Up 21 seconds 16:25:19 mariadb Up 23 seconds 16:25:19 prometheus Up 24 seconds 16:25:24 NAMES STATUS 16:25:24 policy-api Up 25 seconds 16:25:24 grafana Up 26 seconds 16:25:24 mariadb Up 28 seconds 16:25:24 prometheus Up 29 seconds 16:25:29 NAMES STATUS 16:25:29 policy-api Up 30 seconds 16:25:29 grafana Up 31 seconds 16:25:29 mariadb Up 33 seconds 16:25:29 prometheus Up 35 seconds 16:25:29 ++ export 'SUITES=api-test.robot 16:25:29 api-slas.robot' 16:25:29 ++ SUITES='api-test.robot 16:25:29 api-slas.robot' 16:25:29 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 16:25:29 -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' 16:25:29 + load_set 16:25:29 + _setopts=hxB 16:25:29 ++ echo braceexpand:hashall:interactive-comments:xtrace 16:25:29 ++ tr : ' ' 16:25:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:25:29 + set +o braceexpand 16:25:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:25:29 + set +o hashall 16:25:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:25:29 + set +o interactive-comments 16:25:29 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:25:29 + set +o xtrace 16:25:29 ++ echo hxB 16:25:29 ++ sed 's/./& /g' 16:25:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:25:29 + set +h 16:25:29 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:25:29 + set +x 16:25:29 + docker_stats 16:25:29 + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 16:25:29 ++ uname -s 16:25:29 + '[' Linux == Darwin ']' 16:25:29 + sh -c 'top -bn1 | head -3' 16:25:29 top - 16:25:29 up 9 min, 0 users, load average: 1.88, 0.92, 0.43 16:25:29 Tasks: 171 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 16:25:29 %Cpu(s): 4.2 us, 0.8 sy, 0.0 ni, 91.9 id, 3.1 wa, 0.0 hi, 0.0 si, 0.0 st 16:25:29 + echo 16:25:29 + sh -c 'free -h' 16:25:29 16:25:29 total used free shared buff/cache available 16:25:29 Mem: 31G 1.5G 25G 1.0M 4.0G 29G 16:25:29 Swap: 1.0G 0B 1.0G 16:25:29 + echo 16:25:29 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 16:25:29 16:25:29 NAMES STATUS 16:25:29 policy-api Up 30 seconds 16:25:29 grafana Up 31 seconds 16:25:29 mariadb Up 34 seconds 16:25:29 prometheus Up 35 seconds 16:25:29 + echo 16:25:29 + docker stats --no-stream 16:25:29 16:25:32 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 16:25:32 a8fa67c8abbd policy-api 0.48% 518.9MiB / 31.41GiB 1.61% 999kB / 711kB 0B / 0B 52 16:25:32 3ce2e6e4bbe0 grafana 0.02% 100.6MiB / 31.41GiB 0.31% 19.4kB / 3.18kB 0B / 22.9MB 19 16:25:32 6ad42406517c mariadb 0.02% 100MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 68.1MB 27 16:25:32 ba269a887bab prometheus 0.00% 19.04MiB / 31.41GiB 0.06% 1.38kB / 0B 168kB / 0B 12 16:25:32 + echo 16:25:32 16:25:32 + cd /tmp/tmp.8m9fGfWtrb 16:25:32 + echo 'Reading the testplan:' 16:25:32 Reading the testplan: 16:25:32 + echo 'api-test.robot 16:25:32 api-slas.robot' 16:25:32 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 16:25:32 + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' 16:25:32 + cat testplan.txt 16:25:32 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot 16:25:32 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 16:25:32 ++ xargs 16:25:32 + 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' 16:25:32 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 16:25:32 -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' 16:25:32 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 16:25:32 -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 16:25:32 + 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 ...' 16:25:32 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 ... 16:25:32 + relax_set 16:25:32 + set +e 16:25:32 + set +o pipefail 16:25:32 + 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 16:25:32 ============================================================================== 16:25:32 api 16:25:32 ============================================================================== 16:25:32 api.Api-Test 16:25:32 ============================================================================== 16:25:32 Healthcheck :: Verify policy api health check | PASS | 16:25:32 ------------------------------------------------------------------------------ 16:25:32 RetrievePolicyTypes :: Retrieve all policy types | PASS | 16:25:34 ------------------------------------------------------------------------------ 16:25:34 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 16:25:35 ------------------------------------------------------------------------------ 16:25:35 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 16:25:35 ------------------------------------------------------------------------------ 16:25:35 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 16:25:35 ------------------------------------------------------------------------------ 16:25:35 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 16:25:36 ------------------------------------------------------------------------------ 16:25:36 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 16:25:36 ------------------------------------------------------------------------------ 16:25:36 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 16:25:36 ------------------------------------------------------------------------------ 16:25:36 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 16:25:36 ------------------------------------------------------------------------------ 16:25:36 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 16:25:37 ------------------------------------------------------------------------------ 16:25:37 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 16:25:37 ------------------------------------------------------------------------------ 16:25:37 RetrieveAllPolicies :: Retrieve all policies | PASS | 16:25:38 ------------------------------------------------------------------------------ 16:25:38 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 16:25:38 ------------------------------------------------------------------------------ 16:25:38 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 16:25:38 ------------------------------------------------------------------------------ 16:25:38 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 16:25:38 ------------------------------------------------------------------------------ 16:25:38 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 16:25:38 ------------------------------------------------------------------------------ 16:25:38 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 16:25:39 ------------------------------------------------------------------------------ 16:25:39 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 16:25:39 ------------------------------------------------------------------------------ 16:25:39 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 16:25:39 ------------------------------------------------------------------------------ 16:25:39 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 16:25:39 ------------------------------------------------------------------------------ 16:25:39 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 16:25:40 ------------------------------------------------------------------------------ 16:25:40 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 16:25:40 ------------------------------------------------------------------------------ 16:25:40 api.Api-Test | PASS | 16:25:40 22 tests, 22 passed, 0 failed 16:25:40 ============================================================================== 16:25:40 api.Api-Slas 16:25:40 ============================================================================== 16:25:40 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 16:26:40 ------------------------------------------------------------------------------ 16:26:40 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 16:26:40 ------------------------------------------------------------------------------ 16:26:40 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 16:26:40 ------------------------------------------------------------------------------ 16:26:40 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 16:26:40 ------------------------------------------------------------------------------ 16:26:40 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 16:26:40 ------------------------------------------------------------------------------ 16:26:40 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 16:26:40 ------------------------------------------------------------------------------ 16:26:40 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 16:26:40 ------------------------------------------------------------------------------ 16:26:40 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 16:26:40 ------------------------------------------------------------------------------ 16:26:40 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 16:26:40 ------------------------------------------------------------------------------ 16:26:40 api.Api-Slas | PASS | 16:26:40 9 tests, 9 passed, 0 failed 16:26:40 ============================================================================== 16:26:40 api | PASS | 16:26:40 31 tests, 31 passed, 0 failed 16:26:40 ============================================================================== 16:26:40 Output: /tmp/tmp.8m9fGfWtrb/output.xml 16:26:40 Log: /tmp/tmp.8m9fGfWtrb/log.html 16:26:40 Report: /tmp/tmp.8m9fGfWtrb/report.html 16:26:40 + RESULT=0 16:26:40 + load_set 16:26:40 + _setopts=hxB 16:26:40 ++ echo braceexpand:hashall:interactive-comments:xtrace 16:26:40 ++ tr : ' ' 16:26:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:26:40 + set +o braceexpand 16:26:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:26:40 + set +o hashall 16:26:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:26:40 + set +o interactive-comments 16:26:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:26:40 + set +o xtrace 16:26:40 ++ echo hxB 16:26:40 ++ sed 's/./& /g' 16:26:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:26:40 + set +h 16:26:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:26:40 + set +x 16:26:40 + echo 'RESULT: 0' 16:26:40 RESULT: 0 16:26:40 + exit 0 16:26:40 + on_exit 16:26:40 + rc=0 16:26:40 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] 16:26:40 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 16:26:40 NAMES STATUS 16:26:40 policy-api Up About a minute 16:26:40 grafana Up About a minute 16:26:40 mariadb Up About a minute 16:26:40 prometheus Up About a minute 16:26:40 + docker_stats 16:26:40 ++ uname -s 16:26:40 + '[' Linux == Darwin ']' 16:26:40 + sh -c 'top -bn1 | head -3' 16:26:40 top - 16:26:40 up 10 min, 0 users, load average: 0.70, 0.78, 0.42 16:26:40 Tasks: 170 total, 2 running, 100 sleeping, 0 stopped, 0 zombie 16:26:40 %Cpu(s): 4.1 us, 0.7 sy, 0.0 ni, 92.3 id, 2.8 wa, 0.0 hi, 0.0 si, 0.0 st 16:26:40 + echo 16:26:40 16:26:40 + sh -c 'free -h' 16:26:40 total used free shared buff/cache available 16:26:40 Mem: 31G 1.9G 25G 1.0M 4.0G 29G 16:26:40 Swap: 1.0G 0B 1.0G 16:26:40 + echo 16:26:40 16:26:40 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 16:26:40 NAMES STATUS 16:26:40 policy-api Up About a minute 16:26:40 grafana Up About a minute 16:26:40 mariadb Up About a minute 16:26:40 prometheus Up About a minute 16:26:40 + echo 16:26:40 16:26:40 + docker stats --no-stream 16:26:43 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 16:26:43 a8fa67c8abbd policy-api 0.20% 861.7MiB / 31.41GiB 2.68% 7.01MB / 2.59MB 0B / 0B 53 16:26:43 3ce2e6e4bbe0 grafana 0.02% 100.9MiB / 31.41GiB 0.31% 20.6kB / 4.47kB 0B / 22.9MB 19 16:26:43 6ad42406517c mariadb 0.01% 101.1MiB / 31.41GiB 0.31% 2.4MB / 7.04MB 11MB / 68.5MB 18 16:26:43 ba269a887bab prometheus 0.00% 25.82MiB / 31.41GiB 0.08% 102kB / 7.44kB 168kB / 0B 13 16:26:43 + echo 16:26:43 16:26:43 + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 16:26:43 + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' 16:26:43 + relax_set 16:26:43 + set +e 16:26:43 + set +o pipefail 16:26:43 + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 16:26:43 ++ echo 'Shut down started!' 16:26:43 Shut down started! 16:26:43 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 16:26:43 ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 16:26:43 ++ cd /w/workspace/policy-api-master-project-csit-api/compose 16:26:43 ++ source export-ports.sh 16:26:43 ++ source get-versions.sh 16:26:45 ++ echo 'Collecting logs from docker compose containers...' 16:26:45 Collecting logs from docker compose containers... 16:26:45 ++ docker-compose logs 16:26:46 ++ cat docker_compose.log 16:26:46 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.760943028Z level=info msg="Starting Grafana" version=10.2.0 commit=895fbafb7a branch=HEAD compiled=2023-10-23T13:40:35Z 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761241394Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761258784Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761263644Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761267984Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761273104Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761277264Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761282044Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761287044Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761489788Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761496048Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761500338Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761506519Z level=info msg=Target target=[all] 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761516349Z level=info msg="Path Home" path=/usr/share/grafana 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761520869Z level=info msg="Path Data" path=/var/lib/grafana 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761525059Z level=info msg="Path Logs" path=/var/log/grafana 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761528659Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761532799Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 16:26:46 grafana | logger=settings t=2023-11-14T16:24:57.761536999Z level=info msg="App mode production" 16:26:46 grafana | logger=sqlstore t=2023-11-14T16:24:57.761898306Z level=info msg="Connecting to DB" dbtype=sqlite3 16:26:46 grafana | logger=sqlstore t=2023-11-14T16:24:57.761920086Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:57.762837844Z level=info msg="Starting DB migrations" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:57.763772353Z level=info msg="Executing migration" id="create migration_log table" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:57.76464892Z level=info msg="Migration successfully executed" id="create migration_log table" duration=876.557µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.039011234Z level=info msg="Executing migration" id="create user table" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.039846909Z level=info msg="Migration successfully executed" id="create user table" duration=838.145µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.059050831Z level=info msg="Executing migration" id="add unique index user.login" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.090924001Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=31.87738ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.111613559Z level=info msg="Executing migration" id="add unique index user.email" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.11285316Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.238431ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.137381235Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.139098864Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.716949ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.151580179Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.15281777Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.232581ms 16:26:46 mariadb | 2023-11-14 16:24:55+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 16:26:46 mariadb | 2023-11-14 16:24:55+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 16:26:46 mariadb | 2023-11-14 16:24:55+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 16:26:46 mariadb | 2023-11-14 16:24:55+00:00 [Note] [Entrypoint]: Initializing database files 16:26:46 mariadb | 2023-11-14 16:24:55 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 16:26:46 mariadb | 2023-11-14 16:24:55 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 16:26:46 mariadb | 2023-11-14 16:24:55 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 16:26:46 mariadb | 16:26:46 mariadb | 16:26:46 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 16:26:46 mariadb | To do so, start the server, then issue the following command: 16:26:46 mariadb | 16:26:46 mariadb | '/usr/bin/mysql_secure_installation' 16:26:46 mariadb | 16:26:46 mariadb | which will also give you the option of removing the test 16:26:46 mariadb | databases and anonymous user created by default. This is 16:26:46 mariadb | strongly recommended for production servers. 16:26:46 mariadb | 16:26:46 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 16:26:46 mariadb | 16:26:46 mariadb | Please report any problems at https://mariadb.org/jira 16:26:46 mariadb | 16:26:46 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 16:26:46 mariadb | 16:26:46 mariadb | Consider joining MariaDB's strong and vibrant community: 16:26:46 mariadb | https://mariadb.org/get-involved/ 16:26:46 mariadb | 16:26:46 mariadb | 2023-11-14 16:24:59+00:00 [Note] [Entrypoint]: Database files initialized 16:26:46 mariadb | 2023-11-14 16:24:59+00:00 [Note] [Entrypoint]: Starting temporary server 16:26:46 mariadb | 2023-11-14 16:24:59+00:00 [Note] [Entrypoint]: Waiting for server startup 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Number of transaction pools: 1 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.166231691Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.170202839Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.971088ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.181223419Z level=info msg="Executing migration" id="create user table v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.182277057Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.053688ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.195517894Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.196635474Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.11622ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.206839289Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.207574442Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=735.113µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.214514342Z level=info msg="Executing migration" id="copy data_source v1 to v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.214965929Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=451.447µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.222199884Z level=info msg="Executing migration" id="Drop old table user_v1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.223246672Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.049838ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.234572377Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.236935768Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.365881ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.248345734Z level=info msg="Executing migration" id="Update user table charset" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.248450226Z level=info msg="Migration successfully executed" id="Update user table charset" duration=108.671µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.25858036Z level=info msg="Executing migration" id="Add last_seen_at column to user" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.260090355Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.508785ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.264015033Z level=info msg="Executing migration" id="Add missing user data" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.264328368Z level=info msg="Migration successfully executed" id="Add missing user data" duration=312.755µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.272449188Z level=info msg="Executing migration" id="Add is_disabled column to user" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.274472583Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.021924ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.28129372Z level=info msg="Executing migration" id="Add index user.login/user.email" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.282470451Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.176701ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.288607637Z level=info msg="Executing migration" id="Add is_service_account column to user" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.289865888Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.258701ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.297497369Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.308732013Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.230293ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.315841825Z level=info msg="Executing migration" id="create temp user table v1-7" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.316580328Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=740.323µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.323760131Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.325093554Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.320043ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.33126556Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.332314419Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.048659ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.338666257Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.339556113Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=890.696µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.347816435Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.349040157Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.224982ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.356122598Z level=info msg="Executing migration" id="Update temp_user table charset" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.356186889Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=69.181µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.361031102Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.363047057Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=2.015085ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.373829042Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.374450004Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=621.212µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.379632603Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.380244263Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=611.08µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.386567232Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.387200863Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=633.661µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.396071775Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.402082879Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=6.006744ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.407484791Z level=info msg="Executing migration" id="create temp_user v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.408214334Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=729.413µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.416967415Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.417735368Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=767.593µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.424429064Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.425578673Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.148688ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.432215097Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.433470669Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.254322ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.439750097Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.440875866Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.123319ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.448913894Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.449331971Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=418.267µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.457555933Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.458325447Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=769.184µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.466988916Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.467537825Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=549.329µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.476182274Z level=info msg="Executing migration" id="create star table" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.47711482Z level=info msg="Migration successfully executed" id="create star table" duration=932.676µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.485231Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 16:26:46 policy-api | Waiting for mariadb port 3306... 16:26:46 policy-api | mariadb (172.17.0.3:3306) open 16:26:46 policy-api | Waiting for policy-db-migrator port 6824... 16:26:46 policy-api | policy-db-migrator (172.17.0.5:6824) open 16:26:46 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 16:26:46 policy-api | 16:26:46 policy-api | . ____ _ __ _ _ 16:26:46 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 16:26:46 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 16:26:46 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 16:26:46 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 16:26:46 policy-api | =========|_|==============|___/=/_/_/_/ 16:26:46 policy-api | :: Spring Boot :: (v3.1.4) 16:26:46 policy-api | 16:26:46 policy-api | [2023-11-14T16:25:17.254+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 27 (/app/api.jar started by policy in /opt/app/policy/api/bin) 16:26:46 policy-api | [2023-11-14T16:25:17.256+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 16:26:46 policy-api | [2023-11-14T16:25:18.908+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 16:26:46 policy-api | [2023-11-14T16:25:18.991+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 74 ms. Found 6 JPA repository interfaces. 16:26:46 policy-api | [2023-11-14T16:25:19.387+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 16:26:46 policy-api | [2023-11-14T16:25:19.388+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 16:26:46 policy-api | [2023-11-14T16:25:20.033+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 16:26:46 policy-api | [2023-11-14T16:25:20.045+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 16:26:46 policy-api | [2023-11-14T16:25:20.046+00:00|INFO|StandardService|main] Starting service [Tomcat] 16:26:46 policy-api | [2023-11-14T16:25:20.046+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 16:26:46 policy-api | [2023-11-14T16:25:20.136+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 16:26:46 policy-api | [2023-11-14T16:25:20.136+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2815 ms 16:26:46 policy-api | [2023-11-14T16:25:20.529+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 16:26:46 policy-api | [2023-11-14T16:25:20.601+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 16:26:46 policy-api | [2023-11-14T16:25:20.604+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 16:26:46 policy-api | [2023-11-14T16:25:20.650+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 16:26:46 policy-api | [2023-11-14T16:25:20.992+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 16:26:46 policy-api | [2023-11-14T16:25:21.021+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 16:26:46 policy-api | [2023-11-14T16:25:21.114+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b 16:26:46 policy-api | [2023-11-14T16:25:21.116+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 16:26:46 policy-api | [2023-11-14T16:25:21.143+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 16:26:46 policy-api | [2023-11-14T16:25:21.144+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 16:26:46 policy-api | [2023-11-14T16:25:22.881+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 16:26:46 policy-api | [2023-11-14T16:25:22.885+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 16:26:46 policy-api | [2023-11-14T16:25:24.149+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 16:26:46 policy-api | [2023-11-14T16:25:24.846+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 16:26:46 policy-api | [2023-11-14T16:25:25.847+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 16:26:46 policy-api | [2023-11-14T16:25:26.020+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@63f95ac1, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@14a7e16e, org.springframework.security.web.context.SecurityContextHolderFilter@6e04275e, org.springframework.security.web.header.HeaderWriterFilter@2986e26f, org.springframework.security.web.authentication.logout.LogoutFilter@c9f1951, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@13e6b26c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@453ef145, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3edd135d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@59171a5d, org.springframework.security.web.access.ExceptionTranslationFilter@19a7e618, org.springframework.security.web.access.intercept.AuthorizationFilter@d181ca3] 16:26:46 policy-api | [2023-11-14T16:25:26.892+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 16:26:46 policy-api | [2023-11-14T16:25:26.957+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 16:26:46 policy-api | [2023-11-14T16:25:26.974+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 16:26:46 policy-api | [2023-11-14T16:25:26.992+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.458 seconds (process running for 11.048) 16:26:46 policy-api | [2023-11-14T16:25:32.422+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 16:26:46 policy-api | [2023-11-14T16:25:32.423+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 16:26:46 policy-api | [2023-11-14T16:25:32.425+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms 16:26:46 policy-api | [2023-11-14T16:25:34.938+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 16:26:46 policy-api | [] 16:26:46 policy-api | [2023-11-14T16:25:35.063+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 16:26:46 policy-api | [2023-11-14T16:25:35.299+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 16:26:46 policy-api | [2023-11-14T16:25:36.639+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 16:26:46 policy-api | [2023-11-14T16:25:38.763+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 16:26:46 policy-api | [2023-11-14T16:25:39.063+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policies/onap.restart.tca/versions/1.0.0 16:26:46 policy-api | [2023-11-14T16:25:39.282+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 16:26:46 policy-api | [2023-11-14T16:25:39.515+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 16:26:46 policy-api | [2023-11-14T16:25:39.787+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 16:26:46 policy-api | [2023-11-14T16:25:40.013+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Completed initialization of buffer pool 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: 128 rollback segments are active. 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: log sequence number 46590; transaction id 14 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] Plugin 'FEEDBACK' is disabled. 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 16:26:46 mariadb | 2023-11-14 16:24:59 0 [Note] mariadbd: ready for connections. 16:26:46 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 16:26:46 mariadb | 2023-11-14 16:25:00+00:00 [Note] [Entrypoint]: Temporary server started. 16:26:46 mariadb | 2023-11-14 16:25:02+00:00 [Note] [Entrypoint]: Creating user policy_user 16:26:46 mariadb | 2023-11-14 16:25:02+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 16:26:46 mariadb | 16:26:46 mariadb | 2023-11-14 16:25:02+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 16:26:46 mariadb | 16:26:46 mariadb | 2023-11-14 16:25:02+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 16:26:46 mariadb | #!/bin/bash -xv 16:26:46 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 16:26:46 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 16:26:46 mariadb | # 16:26:46 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 16:26:46 mariadb | # you may not use this file except in compliance with the License. 16:26:46 mariadb | # You may obtain a copy of the License at 16:26:46 mariadb | # 16:26:46 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 16:26:46 mariadb | # 16:26:46 mariadb | # Unless required by applicable law or agreed to in writing, software 16:26:46 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 16:26:46 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16:26:46 mariadb | # See the License for the specific language governing permissions and 16:26:46 mariadb | # limitations under the License. 16:26:46 mariadb | 16:26:46 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:26:46 mariadb | do 16:26:46 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 16:26:46 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 16:26:46 mariadb | done 16:26:46 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:26:46 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.487185743Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.952653ms 16:26:46 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.496091367Z level=info msg="Executing migration" id="create org table v1" 16:26:46 prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d 16:26:46 policy-db-migrator | Waiting for mariadb port 3306... 16:26:46 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.497228686Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.1368ms 16:26:46 prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.47.2, branch=HEAD, revision=3f3172cde1ee37f1c7b3a5f3d9b031190509b3ad)" 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.503587165Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 16:26:46 prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:588 level=info build_context="(go=go1.21.3, platform=linux/amd64, user=root@79f2ad339b75, date=20231012-16:07:10, tags=netgo,builtinassets,stringlabels)" 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:26:46 prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.505138812Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.550567ms 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:26:46 prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.51198021Z level=info msg="Executing migration" id="create org_user table v1" 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 16:26:46 prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.512918516Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=937.846µs 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:26:46 prometheus | ts=2023-11-14T16:24:54.227Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.518508442Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:26:46 prometheus | ts=2023-11-14T16:24:54.228Z caller=main.go:1024 level=info msg="Starting TSDB ..." 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.519672122Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.1643ms 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 16:26:46 prometheus | ts=2023-11-14T16:24:54.230Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.524306612Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:26:46 prometheus | ts=2023-11-14T16:24:54.230Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.525532293Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.225171ms 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:26:46 prometheus | ts=2023-11-14T16:24:54.234Z caller=head.go:600 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.531883662Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 16:26:46 prometheus | ts=2023-11-14T16:24:54.234Z caller=head.go:681 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.91µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.533421108Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.536866ms 16:26:46 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 16:26:46 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:26:46 prometheus | ts=2023-11-14T16:24:54.234Z caller=head.go:689 level=info component=tsdb msg="Replaying WAL, this may take a while" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.541507257Z level=info msg="Executing migration" id="Update org table charset" 16:26:46 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 16:26:46 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 16:26:46 prometheus | ts=2023-11-14T16:24:54.235Z caller=head.go:760 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.541561078Z level=info msg="Migration successfully executed" id="Update org table charset" duration=57.611µs 16:26:46 policy-db-migrator | 321 blocks 16:26:46 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 16:26:46 prometheus | ts=2023-11-14T16:24:54.235Z caller=head.go:797 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=142.213µs wal_replay_duration=371.227µs wbl_replay_duration=180ns total_replay_duration=540.77µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.545495626Z level=info msg="Executing migration" id="Update org_user table charset" 16:26:46 policy-db-migrator | Preparing upgrade release version: 0800 16:26:46 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 16:26:46 prometheus | ts=2023-11-14T16:24:54.237Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.545535787Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=41.421µs 16:26:46 policy-db-migrator | Preparing upgrade release version: 0900 16:26:46 mariadb | 16:26:46 prometheus | ts=2023-11-14T16:24:54.237Z caller=main.go:1048 level=info msg="TSDB started" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.551884647Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 16:26:46 policy-db-migrator | Preparing upgrade release version: 1000 16:26:46 prometheus | ts=2023-11-14T16:24:54.237Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.552208032Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=322.935µs 16:26:46 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 16:26:46 policy-db-migrator | Preparing upgrade release version: 1100 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.559342355Z level=info msg="Executing migration" id="create dashboard table" 16:26:46 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 16:26:46 policy-db-migrator | Preparing upgrade release version: 1200 16:26:46 prometheus | ts=2023-11-14T16:24:54.238Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.190762ms db_storage=1.671µs remote_storage=2.14µs web_handler=740ns query_engine=1.19µs scrape=235.174µs scrape_sd=347.175µs notify=40.531µs notify_sd=14.12µs rules=1.74µs tracing=5.711µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.560428094Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.086639ms 16:26:46 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 16:26:46 policy-db-migrator | Preparing upgrade release version: 1300 16:26:46 prometheus | ts=2023-11-14T16:24:54.238Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.568106975Z level=info msg="Executing migration" id="add index dashboard.account_id" 16:26:46 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 16:26:46 prometheus | ts=2023-11-14T16:24:54.238Z caller=manager.go:1009 level=info component="rule manager" msg="Starting rule manager..." 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.569689512Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.587457ms 16:26:46 policy-db-migrator | Done 16:26:46 mariadb | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.573552449Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 16:26:46 policy-db-migrator | name version 16:26:46 mariadb | 2023-11-14 16:25:06+00:00 [Note] [Entrypoint]: Stopping temporary server 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.574785Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.233081ms 16:26:46 policy-db-migrator | policyadmin 0 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.57944813Z level=info msg="Executing migration" id="create dashboard_tag table" 16:26:46 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: FTS optimize thread exiting. 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.580134973Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=686.993µs 16:26:46 policy-db-migrator | upgrade: 0 -> 1300 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Starting shutdown... 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.585174579Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 16:26:46 policy-db-migrator | 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.586015914Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=841.364µs 16:26:46 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Buffer pool(s) dump completed at 231114 16:25:06 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.591343416Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 16:26:46 policy-db-migrator | -------------- 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.592725959Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.382583ms 16:26:46 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) 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Shutdown completed; log sequence number 340696; transaction id 298 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.598373116Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 16:26:46 policy-db-migrator | -------------- 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd: Shutdown complete 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.605793794Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.419968ms 16:26:46 policy-db-migrator | 16:26:46 mariadb | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.609985806Z level=info msg="Executing migration" id="create dashboard v2" 16:26:46 policy-db-migrator | 16:26:46 mariadb | 2023-11-14 16:25:06+00:00 [Note] [Entrypoint]: Temporary server stopped 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.610499254Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=513.428µs 16:26:46 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 16:26:46 mariadb | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.616087051Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 16:26:46 policy-db-migrator | -------------- 16:26:46 mariadb | 2023-11-14 16:25:06+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.617235291Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.149469ms 16:26:46 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) 16:26:46 mariadb | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.623516939Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 16:26:46 policy-db-migrator | -------------- 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.624697069Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.17965ms 16:26:46 policy-db-migrator | 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.630933216Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Number of transaction pools: 1 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.631432895Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=500.058µs 16:26:46 policy-db-migrator | 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.66312271Z level=info msg="Executing migration" id="drop table dashboard_v1" 16:26:46 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.664360872Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.246262ms 16:26:46 policy-db-migrator | -------------- 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.668138287Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 16:26:46 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) 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.668261959Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=127.142µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.673874566Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.675832799Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.956853ms 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Completed initialization of buffer pool 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.683009412Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 16:26:46 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.684858635Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.848663ms 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: 128 rollback segments are active. 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.689394692Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.691296435Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.898193ms 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.697739326Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: log sequence number 340696; transaction id 299 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.699508306Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.77395ms 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] Plugin 'FEEDBACK' is disabled. 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.708330428Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 16:26:46 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.710372683Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.040075ms 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.716332576Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 16:26:46 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) 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] Server socket created on IP: '0.0.0.0'. 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.717874872Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.542086ms 16:26:46 policy-db-migrator | -------------- 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] Server socket created on IP: '::'. 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.726424759Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 16:26:46 policy-db-migrator | 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd: ready for connections. 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.728009026Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.583797ms 16:26:46 policy-db-migrator | 16:26:46 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.755062603Z level=info msg="Executing migration" id="Update dashboard table charset" 16:26:46 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 16:26:46 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Buffer pool(s) load completed at 231114 16:25:06 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.755267306Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=203.733µs 16:26:46 policy-db-migrator | -------------- 16:26:46 mariadb | 2023-11-14 16:25:06 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.759717662Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 16:26:46 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) 16:26:46 mariadb | 2023-11-14 16:25:07 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.759757893Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=41.951µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.765236777Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.768898691Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.661264ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.77821929Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 16:26:46 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.781197021Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.975951ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.786194198Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.788547219Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.353891ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.794095534Z level=info msg="Executing migration" id="Add column uid in dashboard" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.795700292Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.604157ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.804876069Z level=info msg="Executing migration" id="Update uid column values in dashboard" 16:26:46 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.805409369Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=533.41µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.829738917Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 16:26:46 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.831472777Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.736499ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.85081273Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.852207893Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.403524ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.857487985Z level=info msg="Executing migration" id="Update dashboard title length" 16:26:46 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.857537135Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=50.94µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.870055471Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.871586937Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.534576ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.881404586Z level=info msg="Executing migration" id="create dashboard_provisioning" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.88220133Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=796.794µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.890842768Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 16:26:46 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.897712387Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.866329ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.90489955Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.9054976Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=597.99µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.916942307Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.91824181Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.289872ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.923234626Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 16:26:46 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.924581399Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.346023ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.929551464Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.929911911Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=361.577µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.94261628Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.943633956Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.016996ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.951015224Z level=info msg="Executing migration" id="Add check_sum column" 16:26:46 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.9542844Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.268196ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.967496187Z level=info msg="Executing migration" id="Add index for dashboard_title" 16:26:46 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.96882935Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.332593ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.980253317Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.980544882Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=295.455µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.989191331Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 16:26:46 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.989368224Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=175.193µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.996019438Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:58.997242809Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.224301ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.01037301Z level=info msg="Executing migration" id="Add isPublic for dashboard" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.015992649Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=5.615639ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.023983591Z level=info msg="Executing migration" id="create data_source table" 16:26:46 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.02506533Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.08127ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.032977189Z level=info msg="Executing migration" id="add index data_source.account_id" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.034289622Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.314483ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.04546561Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.046452808Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=986.848µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.054962119Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 16:26:46 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.05612781Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.166301ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.063133974Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.063811416Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=677.172µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.071077894Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.082995636Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.914512ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.088670837Z level=info msg="Executing migration" id="create data_source table v2" 16:26:46 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.089521822Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=851.636µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.095182033Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.096412614Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.229812ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.104438816Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.105845431Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.404235ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.115133146Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 16:26:46 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.116201555Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=1.068209ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.122997786Z level=info msg="Executing migration" id="Add column with_credentials" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.125623002Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.624456ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.137217908Z level=info msg="Executing migration" id="Add secure json data column" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.14127202Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=4.054432ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.147244916Z level=info msg="Executing migration" id="Update data_source table charset" 16:26:46 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.147274366Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=30.36µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.153985475Z level=info msg="Executing migration" id="Update initial version to 1" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.15426387Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=278.325µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.159402812Z level=info msg="Executing migration" id="Add read_only data column" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.163089056Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.685854ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.167521955Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 16:26:46 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.167717448Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=196.213µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.183777913Z level=info msg="Executing migration" id="Update json_data with nulls" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.184268112Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=491.479µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.191234356Z level=info msg="Executing migration" id="Add uid column" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.19372772Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.494105ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.199655215Z level=info msg="Executing migration" id="Update uid value" 16:26:46 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.199843108Z level=info msg="Migration successfully executed" id="Update uid value" duration=188.923µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.204179815Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.205052101Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=871.936µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.212575624Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.213810666Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.232772ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.219029868Z level=info msg="Executing migration" id="create api_key table" 16:26:46 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.220157979Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.128121ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.224539486Z level=info msg="Executing migration" id="add index api_key.account_id" 16:26:46 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.225729848Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.190102ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.232858814Z level=info msg="Executing migration" id="add index api_key.key" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.233950004Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.09518ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.23937056Z level=info msg="Executing migration" id="add index api_key.account_id_name" 16:26:46 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.241309034Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.938004ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.248165656Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.249461909Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.300604ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.254569539Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.255525116Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=961.677µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.258929727Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 16:26:46 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 16:26:46 policy-db-migrator | -------------- 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.25972443Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=795.253µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.265132826Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.271644572Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.512016ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.30653758Z level=info msg="Executing migration" id="create api_key table v2" 16:26:46 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.307612529Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.074429ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.314017293Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 16:26:46 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.315343227Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.325094ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.320429777Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.321623128Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.192891ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.326553056Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 16:26:46 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.32739195Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=838.324µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.332063334Z level=info msg="Executing migration" id="copy api_key v1 to v2" 16:26:46 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.332599983Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=536.659µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.337391818Z level=info msg="Executing migration" id="Drop old table api_key_v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.338246743Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=854.965µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.344710688Z level=info msg="Executing migration" id="Update api_key table charset" 16:26:46 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.344740488Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=30.55µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.349133996Z level=info msg="Executing migration" id="Add expires to api_key table" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.353104077Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.969731ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.370485875Z level=info msg="Executing migration" id="Add service account foreign key" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.375560065Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=5.078551ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.389210487Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.389540023Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=317.266µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.405382724Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 16:26:46 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.40796638Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.581386ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.414351293Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.416986899Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.634296ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.426912796Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.427596028Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=683.262µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.440336223Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 16:26:46 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.441187579Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=849.766µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.450559305Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.451792117Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.235602ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.460008892Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.460770876Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=761.884µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.467149069Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 16:26:46 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.468495063Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.345304ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.473715456Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.474596302Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=880.595µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.479470618Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.47958422Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=115.011µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.485396383Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 16:26:46 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.485438573Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=43.81µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.490022165Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.492750134Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.727849ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.498109268Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.500970529Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.861671ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.505144773Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 16:26:46 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.505227835Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=78.202µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.510334075Z level=info msg="Executing migration" id="create quota table v1" 16:26:46 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.511060059Z level=info msg="Migration successfully executed" id="create quota table v1" duration=725.834µs 16:26:46 policy-db-migrator | -------------- 16:26:46 policy-db-migrator | 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.513647564Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 16:26:46 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.514480948Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=833.034µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.51848311Z level=info msg="Executing migration" id="Update quota table charset" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.51852683Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=45.56µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.547071676Z level=info msg="Executing migration" id="create plugin_setting table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.54783837Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=770.854µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.553819886Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 16:26:46 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.554668702Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=848.626µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.565607036Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.570296389Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.696452ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.57488112Z level=info msg="Executing migration" id="Update plugin_setting table charset" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.574936111Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=57.041µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.579691336Z level=info msg="Executing migration" id="create session table" 16:26:46 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.580443368Z level=info msg="Migration successfully executed" id="create session table" duration=752.022µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.584073453Z level=info msg="Executing migration" id="Drop old table playlist table" 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.584219206Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=143.513µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.588343579Z level=info msg="Executing migration" id="Drop old table playlist_item table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.588474291Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=131.422µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.598512109Z level=info msg="Executing migration" id="create playlist table v2" 16:26:46 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.599617279Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.10513ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.606161785Z level=info msg="Executing migration" id="create playlist item table v2" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.607510569Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.350254ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.612128691Z level=info msg="Executing migration" id="Update playlist table charset" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.612157691Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=27.87µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.6160354Z level=info msg="Executing migration" id="Update playlist_item table charset" 16:26:46 policy-db-migrator | > upgrade 0450-pdpgroup.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.616062781Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=28.011µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.621941195Z level=info msg="Executing migration" id="Add playlist column created_at" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.626689138Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.747993ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.632815048Z level=info msg="Executing migration" id="Add playlist column updated_at" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.635929733Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.114285ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.641864888Z level=info msg="Executing migration" id="drop preferences table v2" 16:26:46 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.641947039Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=84.091µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.648905883Z level=info msg="Executing migration" id="drop preferences table v3" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.649037235Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=132.142µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.660235744Z level=info msg="Executing migration" id="create preferences table v3" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.661312623Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.076959ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.670447715Z level=info msg="Executing migration" id="Update preferences table charset" 16:26:46 policy-db-migrator | > upgrade 0470-pdp.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.670490506Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=44.341µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.693588115Z level=info msg="Executing migration" id="Add column team_id in preferences" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.698692246Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.103551ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.703621543Z level=info msg="Executing migration" id="Update team_id column values in preferences" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.703817036Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=194.963µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.707248808Z level=info msg="Executing migration" id="Add column week_start in preferences" 16:26:46 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.710323862Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.069684ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.713514559Z level=info msg="Executing migration" id="Add column preferences.json_data" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.716671205Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.156257ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.721048053Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.721113074Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=65.831µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.724505933Z level=info msg="Executing migration" id="Add preferences index org_id" 16:26:46 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.72540911Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=902.907µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.729147076Z level=info msg="Executing migration" id="Add preferences index user_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.730446079Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.295854ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.735148303Z level=info msg="Executing migration" id="create alert table v1" 16:26:46 policy-db-migrator | -------------- 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.736619519Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.470416ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.740246843Z level=info msg="Executing migration" id="add index alert org_id & id " 16:26:46 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.741133599Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=885.045µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.745206561Z level=info msg="Executing migration" id="add index alert state" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.746009685Z level=info msg="Migration successfully executed" id="add index alert state" duration=803.213µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.750411234Z level=info msg="Executing migration" id="add index alert dashboard_id" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.751295619Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=883.925µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.755380031Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 16:26:46 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.756241367Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=860.736µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.7609499Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.762420276Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.469826ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.771367575Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.772684609Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.317564ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.77678124Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 16:26:46 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.78968852Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.90934ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.793320624Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.794086708Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=765.744µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.798467725Z 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" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.799674517Z 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.205562ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.803487945Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 16:26:46 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.804025514Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=537.199µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.807938734Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.808591985Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=652.881µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.814445329Z level=info msg="Executing migration" id="create alert_notification table v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.815282004Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=836.295µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.819179123Z level=info msg="Executing migration" id="Add column is_default" 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.824704401Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.522728ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.828947526Z level=info msg="Executing migration" id="Add column frequency" 16:26:46 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.832751113Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.803067ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.838179789Z level=info msg="Executing migration" id="Add column send_reminder" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.841978917Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.798838ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.845920277Z level=info msg="Executing migration" id="Add column disable_resolve_message" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.849683634Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.764537ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.853860088Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 16:26:46 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.855007878Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.14106ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.859792113Z level=info msg="Executing migration" id="Update alert table charset" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.859869285Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=78.532µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.863971337Z level=info msg="Executing migration" id="Update alert_notification table charset" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.864075449Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=103.712µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.867700903Z level=info msg="Executing migration" id="create notification_journal table v1" 16:26:46 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.868915795Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.218422ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.874213899Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.875327929Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.11408ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.898681543Z level=info msg="Executing migration" id="drop alert_notification_journal" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.900002916Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.331663ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.904089828Z level=info msg="Executing migration" id="create alert_notification_state table v1" 16:26:46 policy-db-migrator | > upgrade 0570-toscadatatype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.905221599Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.131831ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.90983352Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.911252005Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.421405ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.914746808Z level=info msg="Executing migration" id="Add for to alert table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.92105785Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.311872ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.925355106Z level=info msg="Executing migration" id="Add column uid in alert_notification" 16:26:46 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.929241684Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.887578ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.932865359Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.933051492Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=186.463µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.937718605Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.938588681Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=869.766µs 16:26:46 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.943929746Z level=info msg="Executing migration" id="Remove unique index org_id_name" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.94474678Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=814.203µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.948875713Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.952741841Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.865798ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.957277422Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.957346433Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=68.771µs 16:26:46 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.96110834Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.962084538Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=969.167µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.966572867Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.968123454Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.551417ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.97183155Z level=info msg="Executing migration" id="Drop old annotation table v4" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.971932832Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=102.532µs 16:26:46 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.975188059Z level=info msg="Executing migration" id="create annotation table v5" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.976123156Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=935.237µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.980633786Z level=info msg="Executing migration" id="add index annotation 0 v3" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.982024811Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.390925ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.985732367Z level=info msg="Executing migration" id="add index annotation 1 v3" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.987043171Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.310263ms 16:26:46 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.991105272Z level=info msg="Executing migration" id="add index annotation 2 v3" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.991944837Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=839.175µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.99663899Z level=info msg="Executing migration" id="add index annotation 3 v3" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:24:59.998172398Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.532218ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.001771601Z level=info msg="Executing migration" id="add index annotation 4 v3" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.003232297Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.460156ms 16:26:46 policy-db-migrator | > upgrade 0630-toscanodetype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.00790775Z level=info msg="Executing migration" id="Update annotation table charset" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.007930711Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.361µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.011013805Z level=info msg="Executing migration" id="Add column region_id to annotation table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.016628285Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.61226ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.020987612Z level=info msg="Executing migration" id="Drop category_id index" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.021782425Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=794.613µs 16:26:46 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.025125095Z level=info msg="Executing migration" id="Add column tags to annotation table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.028980734Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.855589ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.03387824Z level=info msg="Executing migration" id="Create annotation_tag table v2" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.034495372Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=616.982µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.038523082Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.039378458Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=854.996µs 16:26:46 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.044340026Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.04516923Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=832.794µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.055957862Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.072468654Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.511782ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.0790338Z level=info msg="Executing migration" id="Create annotation_tag table v3" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.07952139Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=485.41µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.093757252Z 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" 16:26:46 policy-db-migrator | > upgrade 0660-toscaparameter.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.095265528Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.506617ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.099408182Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.099860699Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=449.167µs 16:26:46 policy-db-migrator | -------------- 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.104751087Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.105613532Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=870.724µs 16:26:46 policy-db-migrator | > upgrade 0670-toscapolicies.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.109766415Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.11006749Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=301.205µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.114414818Z level=info msg="Executing migration" id="Add created time to annotation table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.118586102Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.170654ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.122310907Z level=info msg="Executing migration" id="Add updated time to annotation table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.12641468Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.103373ms 16:26:46 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.130097216Z level=info msg="Executing migration" id="Add index for created in annotation table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.130961411Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=865.845µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.135894208Z level=info msg="Executing migration" id="Add index for updated in annotation table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.137015378Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.11956ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.14103672Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.141407206Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=372.756µs 16:26:46 policy-db-migrator | > upgrade 0690-toscapolicy.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.145544619Z level=info msg="Executing migration" id="Add epoch_end column" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.150805393Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.262254ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.157534731Z level=info msg="Executing migration" id="Add index for epoch_end" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.15854934Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.014058ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.161989921Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.162283926Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=293.535µs 16:26:46 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.165715727Z level=info msg="Executing migration" id="Move region to single row" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.166243637Z level=info msg="Migration successfully executed" id="Move region to single row" duration=527.77µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.171281345Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.172337514Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.045699ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.176765683Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.17774918Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=983.737µs 16:26:46 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.181733041Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.183549283Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.816122ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.188782596Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.189795953Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.013127ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.193445788Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.194498917Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.052829ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.197989758Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.199059768Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.06976ms 16:26:46 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.204352002Z level=info msg="Executing migration" id="Increase tags column to length 4096" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.204617946Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=270.204µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.208848821Z level=info msg="Executing migration" id="create test_data table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.210222045Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.373414ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.214721265Z level=info msg="Executing migration" id="create dashboard_version table v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.21555797Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=850.265µs 16:26:46 policy-db-migrator | > upgrade 0730-toscaproperty.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.222692267Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.224532389Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.840753ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.228343307Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.229464257Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.12251ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.233137341Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.233498258Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=360.297µs 16:26:46 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.238011278Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.238536307Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=534.299µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.243249651Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.243478095Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=228.814µs 16:26:46 policy-db-migrator | 16:26:46 policy-db-migrator | 16:26:46 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.247077188Z level=info msg="Executing migration" id="create team table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.24830588Z level=info msg="Migration successfully executed" id="create team table" duration=1.228702ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.252982734Z level=info msg="Executing migration" id="add index team.org_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.254594632Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.612338ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.259789583Z level=info msg="Executing migration" id="add unique index team_org_id_name" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.261381483Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.59189ms 16:26:46 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.26519616Z level=info msg="Executing migration" id="Add column uid in team" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.270036866Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.838476ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.274276611Z level=info msg="Executing migration" id="Update uid column values in team" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.274560986Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=284.215µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.279175137Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.280312978Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.137281ms 16:26:46 policy-db-migrator | > upgrade 0770-toscarequirement.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.284107965Z level=info msg="Executing migration" id="create team member table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.285388628Z level=info msg="Migration successfully executed" id="create team member table" duration=1.279863ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.289735955Z level=info msg="Executing migration" id="add index team_member.org_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.290893356Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.157801ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.295399235Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.296546116Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.147151ms 16:26:46 policy-db-migrator | > upgrade 0780-toscarequirements.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.300119249Z level=info msg="Executing migration" id="add index team_member.team_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.301255169Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.06256ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.304664399Z level=info msg="Executing migration" id="Add column email to team table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.309592687Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.928268ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.313052438Z level=info msg="Executing migration" id="Add column external to team_member table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.317983746Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.931109ms 16:26:46 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.322757489Z level=info msg="Executing migration" id="Add column permission to team_member table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.32784919Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.095661ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.338276545Z level=info msg="Executing migration" id="create dashboard acl table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.339815843Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.539469ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.344844231Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.345923761Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.082379ms 16:26:46 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.349989943Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.351257345Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.267682ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.355573672Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.356695812Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.12251ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.362850861Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.364674253Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.822393ms 16:26:46 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.368547652Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.370011978Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.464426ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.374292683Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.375744079Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.448496ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.380347761Z level=info msg="Executing migration" id="add index dashboard_permission" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.381259287Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=911.426µs 16:26:46 policy-db-migrator | > upgrade 0820-toscatrigger.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.38479193Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.385719536Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=926.995µs 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.391178462Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.391661832Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=483.42µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.396275563Z level=info msg="Executing migration" id="create tag table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.397081137Z level=info msg="Migration successfully executed" id="create tag table" duration=806.004µs 16:26:46 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.40118628Z level=info msg="Executing migration" id="add index tag.key_value" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.402754798Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.568068ms 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.407631964Z level=info msg="Executing migration" id="create login attempt table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.408642902Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.011738ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.412736225Z level=info msg="Executing migration" id="add index login_attempt.username" 16:26:46 policy-db-migrator | 16:26:46 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.413696511Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=960.256µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.417286706Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.418267853Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=981.337µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.422498708Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.441602356Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.098288ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.447178505Z level=info msg="Executing migration" id="create login_attempt v2" 16:26:46 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.447849387Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=671.962µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.451597393Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.45253743Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=937.677µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.456001622Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.456342348Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=340.346µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.461954557Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 16:26:46 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.462977916Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.023818ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.466824883Z level=info msg="Executing migration" id="create user auth table" 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.468022445Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.197061ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.471765121Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.473454781Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.69055ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.478102093Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 16:26:46 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.478245085Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=143.852µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.482177445Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.487232515Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.05494ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.491059623Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.496121212Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.060999ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.500845357Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 16:26:46 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.505985147Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.146481ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.509573921Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.514926606Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.352865ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.518677062Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.519716761Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.040059ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.562823405Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.570631393Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.809098ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.57551645Z level=info msg="Executing migration" id="create server_lock table" 16:26:46 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.57664178Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.12192ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.58337832Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.584369436Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=996.917µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.589673911Z level=info msg="Executing migration" id="create user auth token table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.590990574Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.315464ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.59638616Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 16:26:46 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.597396678Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.010108ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.603369263Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.604904581Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.535388ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.609657354Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.61164707Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.989686ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.618725196Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 16:26:46 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.624534198Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.809252ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.628635841Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.629847933Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.211872ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.638896363Z level=info msg="Executing migration" id="create cache_data table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.639786649Z level=info msg="Migration successfully executed" id="create cache_data table" duration=890.146µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.644834578Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 16:26:46 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.646009509Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.167651ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.649939309Z level=info msg="Executing migration" id="create short_url table v1" 16:26:46 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.650858265Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=918.347µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.656347913Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.657443541Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.095298ms 16:26:46 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.662337568Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.662567922Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=221.194µs 16:26:46 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.667947368Z level=info msg="Executing migration" id="delete alert_definition table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.6680785Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=132.112µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.672861474Z level=info msg="Executing migration" id="recreate alert_definition table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.674154407Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.292153ms 16:26:46 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.679731036Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.681247933Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.516577ms 16:26:46 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.685848915Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.687388752Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.539947ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.692005724Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.692074895Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=70.131µs 16:26:46 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.697116505Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.698650992Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.534697ms 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.702572082Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.704018077Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.445035ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.70813145Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.709207609Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.076149ms 16:26:46 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.713828001Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.71547189Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.643649ms 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.720853886Z level=info msg="Executing migration" id="Add column paused in alert_definition" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.73067592Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.823384ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.734361485Z level=info msg="Executing migration" id="drop alert_definition table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.735151339Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=789.844µs 16:26:46 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.740070836Z level=info msg="Executing migration" id="delete alert_definition_version table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.74026262Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=191.445µs 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.744742819Z level=info msg="Executing migration" id="recreate alert_definition_version table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.745946751Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.204212ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.750827126Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.752512036Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.68486ms 16:26:46 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.756744461Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.757873902Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.12249ms 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.761840592Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.762014415Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=173.543µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.766749869Z level=info msg="Executing migration" id="drop alert_definition_version table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.767911549Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.16154ms 16:26:46 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.772075933Z level=info msg="Executing migration" id="create alert_instance table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.773477168Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.401415ms 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.777651422Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.778407676Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=756.224µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.783826272Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.784574835Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=748.453µs 16:26:46 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.788912881Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.796570178Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.658596ms 16:26:46 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 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.800374715Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.801509534Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.135099ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.806251159Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 16:26:46 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.807332928Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.082109ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.811743946Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.848498538Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.752862ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.853842023Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.888251132Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.409039ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.894097415Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 16:26:46 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.89490154Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=803.895µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.898800189Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.900364077Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.560208ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.905970896Z level=info msg="Executing migration" id="add current_reason column related to current_state" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.912197366Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.23148ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.916679506Z level=info msg="Executing migration" id="create alert_rule table" 16:26:46 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.917519141Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=839.455µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.927759953Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.92927101Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.511037ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.935478839Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.937147399Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.66824ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.942044996Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 16:26:46 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.943064293Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.018967ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.947008473Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.947088945Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=81.092µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.952148235Z level=info msg="Executing migration" id="add column for to alert_rule" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.960195908Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.048703ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.964006074Z level=info msg="Executing migration" id="add column annotations to alert_rule" 16:26:46 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.96989292Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.886226ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.973618175Z level=info msg="Executing migration" id="add column labels to alert_rule" 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.979415377Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.796722ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.986209218Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.987109165Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=899.497µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.994538306Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 16:26:46 policy-db-migrator | > upgrade 0100-pdp.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:00.996186965Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.648319ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.000639345Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 16:26:46 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.008510023Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.871558ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.013747596Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.019696522Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.948106ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.02354296Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 16:26:46 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.024562988Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.019808ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.028458196Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 16:26:46 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.037379365Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.919649ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.042062578Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.047076237Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.015649ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.051653888Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 16:26:46 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.051727939Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=82.732µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.055471686Z level=info msg="Executing migration" id="create alert_rule_version table" 16:26:46 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.056573695Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.101749ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.061540053Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.063276913Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.73274ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.068439525Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 16:26:46 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.069655687Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.216332ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.073546116Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.073636837Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=89.801µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.076991176Z level=info msg="Executing migration" id="add column for to alert_rule_version" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.084392637Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.399101ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.088816786Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 16:26:46 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.09353776Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.723214ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.0975332Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 16:26:46 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 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.104675557Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.141527ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.110097423Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.116715599Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.618136ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.161671776Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 16:26:46 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.168568788Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.898222ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.173097809Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.173405874Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=315.466µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.177757361Z level=info msg="Executing migration" id=create_alert_configuration_table 16:26:46 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.179208437Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.449806ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.184307337Z level=info msg="Executing migration" id="Add column default in alert_configuration" 16:26:46 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.193172784Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.850956ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.197144124Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.197271276Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=127.762µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.202485319Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.20933102Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.844631ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.215045592Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 16:26:46 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.216326204Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.281272ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.221641368Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 16:26:46 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.228417288Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.76888ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.23245794Z level=info msg="Executing migration" id=create_ngalert_configuration_table 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.233192953Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=735.163µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.2369862Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 16:26:46 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.238074429Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.0879ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.24265414Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 16:26:46 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.25057406Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.91993ms 16:26:46 policy-db-migrator | JOIN pdpstatistics b 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.254744364Z level=info msg="Executing migration" id="create provenance_type table" 16:26:46 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.255507418Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=758.194µs 16:26:46 policy-db-migrator | SET a.id = b.id 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.259332265Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.260396974Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.064059ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.266182337Z level=info msg="Executing migration" id="create alert_image table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.267011232Z level=info msg="Migration successfully executed" id="create alert_image table" duration=825.625µs 16:26:46 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.275766826Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.277965716Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=2.23021ms 16:26:46 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.282408374Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.282525086Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=116.762µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.287129578Z level=info msg="Executing migration" id=create_alert_configuration_history_table 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.288140696Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.012218ms 16:26:46 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 16:26:46 policy-db-migrator | -------------- 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.293394139Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.294487558Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.093279ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.298254415Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.298734003Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 16:26:46 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.302061832Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.302607352Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=545.33µs 16:26:46 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.307665462Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.309690587Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.024165ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.313651247Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.322382522Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.731615ms 16:26:46 policy-db-migrator | > upgrade 0210-sequence.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.326260171Z level=info msg="Executing migration" id="create library_element table v1" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.327267899Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.010048ms 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.332454901Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.333694382Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.238791ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.338389066Z level=info msg="Executing migration" id="create library_element_connection table v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.339272591Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=885.405µs 16:26:46 policy-db-migrator | > upgrade 0220-sequence.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.342685672Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.344531414Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.845252ms 16:26:46 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.351159582Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.352293812Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.13378ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.355782774Z level=info msg="Executing migration" id="increase max description length to 2048" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.355808244Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.97µs 16:26:46 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.360554569Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.360758172Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=202.914µs 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.364364405Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.364925996Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=561.461µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.370133907Z level=info msg="Executing migration" id="create data_keys table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.371608495Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.473927ms 16:26:46 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.375649015Z level=info msg="Executing migration" id="create secrets table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.377197983Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.539727ms 16:26:46 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) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.381226974Z level=info msg="Executing migration" id="rename data_keys name column to id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.426514367Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.285723ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.431891482Z level=info msg="Executing migration" id="add name column into data_keys" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.439045169Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.153217ms 16:26:46 policy-db-migrator | > upgrade 0120-toscatrigger.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.442737083Z level=info msg="Executing migration" id="copy data_keys id column values into name" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.442977927Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=235.204µs 16:26:46 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.447015069Z level=info msg="Executing migration" id="rename data_keys name column to label" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.494887858Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.874379ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.500270402Z level=info msg="Executing migration" id="rename data_keys id column back to name" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.547856535Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=47.587983ms 16:26:46 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.551632942Z level=info msg="Executing migration" id="create kv_store table v1" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.552303444Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=671.092µs 16:26:46 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.555839156Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.556966707Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.127491ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.560421118Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.560769295Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=347.756µs 16:26:46 policy-db-migrator | > upgrade 0140-toscaparameter.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.667132118Z level=info msg="Executing migration" id="create permission table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.668779177Z level=info msg="Migration successfully executed" id="create permission table" duration=1.645269ms 16:26:46 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.676140857Z level=info msg="Executing migration" id="add unique index permission.role_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.677385869Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.245942ms 16:26:46 policy-db-migrator | 16:26:46 policy-db-migrator | 16:26:46 policy-db-migrator | > upgrade 0150-toscaproperty.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.682949718Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.683955136Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.004298ms 16:26:46 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.688578928Z level=info msg="Executing migration" id="create role table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.689663547Z level=info msg="Migration successfully executed" id="create role table" duration=1.083919ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.694038585Z level=info msg="Executing migration" id="add column display_name" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.702163349Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.124914ms 16:26:46 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.70740683Z level=info msg="Executing migration" id="add column group_name" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.717068862Z level=info msg="Migration successfully executed" id="add column group_name" duration=9.657132ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.721924198Z level=info msg="Executing migration" id="add index role.org_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.722733422Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=814.384µs 16:26:46 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.726304416Z level=info msg="Executing migration" id="add unique index role_org_id_name" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.727924134Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.623289ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.734241027Z level=info msg="Executing migration" id="add index role_org_id_uid" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.735452447Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.211701ms 16:26:46 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.740327564Z level=info msg="Executing migration" id="create team role table" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.741157828Z level=info msg="Migration successfully executed" id="create team role table" duration=829.804µs 16:26:46 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.744806073Z level=info msg="Executing migration" id="add index team_role.org_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.745874602Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.063039ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.750293191Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.752095692Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.802551ms 16:26:46 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.758288642Z level=info msg="Executing migration" id="add index team_role.team_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.759371571Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.083489ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.764769566Z level=info msg="Executing migration" id="create user role table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.765553431Z level=info msg="Migration successfully executed" id="create user role table" duration=781.085µs 16:26:46 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.784848373Z level=info msg="Executing migration" id="add index user_role.org_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.786629254Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.771251ms 16:26:46 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.791732725Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.792857644Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.124829ms 16:26:46 policy-db-migrator | 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.796872255Z level=info msg="Executing migration" id="add index user_role.user_id" 16:26:46 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.797986295Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.11114ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.803970551Z level=info msg="Executing migration" id="create builtin role table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.804822036Z level=info msg="Migration successfully executed" id="create builtin role table" duration=845.395µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.833316411Z level=info msg="Executing migration" id="add index builtin_role.role_id" 16:26:46 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.835169934Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.853383ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.840659941Z level=info msg="Executing migration" id="add index builtin_role.name" 16:26:46 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.842415932Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.760521ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.846597407Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.854404014Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.805908ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.860119695Z level=info msg="Executing migration" id="add index builtin_role.org_id" 16:26:46 policy-db-migrator | > upgrade 0100-upgrade.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.861376167Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.255982ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.866699032Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 16:26:46 policy-db-migrator | select 'upgrade to 1100 completed' as msg 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.868491273Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.791391ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.879953207Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.881963022Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=2.015105ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.888482648Z level=info msg="Executing migration" id="add unique index role.uid" 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.89027726Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.793492ms 16:26:46 policy-db-migrator | msg 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.953461898Z level=info msg="Executing migration" id="create seed assignment table" 16:26:46 policy-db-migrator | upgrade to 1100 completed 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.955180819Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.722361ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.960737297Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 16:26:46 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.961932128Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.194591ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.968837381Z level=info msg="Executing migration" id="add column hidden to role table" 16:26:46 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.980238622Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.403891ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.983551652Z level=info msg="Executing migration" id="permission kind migration" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.991603104Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.052202ms 16:26:46 policy-db-migrator | 16:26:46 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:01.995674496Z level=info msg="Executing migration" id="permission attribute migration" 16:26:46 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.002738461Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.062835ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.010115022Z level=info msg="Executing migration" id="permission identifier migration" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.021734348Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=11.623346ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.027126043Z level=info msg="Executing migration" id="add permission identifier index" 16:26:46 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.028435256Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.309163ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.03375312Z level=info msg="Executing migration" id="create query_history table v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.034827729Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.073829ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.041527548Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 16:26:46 policy-db-migrator | > upgrade 0120-audit_sequence.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.04276591Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.238282ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.048477391Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.048646274Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=168.543µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.052739476Z level=info msg="Executing migration" id="rbac disabled migrator" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.052783867Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=43.071µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.057253796Z level=info msg="Executing migration" id="teams permissions migration" 16:26:46 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:02.057889228Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=635.592µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:03.451490526Z level=info msg="Executing migration" id="dashboard permissions" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:03.452575425Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.090369ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:03.961519834Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 16:26:46 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:03.962946049Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.429585ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:04.75176758Z level=info msg="Executing migration" id="drop managed folder create actions" 16:26:46 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)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:04.752415791Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=651.531µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:04.891229234Z level=info msg="Executing migration" id="alerting notification permissions" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:04.891956877Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=731.694µs 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.101524301Z level=info msg="Executing migration" id="create query_history_star table v1" 16:26:46 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.109603014Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=8.081993ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.121047486Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.122823638Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.776432ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.128989886Z level=info msg="Executing migration" id="add column org_id in query_history_star" 16:26:46 policy-db-migrator | TRUNCATE TABLE sequence 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.137692429Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.703763ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.147479502Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.147545833Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=65.411µs 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.188329003Z level=info msg="Executing migration" id="create correlation table v1" 16:26:46 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.190289098Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.958525ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.200262984Z level=info msg="Executing migration" id="add index correlations.uid" 16:26:46 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.201531636Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.268542ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.212634812Z level=info msg="Executing migration" id="add index correlations.source_uid" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.215004474Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.367092ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.227896211Z level=info msg="Executing migration" id="add correlation config column" 16:26:46 policy-db-migrator | DROP TABLE pdpstatistics 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.238305125Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.403813ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.25160208Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.252808371Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.206471ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.261527405Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 16:26:46 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.263659752Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=2.132317ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.280032362Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 16:26:46 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.315811824Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=35.781273ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.322119425Z level=info msg="Executing migration" id="create correlation v2" 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.323268975Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.15557ms 16:26:46 policy-db-migrator | 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.334786268Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 16:26:46 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.336870816Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.084848ms 16:26:46 policy-db-migrator | -------------- 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.350904523Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 16:26:46 policy-db-migrator | DROP TABLE statistics_sequence 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.353162503Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.26567ms 16:26:46 policy-db-migrator | -------------- 16:26:46 policy-db-migrator | 16:26:46 policy-db-migrator | policyadmin: OK: upgrade (1300) 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.365820856Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 16:26:46 policy-db-migrator | name version 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.36770599Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.910964ms 16:26:46 policy-db-migrator | policyadmin 1300 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.376624477Z level=info msg="Executing migration" id="copy correlation v1 to v2" 16:26:46 policy-db-migrator | ID script operation from_version to_version tag success atTime 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.376917452Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=293.485µs 16:26:46 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.388526457Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 16:26:46 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.389986184Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.460506ms 16:26:46 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.400792134Z level=info msg="Executing migration" id="add provisioning column" 16:26:46 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.412043012Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.252608ms 16:26:46 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.419248549Z level=info msg="Executing migration" id="create entity_events table" 16:26:46 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.420161966Z level=info msg="Migration successfully executed" id="create entity_events table" duration=913.487µs 16:26:46 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.42942238Z level=info msg="Executing migration" id="create dashboard public config v1" 16:26:46 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.430388096Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=965.386µs 16:26:46 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.445406732Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 16:26:46 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.446231537Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 16:26:46 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.457238211Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 16:26:46 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.458156687Z 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" 16:26:46 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.464604381Z level=info msg="Executing migration" id="Drop old dashboard public config table" 16:26:46 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.465385764Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=791.593µs 16:26:46 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.494406897Z level=info msg="Executing migration" id="recreate dashboard public config v1" 16:26:46 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.49627684Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.883963ms 16:26:46 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.506326168Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 16:26:46 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.507485898Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.15967ms 16:26:46 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.529353474Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 16:26:46 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.531790437Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=2.441073ms 16:26:46 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.541402497Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 16:26:46 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.542538887Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.13615ms 16:26:46 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.555789181Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 16:26:46 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.558149103Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.359732ms 16:26:46 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.565210368Z level=info msg="Executing migration" id="Drop public config table" 16:26:46 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.566366268Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.155469ms 16:26:46 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.577721509Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 16:26:46 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.579865526Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=2.141757ms 16:26:46 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.590869971Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 16:26:46 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.593037809Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.167808ms 16:26:46 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.6027736Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 16:26:46 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.605375936Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.608836ms 16:26:46 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.615603798Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 16:26:46 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.616769057Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.165679ms 16:26:46 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.628704649Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 16:26:46 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.667797639Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=39.08859ms 16:26:46 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.674850194Z level=info msg="Executing migration" id="add annotations_enabled column" 16:26:46 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.685756776Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=10.905382ms 16:26:46 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.695151421Z level=info msg="Executing migration" id="add time_selection_enabled column" 16:26:46 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.707909298Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=12.753727ms 16:26:46 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.733816545Z level=info msg="Executing migration" id="delete orphaned public dashboards" 16:26:46 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.734457977Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=642.562µs 16:26:46 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.765762119Z level=info msg="Executing migration" id="add share column" 16:26:46 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.780328316Z level=info msg="Migration successfully executed" id="add share column" duration=14.561086ms 16:26:46 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.788333848Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 16:26:46 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.788593562Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=260.974µs 16:26:46 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.798307113Z level=info msg="Executing migration" id="create file table" 16:26:46 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.799997063Z level=info msg="Migration successfully executed" id="create file table" duration=1.68925ms 16:26:46 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.813222507Z level=info msg="Executing migration" id="file table idx: path natural pk" 16:26:46 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.815308974Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.089717ms 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.825687697Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.829145668Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=3.455001ms 16:26:46 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.839531302Z level=info msg="Executing migration" id="create file_meta table" 16:26:46 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.84110819Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.577308ms 16:26:46 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.854646878Z level=info msg="Executing migration" id="file table idx: path key" 16:26:46 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.856627314Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.979456ms 16:26:46 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.867981924Z level=info msg="Executing migration" id="set path collation in file table" 16:26:46 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.868152677Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=174.233µs 16:26:46 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.878383097Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 16:26:46 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.87856177Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=179.103µs 16:26:46 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.892428525Z level=info msg="Executing migration" id="managed permissions migration" 16:26:46 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.893365762Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=937.497µs 16:26:46 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.904138533Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 16:26:46 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.904415108Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=276.284µs 16:26:46 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.910005006Z level=info msg="Executing migration" id="RBAC action name migrator" 16:26:46 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.911410361Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.405335ms 16:26:46 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.923019185Z level=info msg="Executing migration" id="Add UID column to playlist" 16:26:46 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.937095774Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=14.076749ms 16:26:46 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.941741767Z level=info msg="Executing migration" id="Update uid column values in playlist" 16:26:46 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.941857879Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=116.272µs 16:26:46 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.94932971Z level=info msg="Executing migration" id="Add index for uid in playlist" 16:26:46 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.950538022Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.206302ms 16:26:46 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.958196127Z level=info msg="Executing migration" id="update group index for alert rules" 16:26:46 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.959372578Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=1.177521ms 16:26:46 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.973891215Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 16:26:46 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.974299831Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=412.267µs 16:26:46 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.984068064Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 16:26:46 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.984892818Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=824.364µs 16:26:46 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:05.992836849Z level=info msg="Executing migration" id="add action column to seed_assignment" 16:26:46 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.005572903Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.737334ms 16:26:46 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.016076419Z level=info msg="Executing migration" id="add scope column to seed_assignment" 16:26:46 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.026670556Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=10.589327ms 16:26:46 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.03993628Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 16:26:46 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.041927205Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.976485ms 16:26:46 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.05124113Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 16:26:46 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.16345681Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=112.20621ms 16:26:46 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.171752656Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 16:26:46 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.173815562Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=2.061606ms 16:26:46 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.178695849Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 16:26:46 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.180270286Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.574237ms 16:26:46 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.189831975Z level=info msg="Executing migration" id="add primary key to seed_assigment" 16:26:46 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.233030358Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=43.189202ms 16:26:46 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.246009187Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 16:26:46 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.246394513Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=385.586µs 16:26:46 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.260074815Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 16:26:46 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:12 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.260474002Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=391.216µs 16:26:46 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:12 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.267434684Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 16:26:46 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:12 16:26:46 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:12 16:26:46 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:12 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.267838411Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=403.427µs 16:26:46 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:13 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.278159154Z level=info msg="Executing migration" id="create folder table" 16:26:46 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.279715381Z level=info msg="Migration successfully executed" id="create folder table" duration=1.556157ms 16:26:46 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.285780998Z level=info msg="Executing migration" id="Add index for parent_uid" 16:26:46 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.287322105Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.541697ms 16:26:46 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.292239422Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 16:26:46 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.293468644Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.228872ms 16:26:46 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.298845159Z level=info msg="Executing migration" id="Update folder title length" 16:26:46 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.2988709Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.491µs 16:26:46 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.3022994Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 16:26:46 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.304474778Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.184489ms 16:26:46 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.363949818Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 16:26:46 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.366359011Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.409643ms 16:26:46 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.398078551Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 16:26:46 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.401094064Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=3.009393ms 16:26:46 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.405755305Z level=info msg="Executing migration" id="create anon_device table" 16:26:46 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.407365144Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.605579ms 16:26:46 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.41221743Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 16:26:46 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.4134146Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.19737ms 16:26:46 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1411231625071100u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.417406751Z level=info msg="Executing migration" id="add index anon_device.updated_at" 16:26:46 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1411231625071200u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.41851609Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.072719ms 16:26:46 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1411231625071200u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.422371029Z level=info msg="Executing migration" id="create signing_key table" 16:26:46 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1411231625071200u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.423191003Z level=info msg="Migration successfully executed" id="create signing_key table" duration=819.974µs 16:26:46 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1411231625071200u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.428436125Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 16:26:46 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1411231625071300u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.430173356Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.734911ms 16:26:46 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1411231625071300u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.435132714Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 16:26:46 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1411231625071300u 1 2023-11-14 16:25:15 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.436354995Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.223591ms 16:26:46 policy-db-migrator | policyadmin: OK @ 1300 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.440003149Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.440282135Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=280.006µs 16:26:46 grafana | logger=migrator t=2023-11-14T16:25:06.445456896Z level=info msg="migrations completed" performed=517 skipped=0 duration=8.681718623s 16:26:46 grafana | logger=sqlstore t=2023-11-14T16:25:06.465282816Z level=info msg="Created default admin" user=admin 16:26:46 grafana | logger=sqlstore t=2023-11-14T16:25:06.465469719Z level=info msg="Created default organization" 16:26:46 grafana | logger=secrets t=2023-11-14T16:25:06.472981601Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 16:26:46 grafana | logger=local.finder t=2023-11-14T16:25:06.551031649Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 16:26:46 grafana | logger=query_data t=2023-11-14T16:25:06.55337577Z level=info msg="Query Service initialization" 16:26:46 grafana | logger=live.push_http t=2023-11-14T16:25:06.557287009Z level=info msg="Live Push Gateway initialization" 16:26:46 grafana | logger=infra.usagestats.collector t=2023-11-14T16:25:08.709047508Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 16:26:46 grafana | logger=provisioning.datasources t=2023-11-14T16:25:08.711233407Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz 16:26:46 grafana | logger=provisioning.alerting t=2023-11-14T16:25:08.737500859Z level=info msg="starting to provision alerting" 16:26:46 grafana | logger=provisioning.alerting t=2023-11-14T16:25:08.737529819Z level=info msg="finished to provision alerting" 16:26:46 grafana | logger=grafanaStorageLogger t=2023-11-14T16:25:08.738954425Z level=info msg="Storage starting" 16:26:46 grafana | logger=ngalert.state.manager t=2023-11-14T16:25:08.739080237Z level=info msg="Warming state cache for startup" 16:26:46 grafana | logger=http.server t=2023-11-14T16:25:08.743883152Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 16:26:46 grafana | logger=grafana.update.checker t=2023-11-14T16:25:08.767380646Z level=info msg="Update check succeeded" duration=29.114423ms 16:26:46 grafana | logger=ngalert.migration t=2023-11-14T16:25:08.799100634Z level=info msg=Starting 16:26:46 grafana | logger=ngalert.migration t=2023-11-14T16:25:08.800079292Z level=info msg="Starting legacy migration" 16:26:46 grafana | logger=ngalert.migration orgID=1 t=2023-11-14T16:25:08.800484249Z level=info msg="Migrating alerts for organisation" 16:26:46 grafana | logger=ngalert.migration orgID=1 t=2023-11-14T16:25:08.801180821Z level=info msg="Alerts found to migrate" alerts=0 16:26:46 grafana | logger=ngalert.migration orgID=1 t=2023-11-14T16:25:08.801836673Z level=warn msg="No available receivers" 16:26:46 grafana | logger=ngalert.migration t=2023-11-14T16:25:08.806822821Z level=info msg="Completed legacy migration" 16:26:46 grafana | logger=plugins.update.checker t=2023-11-14T16:25:08.807806419Z level=info msg="Update check succeeded" duration=68.787873ms 16:26:46 grafana | logger=ngalert.state.manager t=2023-11-14T16:25:08.813130082Z level=info msg="State cache has been initialized" states=0 duration=74.050065ms 16:26:46 grafana | logger=ngalert.multiorg.alertmanager t=2023-11-14T16:25:08.813274044Z level=info msg="Starting MultiOrg Alertmanager" 16:26:46 grafana | logger=ngalert.scheduler t=2023-11-14T16:25:08.813171672Z level=info msg="Starting scheduler" tickInterval=10s 16:26:46 grafana | logger=ticker t=2023-11-14T16:25:08.813596761Z level=info msg=starting first_tick=2023-11-14T16:25:10Z 16:26:46 grafana | logger=sqlstore.transactions t=2023-11-14T16:25:08.915642529Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 16:26:46 grafana | logger=dashboard-service t=2023-11-14T16:25:08.915825012Z level=error msg="Could not make user admin" dashboard="Policy Distribution" namespaceID=user userID=0 error="identifier is not initialized" 16:26:46 grafana | logger=dashboard-service t=2023-11-14T16:25:09.020527407Z level=error msg="Could not make user admin" dashboard="Spring Boot Statistics & Endpoint Metrics" namespaceID=user userID=0 error="identifier is not initialized" 16:26:46 grafana | logger=dashboard-service t=2023-11-14T16:25:09.047652974Z level=error msg="Could not make user admin" dashboard="Policy XACML-PDP" namespaceID=user userID=0 error="identifier is not initialized" 16:26:46 grafana | logger=dashboard-service t=2023-11-14T16:25:09.060336657Z level=error msg="Could not make user admin" dashboard="SLA's Metrics" namespaceID=user userID=0 error="identifier is not initialized" 16:26:46 grafana | logger=dashboard-service t=2023-11-14T16:25:09.089782326Z level=error msg="Could not make user admin" dashboard="Policy APEX-PDP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" 16:26:46 grafana | logger=dashboard-service t=2023-11-14T16:25:09.113961471Z level=error msg="Could not make user admin" dashboard="Policy Drools-PDP" namespaceID=user userID=0 error="identifier is not initialized" 16:26:46 grafana | logger=dashboard-service t=2023-11-14T16:25:09.145387685Z level=error msg="Could not make user admin" dashboard="JVM Basic Metrics" namespaceID=user userID=0 error="identifier is not initialized" 16:26:46 grafana | logger=dashboard-service t=2023-11-14T16:25:09.161806023Z level=error msg="Could not make user admin" dashboard="Policy PAP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" 16:26:46 grafana | logger=dashboard-service t=2023-11-14T16:25:09.177630193Z level=error msg="Could not make user admin" dashboard="Policy API Jakarta" namespaceID=user userID=0 error="identifier is not initialized" 16:26:46 grafana | logger=infra.usagestats t=2023-11-14T16:26:13.751938138Z level=info msg="Usage stats are ready to report" 16:26:46 ++ echo 'Tearing down containers...' 16:26:46 Tearing down containers... 16:26:46 ++ docker-compose down -v --remove-orphans 16:26:46 Stopping policy-api ... 16:26:46 Stopping grafana ... 16:26:46 Stopping mariadb ... 16:26:46 Stopping prometheus ... 16:26:47 Stopping grafana ... done 16:26:47 Stopping prometheus ... done 16:26:47 Stopping mariadb ... done 16:26:57 Stopping policy-api ... done 16:26:57 Removing policy-api ... 16:26:57 Removing policy-db-migrator ... 16:26:57 Removing grafana ... 16:26:57 Removing mariadb ... 16:26:57 Removing prometheus ... 16:26:57 Removing grafana ... done 16:26:57 Removing prometheus ... done 16:26:57 Removing policy-api ... done 16:26:57 Removing policy-db-migrator ... done 16:26:57 Removing mariadb ... done 16:26:57 Removing network compose_default 16:26:57 ++ cd /w/workspace/policy-api-master-project-csit-api 16:26:57 + load_set 16:26:57 + _setopts=hxB 16:26:57 ++ echo braceexpand:hashall:interactive-comments:xtrace 16:26:57 ++ tr : ' ' 16:26:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:26:57 + set +o braceexpand 16:26:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:26:57 + set +o hashall 16:26:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:26:57 + set +o interactive-comments 16:26:57 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 16:26:57 + set +o xtrace 16:26:57 ++ echo hxB 16:26:57 ++ sed 's/./& /g' 16:26:57 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:26:57 + set +h 16:26:57 + for i in $(echo "$_setopts" | sed 's/./& /g') 16:26:57 + set +x 16:26:57 + [[ -n /tmp/tmp.8m9fGfWtrb ]] 16:26:57 + rsync -av /tmp/tmp.8m9fGfWtrb/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api 16:26:57 sending incremental file list 16:26:57 ./ 16:26:57 log.html 16:26:57 output.xml 16:26:57 report.html 16:26:57 testplan.txt 16:26:57 16:26:57 sent 1,345,997 bytes received 95 bytes 2,692,184.00 bytes/sec 16:26:57 total size is 1,345,349 speedup is 1.00 16:26:57 + rm -rf /w/workspace/policy-api-master-project-csit-api/models 16:26:57 + exit 0 16:26:57 $ ssh-agent -k 16:26:57 unset SSH_AUTH_SOCK; 16:26:57 unset SSH_AGENT_PID; 16:26:57 echo Agent pid 2187 killed; 16:26:57 [ssh-agent] Stopped. 16:26:57 Robot results publisher started... 16:26:57 -Parsing output xml: 16:26:57 Done! 16:26:57 -Copying log files to build dir: 16:26:58 Done! 16:26:58 -Assigning results to build: 16:26:58 Done! 16:26:58 -Checking thresholds: 16:26:58 Done! 16:26:58 Done publishing Robot results. 16:26:58 [PostBuildScript] - [INFO] Executing post build scripts. 16:26:58 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins17178229089248832088.sh 16:26:58 ---> sysstat.sh 16:26:58 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins1603296158482062704.sh 16:26:58 ---> package-listing.sh 16:26:58 ++ facter osfamily 16:26:58 ++ tr '[:upper:]' '[:lower:]' 16:26:58 + OS_FAMILY=debian 16:26:58 + workspace=/w/workspace/policy-api-master-project-csit-api 16:26:58 + START_PACKAGES=/tmp/packages_start.txt 16:26:58 + END_PACKAGES=/tmp/packages_end.txt 16:26:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:26:58 + PACKAGES=/tmp/packages_start.txt 16:26:58 + '[' /w/workspace/policy-api-master-project-csit-api ']' 16:26:58 + PACKAGES=/tmp/packages_end.txt 16:26:58 + case "${OS_FAMILY}" in 16:26:58 + dpkg -l 16:26:58 + grep '^ii' 16:26:58 + '[' -f /tmp/packages_start.txt ']' 16:26:58 + '[' -f /tmp/packages_end.txt ']' 16:26:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:26:58 + '[' /w/workspace/policy-api-master-project-csit-api ']' 16:26:58 + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ 16:26:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ 16:26:58 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins4962628921859224371.sh 16:26:58 ---> capture-instance-metadata.sh 16:26:58 Setup pyenv: 16:26:58 system 16:26:58 3.8.13 16:26:58 3.9.13 16:26:58 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 16:26:59 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-uj5w from file:/tmp/.os_lf_venv 16:27:00 lf-activate-venv(): INFO: Installing: lftools 16:27:10 lf-activate-venv(): INFO: Adding /tmp/venv-uj5w/bin to PATH 16:27:10 INFO: Running in OpenStack, capturing instance metadata 16:27:10 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins9552876350511370559.sh 16:27:10 provisioning config files... 16:27:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config17759961822514207039tmp 16:27:10 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 16:27:10 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 16:27:10 [EnvInject] - Injecting environment variables from a build step. 16:27:10 [EnvInject] - Injecting as environment variables the properties content 16:27:10 SERVER_ID=logs 16:27:10 16:27:10 [EnvInject] - Variables injected successfully. 16:27:10 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins11208383058140776677.sh 16:27:10 ---> create-netrc.sh 16:27:10 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins16862984622394512218.sh 16:27:10 ---> python-tools-install.sh 16:27:10 Setup pyenv: 16:27:10 system 16:27:10 3.8.13 16:27:10 3.9.13 16:27:10 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 16:27:11 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-uj5w from file:/tmp/.os_lf_venv 16:27:12 lf-activate-venv(): INFO: Installing: lftools 16:27:20 lf-activate-venv(): INFO: Adding /tmp/venv-uj5w/bin to PATH 16:27:20 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins488955475905565709.sh 16:27:20 ---> sudo-logs.sh 16:27:20 Archiving 'sudo' log.. 16:27:20 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8264647949465343568.sh 16:27:20 ---> job-cost.sh 16:27:20 Setup pyenv: 16:27:20 system 16:27:20 3.8.13 16:27:20 3.9.13 16:27:20 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 16:27:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-uj5w from file:/tmp/.os_lf_venv 16:27:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 16:27:28 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 16:27:28 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 16:27:28 virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. 16:27:28 lf-activate-venv(): INFO: Adding /tmp/venv-uj5w/bin to PATH 16:27:28 INFO: No Stack... 16:27:29 INFO: Retrieving Pricing Info for: v3-standard-8 16:27:29 INFO: Archiving Costs 16:27:29 [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins10272167753183665869.sh 16:27:29 ---> logs-deploy.sh 16:27:29 Setup pyenv: 16:27:29 system 16:27:29 3.8.13 16:27:29 3.9.13 16:27:29 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 16:27:30 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-uj5w from file:/tmp/.os_lf_venv 16:27:31 lf-activate-venv(): INFO: Installing: lftools 16:27:40 lf-activate-venv(): INFO: Adding /tmp/venv-uj5w/bin to PATH 16:27:40 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1418 16:27:40 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 16:27:41 Archives upload complete. 16:27:41 INFO: archiving logs to Nexus 16:27:42 ---> uname -a: 16:27:42 Linux prd-ubuntu1804-docker-8c-8g-75677 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 16:27:42 16:27:42 16:27:42 ---> lscpu: 16:27:42 Architecture: x86_64 16:27:42 CPU op-mode(s): 32-bit, 64-bit 16:27:42 Byte Order: Little Endian 16:27:42 CPU(s): 8 16:27:42 On-line CPU(s) list: 0-7 16:27:42 Thread(s) per core: 1 16:27:42 Core(s) per socket: 1 16:27:42 Socket(s): 8 16:27:42 NUMA node(s): 1 16:27:42 Vendor ID: AuthenticAMD 16:27:42 CPU family: 23 16:27:42 Model: 49 16:27:42 Model name: AMD EPYC-Rome Processor 16:27:42 Stepping: 0 16:27:42 CPU MHz: 2799.998 16:27:42 BogoMIPS: 5599.99 16:27:42 Virtualization: AMD-V 16:27:42 Hypervisor vendor: KVM 16:27:42 Virtualization type: full 16:27:42 L1d cache: 32K 16:27:42 L1i cache: 32K 16:27:42 L2 cache: 512K 16:27:42 L3 cache: 16384K 16:27:42 NUMA node0 CPU(s): 0-7 16:27:42 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 16:27:42 16:27:42 16:27:42 ---> nproc: 16:27:42 8 16:27:42 16:27:42 16:27:42 ---> df -h: 16:27:42 Filesystem Size Used Avail Use% Mounted on 16:27:42 udev 16G 0 16G 0% /dev 16:27:42 tmpfs 3.2G 708K 3.2G 1% /run 16:27:42 /dev/vda1 155G 12G 144G 8% / 16:27:42 tmpfs 16G 0 16G 0% /dev/shm 16:27:42 tmpfs 5.0M 0 5.0M 0% /run/lock 16:27:42 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:27:42 /dev/vda15 105M 4.4M 100M 5% /boot/efi 16:27:42 tmpfs 3.2G 0 3.2G 0% /run/user/1001 16:27:42 16:27:42 16:27:42 ---> free -m: 16:27:42 total used free shared buff/cache available 16:27:42 Mem: 32167 851 27228 0 4087 30859 16:27:42 Swap: 1023 0 1023 16:27:42 16:27:42 16:27:42 ---> ip addr: 16:27:42 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 16:27:42 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:27:42 inet 127.0.0.1/8 scope host lo 16:27:42 valid_lft forever preferred_lft forever 16:27:42 inet6 ::1/128 scope host 16:27:42 valid_lft forever preferred_lft forever 16:27:42 2: ens3: mtu 1458 qdisc fq_codel state UP group default qlen 1000 16:27:42 link/ether fa:16:3e:38:84:83 brd ff:ff:ff:ff:ff:ff 16:27:42 inet 10.30.106.99/23 brd 10.30.107.255 scope global dynamic ens3 16:27:42 valid_lft 85711sec preferred_lft 85711sec 16:27:42 inet6 fe80::f816:3eff:fe38:8483/64 scope link 16:27:42 valid_lft forever preferred_lft forever 16:27:42 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 16:27:42 link/ether 02:42:43:84:3f:f0 brd ff:ff:ff:ff:ff:ff 16:27:42 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:27:42 valid_lft forever preferred_lft forever 16:27:42 16:27:42 16:27:42 ---> sar -b -r -n DEV: 16:27:42 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-75677) 11/14/23 _x86_64_ (8 CPU) 16:27:42 16:27:42 16:16:16 LINUX RESTART (8 CPU) 16:27:42 16:27:42 16:17:02 tps rtps wtps bread/s bwrtn/s 16:27:42 16:18:01 45.91 31.94 13.96 2815.52 8149.53 16:27:42 16:19:01 3.23 0.00 3.23 0.00 2840.06 16:27:42 16:20:01 2.78 0.00 2.78 0.00 2834.33 16:27:42 16:21:01 2.88 0.00 2.88 0.00 2836.79 16:27:42 16:22:01 6.38 3.20 3.18 141.98 3018.16 16:27:42 16:23:01 97.97 36.53 61.44 1699.45 9489.09 16:27:42 16:24:01 96.57 13.83 82.74 1121.49 17263.45 16:27:42 16:25:01 275.99 15.96 260.02 2133.34 66810.13 16:27:42 16:26:01 130.89 6.75 124.15 301.68 5251.21 16:27:42 16:27:01 33.56 1.78 31.78 69.06 4598.33 16:27:42 Average: 69.66 10.96 58.69 824.93 12315.98 16:27:42 16:27:42 16:17:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:27:42 16:18:01 30648904 31892060 2290316 6.95 38612 1532616 1290720 3.80 628900 1414724 68 16:27:42 16:19:01 30648788 31892092 2290432 6.95 38684 1532620 1290720 3.80 628292 1414692 168 16:27:42 16:20:01 30647620 31890980 2291600 6.96 38756 1532620 1290720 3.80 629108 1414692 148 16:27:42 16:21:01 30646256 31889728 2292964 6.96 38828 1532624 1290720 3.80 630772 1414700 28 16:27:42 16:22:01 30541836 31794440 2397384 7.28 38964 1541868 1306800 3.84 726960 1421752 128 16:27:42 16:23:01 29967576 31642172 2971644 9.02 69852 1913356 1476748 4.34 932788 1748364 234684 16:27:42 16:24:01 29755896 31712532 3183324 9.66 84184 2167088 1416532 4.17 869868 1994932 122508 16:27:42 16:25:01 27772436 31500732 5166784 15.69 122244 3830220 3171072 9.33 1198324 3524224 2124 16:27:42 16:26:01 26767384 30516584 6171836 18.74 127984 3840956 4336060 12.76 2232104 3485504 56 16:27:42 16:27:01 27919664 31621148 5019556 15.24 128600 3801240 1475396 4.34 1167696 3421056 3416 16:27:42 Average: 29531636 31635247 3407584 10.35 72671 2322521 1834549 5.40 964481 2125464 36333 16:27:42 16:27:42 16:17:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:27:42 16:18:01 lo 0.47 0.47 0.05 0.05 0.00 0.00 0.00 0.00 16:27:42 16:18:01 ens3 203.32 136.91 519.21 32.13 0.00 0.00 0.00 0.00 16:27:42 16:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:27:42 16:19:01 ens3 0.60 0.18 0.08 0.19 0.00 0.00 0.00 0.00 16:27:42 16:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:20:01 ens3 0.25 0.15 0.06 0.17 0.00 0.00 0.00 0.00 16:27:42 16:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:27:42 16:21:01 ens3 0.63 0.32 0.09 0.19 0.00 0.00 0.00 0.00 16:27:42 16:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:22:01 ens3 82.02 38.99 114.70 19.50 0.00 0.00 0.00 0.00 16:27:42 16:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:23:01 lo 1.67 1.67 0.17 0.17 0.00 0.00 0.00 0.00 16:27:42 16:23:01 ens3 102.73 72.00 1039.85 24.95 0.00 0.00 0.00 0.00 16:27:42 16:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:24:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 16:27:42 16:24:01 ens3 41.95 28.79 676.24 5.28 0.00 0.00 0.00 0.00 16:27:42 16:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:25:01 lo 8.40 8.40 0.77 0.77 0.00 0.00 0.00 0.00 16:27:42 16:25:01 vethe548169 0.13 0.27 0.01 0.02 0.00 0.00 0.00 0.00 16:27:42 16:25:01 ens3 296.05 185.42 9412.27 15.07 0.00 0.00 0.00 0.00 16:27:42 16:25:01 veth0d4f130 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 16:27:42 16:26:01 lo 8.73 8.73 8.46 8.46 0.00 0.00 0.00 0.00 16:27:42 16:26:01 ens3 10.05 7.35 2.76 4.91 0.00 0.00 0.00 0.00 16:27:42 16:26:01 veth0d4f130 0.52 0.57 0.06 0.31 0.00 0.00 0.00 0.00 16:27:42 16:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:27:01 lo 9.07 9.07 0.70 0.70 0.00 0.00 0.00 0.00 16:27:42 16:27:01 ens3 64.11 40.74 65.19 20.56 0.00 0.00 0.00 0.00 16:27:42 16:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 Average: lo 2.94 2.94 1.03 1.03 0.00 0.00 0.00 0.00 16:27:42 Average: ens3 79.96 50.94 1184.13 12.26 0.00 0.00 0.00 0.00 16:27:42 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:42 16:27:42 16:27:42 ---> sar -P ALL: 16:27:42 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-75677) 11/14/23 _x86_64_ (8 CPU) 16:27:42 16:27:42 16:16:16 LINUX RESTART (8 CPU) 16:27:42 16:27:42 16:17:02 CPU %user %nice %system %iowait %steal %idle 16:27:42 16:18:01 all 2.14 0.00 0.30 1.05 0.01 96.50 16:27:42 16:18:01 0 2.83 0.00 0.25 0.07 0.02 96.83 16:27:42 16:18:01 1 1.48 0.00 0.32 0.90 0.02 97.29 16:27:42 16:18:01 2 2.53 0.00 0.39 1.58 0.02 95.48 16:27:42 16:18:01 3 2.85 0.00 0.32 0.53 0.02 96.29 16:27:42 16:18:01 4 0.71 0.00 0.42 0.61 0.02 98.24 16:27:42 16:18:01 5 1.92 0.00 0.22 0.10 0.02 97.74 16:27:42 16:18:01 6 2.36 0.00 0.24 4.45 0.02 92.94 16:27:42 16:18:01 7 2.39 0.00 0.22 0.17 0.02 97.20 16:27:42 16:19:01 all 0.01 0.00 0.01 0.30 0.00 99.68 16:27:42 16:19:01 0 0.02 0.00 0.02 0.00 0.00 99.97 16:27:42 16:19:01 1 0.00 0.00 0.02 0.00 0.00 99.98 16:27:42 16:19:01 2 0.02 0.00 0.02 0.00 0.00 99.97 16:27:42 16:19:01 3 0.00 0.00 0.02 0.37 0.00 99.62 16:27:42 16:19:01 4 0.02 0.00 0.02 0.00 0.00 99.97 16:27:42 16:19:01 5 0.03 0.00 0.02 0.00 0.00 99.95 16:27:42 16:19:01 6 0.02 0.00 0.00 2.00 0.00 97.98 16:27:42 16:19:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:27:42 16:20:01 all 0.01 0.00 0.00 0.09 0.00 99.89 16:27:42 16:20:01 0 0.02 0.00 0.02 0.00 0.02 99.95 16:27:42 16:20:01 1 0.00 0.00 0.00 0.00 0.00 100.00 16:27:42 16:20:01 2 0.00 0.00 0.00 0.00 0.00 100.00 16:27:42 16:20:01 3 0.02 0.00 0.00 0.12 0.00 99.87 16:27:42 16:20:01 4 0.02 0.00 0.00 0.02 0.00 99.97 16:27:42 16:20:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:27:42 16:20:01 6 0.00 0.00 0.00 0.62 0.00 99.38 16:27:42 16:20:01 7 0.00 0.00 0.00 0.00 0.00 100.00 16:27:42 16:21:01 all 0.07 0.00 0.00 0.54 0.00 99.38 16:27:42 16:21:01 0 0.08 0.00 0.00 0.00 0.02 99.90 16:27:42 16:21:01 1 0.00 0.00 0.00 0.00 0.00 100.00 16:27:42 16:21:01 2 0.43 0.00 0.02 0.00 0.00 99.55 16:27:42 16:21:01 3 0.03 0.00 0.02 0.03 0.00 99.92 16:27:42 16:21:01 4 0.03 0.00 0.00 0.00 0.00 99.97 16:27:42 16:21:01 5 0.02 0.00 0.02 0.00 0.02 99.95 16:27:42 16:21:01 6 0.00 0.00 0.00 4.27 0.00 95.73 16:27:42 16:21:01 7 0.00 0.00 0.00 0.00 0.00 100.00 16:27:42 16:22:01 all 0.73 0.00 0.06 0.34 0.01 98.87 16:27:42 16:22:01 0 0.70 0.00 0.05 0.12 0.02 99.12 16:27:42 16:22:01 1 1.28 0.00 0.05 0.02 0.00 98.65 16:27:42 16:22:01 2 1.05 0.00 0.08 0.23 0.02 98.61 16:27:42 16:22:01 3 0.28 0.00 0.13 0.00 0.00 99.58 16:27:42 16:22:01 4 0.48 0.00 0.02 0.00 0.00 99.50 16:27:42 16:22:01 5 0.40 0.00 0.05 0.00 0.00 99.55 16:27:42 16:22:01 6 0.60 0.00 0.03 2.33 0.00 97.03 16:27:42 16:22:01 7 0.98 0.00 0.05 0.00 0.00 98.97 16:27:42 16:23:01 all 9.76 0.00 0.70 2.10 0.03 87.41 16:27:42 16:23:01 0 19.99 0.00 1.19 0.95 0.03 77.84 16:27:42 16:23:01 1 5.15 0.00 0.58 0.43 0.05 93.78 16:27:42 16:23:01 2 1.78 0.00 0.33 0.35 0.00 97.53 16:27:42 16:23:01 3 25.88 0.00 1.55 1.68 0.05 70.84 16:27:42 16:23:01 4 11.85 0.00 0.73 0.08 0.03 87.30 16:27:42 16:23:01 5 10.41 0.00 0.70 0.95 0.03 87.90 16:27:42 16:23:01 6 0.27 0.00 0.37 12.36 0.03 86.97 16:27:42 16:23:01 7 2.69 0.00 0.12 0.02 0.05 97.13 16:27:42 16:24:01 all 6.84 0.00 0.49 5.28 0.02 87.37 16:27:42 16:24:01 0 9.57 0.00 0.58 0.10 0.02 89.73 16:27:42 16:24:01 1 7.23 0.00 0.48 8.13 0.02 84.14 16:27:42 16:24:01 2 13.44 0.00 0.33 1.70 0.03 84.49 16:27:42 16:24:01 3 3.52 0.00 0.50 0.67 0.02 95.30 16:27:42 16:24:01 4 3.88 0.00 0.38 0.10 0.00 95.63 16:27:42 16:24:01 5 10.92 0.00 0.75 6.63 0.05 81.65 16:27:42 16:24:01 6 1.52 0.00 0.17 1.65 0.00 96.67 16:27:42 16:24:01 7 4.66 0.00 0.70 23.21 0.03 71.40 16:27:42 16:25:01 all 8.09 0.00 3.08 7.23 0.05 81.56 16:27:42 16:25:01 0 9.18 0.00 3.10 4.45 0.07 83.21 16:27:42 16:25:01 1 6.27 0.00 3.42 2.23 0.05 88.03 16:27:42 16:25:01 2 7.14 0.00 2.99 0.47 0.05 89.35 16:27:42 16:25:01 3 7.85 0.00 2.62 3.04 0.05 86.43 16:27:42 16:25:01 4 11.81 0.00 3.28 26.77 0.07 58.08 16:27:42 16:25:01 5 7.32 0.00 2.54 16.18 0.05 73.91 16:27:42 16:25:01 6 8.05 0.00 3.43 1.30 0.05 87.17 16:27:42 16:25:01 7 7.07 0.00 3.21 3.56 0.05 86.11 16:27:42 16:26:01 all 14.43 0.00 1.55 2.70 0.05 81.27 16:27:42 16:26:01 0 9.84 0.00 0.99 1.59 0.03 87.55 16:27:42 16:26:01 1 14.67 0.00 1.64 0.57 0.05 83.07 16:27:42 16:26:01 2 21.64 0.00 2.07 4.54 0.05 71.70 16:27:42 16:26:01 3 12.84 0.00 1.29 0.02 0.05 85.80 16:27:42 16:26:01 4 14.35 0.00 1.90 3.67 0.05 80.03 16:27:42 16:26:01 5 17.05 0.00 1.92 1.25 0.05 79.73 16:27:42 16:26:01 6 12.03 0.00 1.20 3.40 0.07 83.31 16:27:42 16:26:01 7 12.97 0.00 1.44 6.51 0.05 79.03 16:27:42 16:27:01 all 1.64 0.00 0.38 0.52 0.02 97.44 16:27:42 16:27:01 0 1.20 0.00 0.47 0.05 0.02 98.26 16:27:42 16:27:01 1 1.47 0.00 0.30 0.08 0.02 98.13 16:27:42 16:27:01 2 1.95 0.00 0.40 1.17 0.02 96.46 16:27:42 16:27:01 3 1.57 0.00 0.38 0.52 0.03 97.49 16:27:42 16:27:01 4 1.02 0.00 0.45 1.72 0.05 96.76 16:27:42 16:27:01 5 0.62 0.00 0.32 0.22 0.02 98.83 16:27:42 16:27:01 6 4.69 0.00 0.37 0.33 0.02 94.59 16:27:42 16:27:01 7 0.65 0.00 0.33 0.08 0.00 98.93 16:27:42 Average: all 4.37 0.00 0.66 2.01 0.02 92.94 16:27:42 Average: 0 5.34 0.00 0.66 0.73 0.02 93.24 16:27:42 Average: 1 3.75 0.00 0.68 1.24 0.02 94.31 16:27:42 Average: 2 5.00 0.00 0.66 1.00 0.02 93.31 16:27:42 Average: 3 5.49 0.00 0.68 0.70 0.02 93.11 16:27:42 Average: 4 4.41 0.00 0.72 3.27 0.02 91.58 16:27:42 Average: 5 4.87 0.00 0.65 2.53 0.02 91.93 16:27:42 Average: 6 2.95 0.00 0.58 3.27 0.02 93.19 16:27:42 Average: 7 3.14 0.00 0.61 3.36 0.02 92.88 16:27:42 16:27:42 16:27:42