11:10:57 Started by upstream project "policy-docker-master-merge-java" build number 324 11:10:57 originally caused by: 11:10:57 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/docker/+/136692 11:10:57 Running as SYSTEM 11:10:57 [EnvInject] - Loading node environment variables. 11:10:57 Building remotely on prd-ubuntu1804-docker-8c-8g-422 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api 11:10:57 [ssh-agent] Looking for ssh-agent implementation... 11:10:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:57 $ ssh-agent 11:10:57 SSH_AUTH_SOCK=/tmp/ssh-dny7JdC13bhd/agent.2074 11:10:57 SSH_AGENT_PID=2076 11:10:57 [ssh-agent] Started. 11:10:57 Running ssh-add (command line suppressed) 11:10:57 Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_13011113432265496493.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_13011113432265496493.key) 11:10:57 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 11:10:57 The recommended git tool is: NONE 11:10:59 using credential onap-jenkins-ssh 11:10:59 Wiping out workspace first. 11:11:00 Cloning the remote Git repository 11:11:00 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 11:11:00 > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 11:11:00 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 11:11:00 > git --version # timeout=10 11:11:00 > git --version # 'git version 2.17.1' 11:11:00 using GIT_SSH to set credentials Gerrit user 11:11:00 Verifying host key using manually-configured host key entries 11:11:00 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 11:11:00 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 11:11:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:11:01 Avoid second fetch 11:11:01 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 11:11:01 Checking out Revision 2dfbd9392673d8b8b76e44ccb94be0c961c8e9d1 (refs/remotes/origin/master) 11:11:01 > git config core.sparsecheckout # timeout=10 11:11:01 > git checkout -f 2dfbd9392673d8b8b76e44ccb94be0c961c8e9d1 # timeout=30 11:11:01 Commit message: "Remove JMeter plugin installation" 11:11:01 > git rev-list --no-walk 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=10 11:11:01 provisioning config files... 11:11:01 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:11:01 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:11:01 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12390999947321203659.sh 11:11:01 ---> python-tools-install.sh 11:11:01 Setup pyenv: 11:11:01 * system (set by /opt/pyenv/version) 11:11:01 * 3.8.13 (set by /opt/pyenv/version) 11:11:01 * 3.9.13 (set by /opt/pyenv/version) 11:11:01 * 3.10.6 (set by /opt/pyenv/version) 11:11:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-w5Rh 11:11:06 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:11:11 lf-activate-venv(): INFO: Installing: lftools 11:11:51 lf-activate-venv(): INFO: Adding /tmp/venv-w5Rh/bin to PATH 11:11:51 Generating Requirements File 11:12:25 Python 3.10.6 11:12:25 pip 23.3.1 from /tmp/venv-w5Rh/lib/python3.10/site-packages/pip (python 3.10) 11:12:26 appdirs==1.4.4 11:12:26 argcomplete==3.1.6 11:12:26 aspy.yaml==1.3.0 11:12:26 attrs==23.1.0 11:12:26 autopage==0.5.2 11:12:26 Babel==2.13.1 11:12:26 beautifulsoup4==4.12.2 11:12:26 boto3==1.33.2 11:12:26 botocore==1.33.2 11:12:26 bs4==0.0.1 11:12:26 cachetools==5.3.2 11:12:26 certifi==2023.11.17 11:12:26 cffi==1.16.0 11:12:26 cfgv==3.4.0 11:12:26 chardet==5.2.0 11:12:26 charset-normalizer==3.3.2 11:12:26 click==8.1.7 11:12:26 cliff==4.4.0 11:12:26 cmd2==2.4.3 11:12:26 cryptography==3.3.2 11:12:26 debtcollector==2.5.0 11:12:26 decorator==5.1.1 11:12:26 defusedxml==0.7.1 11:12:26 Deprecated==1.2.14 11:12:26 distlib==0.3.7 11:12:26 dnspython==2.4.2 11:12:26 docker==4.2.2 11:12:26 dogpile.cache==1.2.2 11:12:26 email-validator==2.1.0.post1 11:12:26 filelock==3.13.1 11:12:26 future==0.18.3 11:12:26 gitdb==4.0.11 11:12:26 GitPython==3.1.40 11:12:26 google-auth==2.23.4 11:12:26 httplib2==0.22.0 11:12:26 identify==2.5.32 11:12:26 idna==3.6 11:12:26 importlib-metadata==6.8.0 11:12:26 importlib-resources==1.5.0 11:12:26 iso8601==2.1.0 11:12:26 Jinja2==3.1.2 11:12:26 jmespath==1.0.1 11:12:26 jsonpatch==1.33 11:12:26 jsonpointer==2.4 11:12:26 jsonschema==4.20.0 11:12:26 jsonschema-specifications==2023.11.1 11:12:26 keystoneauth1==5.4.0 11:12:26 kubernetes==28.1.0 11:12:26 lftools==0.37.8 11:12:26 lxml==4.9.3 11:12:26 MarkupSafe==2.1.3 11:12:26 msgpack==1.0.7 11:12:26 multi-key-dict==2.0.3 11:12:26 munch==4.0.0 11:12:26 netaddr==0.9.0 11:12:26 netifaces==0.11.0 11:12:26 niet==1.4.2 11:12:26 nodeenv==1.8.0 11:12:26 oauth2client==4.1.3 11:12:26 oauthlib==3.2.2 11:12:26 openstacksdk==0.62.0 11:12:26 os-client-config==2.1.0 11:12:26 os-service-types==1.7.0 11:12:26 osc-lib==2.9.0 11:12:26 oslo.config==9.2.0 11:12:26 oslo.context==5.3.0 11:12:26 oslo.i18n==6.2.0 11:12:26 oslo.log==5.4.0 11:12:26 oslo.serialization==5.2.0 11:12:26 oslo.utils==6.3.0 11:12:26 packaging==23.2 11:12:26 pbr==6.0.0 11:12:26 platformdirs==4.0.0 11:12:26 prettytable==3.9.0 11:12:26 pyasn1==0.5.1 11:12:26 pyasn1-modules==0.3.0 11:12:26 pycparser==2.21 11:12:26 pygerrit2==2.0.15 11:12:26 PyGithub==2.1.1 11:12:26 pyinotify==0.9.6 11:12:26 PyJWT==2.8.0 11:12:26 PyNaCl==1.5.0 11:12:26 pyparsing==2.4.7 11:12:26 pyperclip==1.8.2 11:12:26 pyrsistent==0.20.0 11:12:26 python-cinderclient==9.4.0 11:12:26 python-dateutil==2.8.2 11:12:26 python-heatclient==3.3.0 11:12:26 python-jenkins==1.8.2 11:12:26 python-keystoneclient==5.2.0 11:12:26 python-magnumclient==4.3.0 11:12:26 python-novaclient==18.4.0 11:12:26 python-openstackclient==6.0.0 11:12:26 python-swiftclient==4.4.0 11:12:26 pytz==2023.3.post1 11:12:26 PyYAML==6.0.1 11:12:26 referencing==0.31.0 11:12:26 requests==2.31.0 11:12:26 requests-oauthlib==1.3.1 11:12:26 requestsexceptions==1.4.0 11:12:26 rfc3986==2.0.0 11:12:26 rpds-py==0.13.1 11:12:26 rsa==4.9 11:12:26 ruamel.yaml==0.18.5 11:12:26 ruamel.yaml.clib==0.2.8 11:12:26 s3transfer==0.8.1 11:12:26 simplejson==3.19.2 11:12:26 six==1.16.0 11:12:26 smmap==5.0.1 11:12:26 soupsieve==2.5 11:12:26 stevedore==5.1.0 11:12:26 tabulate==0.9.0 11:12:26 toml==0.10.2 11:12:26 tomlkit==0.12.3 11:12:26 tqdm==4.66.1 11:12:26 typing_extensions==4.8.0 11:12:26 tzdata==2023.3 11:12:26 urllib3==1.26.18 11:12:26 virtualenv==20.24.7 11:12:26 wcwidth==0.2.12 11:12:26 websocket-client==1.6.4 11:12:26 wrapt==1.16.0 11:12:26 xdg==6.0.0 11:12:26 xmltodict==0.13.0 11:12:26 yq==3.2.3 11:12:26 zipp==3.17.0 11:12:26 [EnvInject] - Injecting environment variables from a build step. 11:12:26 [EnvInject] - Injecting as environment variables the properties content 11:12:26 SET_JDK_VERSION=openjdk17 11:12:26 GIT_URL="git://cloud.onap.org/mirror" 11:12:26 11:12:26 [EnvInject] - Variables injected successfully. 11:12:26 [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins15286461357457778259.sh 11:12:26 ---> update-java-alternatives.sh 11:12:26 ---> Updating Java version 11:12:26 ---> Ubuntu/Debian system detected 11:12:26 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:12:26 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:12:26 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 11:12:27 openjdk version "17.0.4" 2022-07-19 11:12:27 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:12:27 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:12:27 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:12:27 [EnvInject] - Injecting environment variables from a build step. 11:12:27 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:12:27 [EnvInject] - Variables injected successfully. 11:12:27 [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins11814903450948037556.sh 11:12:27 + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api 11:12:27 + set +u 11:12:27 + save_set 11:12:27 + RUN_CSIT_SAVE_SET=ehxB 11:12:27 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 11:12:27 + '[' 1 -eq 0 ']' 11:12:27 + '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:12:27 + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:12:27 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:12:27 + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 11:12:27 + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 11:12:27 + export ROBOT_VARIABLES= 11:12:27 + ROBOT_VARIABLES= 11:12:27 + export PROJECT=api 11:12:27 + PROJECT=api 11:12:27 + cd /w/workspace/policy-api-master-project-csit-api 11:12:27 + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:12:27 + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:12:27 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:12:27 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 11:12:27 + relax_set 11:12:27 + set +e 11:12:27 + set +o pipefail 11:12:27 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:12:27 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:12:27 +++ mktemp -d 11:12:27 ++ ROBOT_VENV=/tmp/tmp.64ZDM45ug2 11:12:27 ++ echo ROBOT_VENV=/tmp/tmp.64ZDM45ug2 11:12:27 +++ python3 --version 11:12:27 ++ echo 'Python version is: Python 3.6.9' 11:12:27 Python version is: Python 3.6.9 11:12:27 ++ python3 -m venv --clear /tmp/tmp.64ZDM45ug2 11:12:29 ++ source /tmp/tmp.64ZDM45ug2/bin/activate 11:12:29 +++ deactivate nondestructive 11:12:29 +++ '[' -n '' ']' 11:12:29 +++ '[' -n '' ']' 11:12:29 +++ '[' -n /bin/bash -o -n '' ']' 11:12:29 +++ hash -r 11:12:29 +++ '[' -n '' ']' 11:12:29 +++ unset VIRTUAL_ENV 11:12:29 +++ '[' '!' nondestructive = nondestructive ']' 11:12:29 +++ VIRTUAL_ENV=/tmp/tmp.64ZDM45ug2 11:12:29 +++ export VIRTUAL_ENV 11:12:29 +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:12:29 +++ PATH=/tmp/tmp.64ZDM45ug2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:12:29 +++ export PATH 11:12:29 +++ '[' -n '' ']' 11:12:29 +++ '[' -z '' ']' 11:12:29 +++ _OLD_VIRTUAL_PS1= 11:12:29 +++ '[' 'x(tmp.64ZDM45ug2) ' '!=' x ']' 11:12:29 +++ PS1='(tmp.64ZDM45ug2) ' 11:12:29 +++ export PS1 11:12:29 +++ '[' -n /bin/bash -o -n '' ']' 11:12:29 +++ hash -r 11:12:29 ++ set -exu 11:12:29 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 11:12:32 ++ echo 'Installing Python Requirements' 11:12:32 Installing Python Requirements 11:12:32 ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt 11:12:52 ++ python3 -m pip -qq freeze 11:12:52 bcrypt==4.0.1 11:12:52 beautifulsoup4==4.12.2 11:12:52 bitarray==2.8.3 11:12:52 certifi==2023.11.17 11:12:52 cffi==1.15.1 11:12:52 charset-normalizer==2.0.12 11:12:52 cryptography==40.0.2 11:12:52 decorator==5.1.1 11:12:52 elasticsearch==7.17.9 11:12:52 elasticsearch-dsl==7.4.1 11:12:52 enum34==1.1.10 11:12:52 idna==3.6 11:12:52 importlib-resources==5.4.0 11:12:52 ipaddr==2.2.0 11:12:52 isodate==0.6.1 11:12:52 jmespath==0.10.0 11:12:52 jsonpatch==1.32 11:12:52 jsonpath-rw==1.4.0 11:12:52 jsonpointer==2.3 11:12:52 lxml==4.9.3 11:12:52 netaddr==0.8.0 11:12:52 netifaces==0.11.0 11:12:52 odltools==0.1.28 11:12:52 paramiko==3.3.1 11:12:52 pkg_resources==0.0.0 11:12:52 ply==3.11 11:12:52 pyang==2.6.0 11:12:52 pyangbind==0.8.1 11:12:52 pycparser==2.21 11:12:52 pyhocon==0.3.60 11:12:52 PyNaCl==1.5.0 11:12:52 pyparsing==3.1.1 11:12:52 python-dateutil==2.8.2 11:12:52 regex==2023.8.8 11:12:52 requests==2.27.1 11:12:52 robotframework==6.1.1 11:12:52 robotframework-httplibrary==0.4.2 11:12:52 robotframework-pythonlibcore==3.0.0 11:12:52 robotframework-requests==0.9.4 11:12:52 robotframework-selenium2library==3.0.0 11:12:52 robotframework-seleniumlibrary==5.1.3 11:12:52 robotframework-sshlibrary==3.8.0 11:12:52 scapy==2.5.0 11:12:52 scp==0.14.5 11:12:52 selenium==3.141.0 11:12:52 six==1.16.0 11:12:52 soupsieve==2.3.2.post1 11:12:52 urllib3==1.26.18 11:12:52 waitress==2.0.0 11:12:52 WebOb==1.8.7 11:12:52 WebTest==3.0.0 11:12:52 zipp==3.6.0 11:12:52 ++ mkdir -p /tmp/tmp.64ZDM45ug2/src/onap 11:12:52 ++ rm -rf /tmp/tmp.64ZDM45ug2/src/onap/testsuite 11:12:52 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 11:12:59 ++ echo 'Uninstall docker-py and reinstall docker.' 11:12:59 Uninstall docker-py and reinstall docker. 11:12:59 ++ python3 -m pip uninstall -y -qq docker 11:12:59 ++ python3 -m pip install -U -qq docker 11:13:01 ++ python3 -m pip -qq freeze 11:13:02 bcrypt==4.0.1 11:13:02 beautifulsoup4==4.12.2 11:13:02 bitarray==2.8.3 11:13:02 certifi==2023.11.17 11:13:02 cffi==1.15.1 11:13:02 charset-normalizer==2.0.12 11:13:02 cryptography==40.0.2 11:13:02 decorator==5.1.1 11:13:02 deepdiff==5.7.0 11:13:02 dnspython==2.2.1 11:13:02 docker==5.0.3 11:13:02 elasticsearch==7.17.9 11:13:02 elasticsearch-dsl==7.4.1 11:13:02 enum34==1.1.10 11:13:02 future==0.18.3 11:13:02 idna==3.6 11:13:02 importlib-resources==5.4.0 11:13:02 ipaddr==2.2.0 11:13:02 isodate==0.6.1 11:13:02 Jinja2==3.0.3 11:13:02 jmespath==0.10.0 11:13:02 jsonpatch==1.32 11:13:02 jsonpath-rw==1.4.0 11:13:02 jsonpointer==2.3 11:13:02 kafka-python==2.0.2 11:13:02 lxml==4.9.3 11:13:02 MarkupSafe==2.0.1 11:13:02 more-itertools==5.0.0 11:13:02 netaddr==0.8.0 11:13:02 netifaces==0.11.0 11:13:02 odltools==0.1.28 11:13:02 ordered-set==4.0.2 11:13:02 paramiko==3.3.1 11:13:02 pbr==6.0.0 11:13:02 pkg_resources==0.0.0 11:13:02 ply==3.11 11:13:02 protobuf==3.19.6 11:13:02 pyang==2.6.0 11:13:02 pyangbind==0.8.1 11:13:02 pycparser==2.21 11:13:02 pyhocon==0.3.60 11:13:02 PyNaCl==1.5.0 11:13:02 pyparsing==3.1.1 11:13:02 python-dateutil==2.8.2 11:13:02 PyYAML==6.0.1 11:13:02 regex==2023.8.8 11:13:02 requests==2.27.1 11:13:02 robotframework==6.1.1 11:13:02 robotframework-httplibrary==0.4.2 11:13:02 robotframework-onap==0.6.0.dev105 11:13:02 robotframework-pythonlibcore==3.0.0 11:13:02 robotframework-requests==0.9.4 11:13:02 robotframework-selenium2library==3.0.0 11:13:02 robotframework-seleniumlibrary==5.1.3 11:13:02 robotframework-sshlibrary==3.8.0 11:13:02 robotlibcore-temp==1.0.2 11:13:02 scapy==2.5.0 11:13:02 scp==0.14.5 11:13:02 selenium==3.141.0 11:13:02 six==1.16.0 11:13:02 soupsieve==2.3.2.post1 11:13:02 urllib3==1.26.18 11:13:02 waitress==2.0.0 11:13:02 WebOb==1.8.7 11:13:02 websocket-client==1.3.1 11:13:02 WebTest==3.0.0 11:13:02 zipp==3.6.0 11:13:02 ++ uname 11:13:02 ++ grep -q Linux 11:13:02 ++ sudo apt-get -y -qq install libxml2-utils 11:13:02 + load_set 11:13:02 + _setopts=ehuxB 11:13:02 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 11:13:02 ++ tr : ' ' 11:13:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:13:02 + set +o braceexpand 11:13:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:13:02 + set +o hashall 11:13:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:13:02 + set +o interactive-comments 11:13:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:13:02 + set +o nounset 11:13:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:13:02 + set +o xtrace 11:13:02 ++ echo ehuxB 11:13:02 ++ sed 's/./& /g' 11:13:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:13:02 + set +e 11:13:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:13:02 + set +h 11:13:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:13:02 + set +u 11:13:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:13:02 + set +x 11:13:02 + source_safely /tmp/tmp.64ZDM45ug2/bin/activate 11:13:02 + '[' -z /tmp/tmp.64ZDM45ug2/bin/activate ']' 11:13:02 + relax_set 11:13:02 + set +e 11:13:02 + set +o pipefail 11:13:02 + . /tmp/tmp.64ZDM45ug2/bin/activate 11:13:02 ++ deactivate nondestructive 11:13:02 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ']' 11:13:02 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:13:02 ++ export PATH 11:13:02 ++ unset _OLD_VIRTUAL_PATH 11:13:02 ++ '[' -n '' ']' 11:13:02 ++ '[' -n /bin/bash -o -n '' ']' 11:13:02 ++ hash -r 11:13:02 ++ '[' -n '' ']' 11:13:02 ++ unset VIRTUAL_ENV 11:13:02 ++ '[' '!' nondestructive = nondestructive ']' 11:13:02 ++ VIRTUAL_ENV=/tmp/tmp.64ZDM45ug2 11:13:02 ++ export VIRTUAL_ENV 11:13:02 ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:13:02 ++ PATH=/tmp/tmp.64ZDM45ug2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:13:02 ++ export PATH 11:13:02 ++ '[' -n '' ']' 11:13:02 ++ '[' -z '' ']' 11:13:02 ++ _OLD_VIRTUAL_PS1='(tmp.64ZDM45ug2) ' 11:13:02 ++ '[' 'x(tmp.64ZDM45ug2) ' '!=' x ']' 11:13:02 ++ PS1='(tmp.64ZDM45ug2) (tmp.64ZDM45ug2) ' 11:13:02 ++ export PS1 11:13:02 ++ '[' -n /bin/bash -o -n '' ']' 11:13:02 ++ hash -r 11:13:02 + load_set 11:13:02 + _setopts=hxB 11:13:02 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:13:02 ++ tr : ' ' 11:13:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:13:02 + set +o braceexpand 11:13:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:13:02 + set +o hashall 11:13:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:13:02 + set +o interactive-comments 11:13:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:13:02 + set +o xtrace 11:13:02 ++ echo hxB 11:13:02 ++ sed 's/./& /g' 11:13:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:13:02 + set +h 11:13:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:13:02 + set +x 11:13:02 + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 11:13:02 + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 11:13:02 + export TEST_OPTIONS= 11:13:02 + TEST_OPTIONS= 11:13:02 ++ mktemp -d 11:13:02 + WORKDIR=/tmp/tmp.YnwEtb45KL 11:13:02 + cd /tmp/tmp.YnwEtb45KL 11:13:02 + docker login -u docker -p docker nexus3.onap.org:10001 11:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:02 Configure a credential helper to remove this warning. See 11:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:02 11:13:02 Login Succeeded 11:13:02 + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:13:02 + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:13:02 + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' 11:13:02 Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:13:02 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:13:02 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:13:02 + relax_set 11:13:02 + set +e 11:13:02 + set +o pipefail 11:13:02 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:13:02 ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh 11:13:02 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:13:02 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview 11:13:02 +++ GERRIT_BRANCH=master 11:13:02 +++ echo GERRIT_BRANCH=master 11:13:02 GERRIT_BRANCH=master 11:13:02 +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models 11:13:02 +++ mkdir /w/workspace/policy-api-master-project-csit-api/models 11:13:02 +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models 11:13:02 Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... 11:13:04 +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 11:13:04 +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 11:13:04 +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:13:04 +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:13:04 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:13:04 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:13:04 ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana 11:13:04 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:13:04 +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 11:13:04 +++ grafana=false 11:13:04 +++ gui=false 11:13:04 +++ [[ 2 -gt 0 ]] 11:13:04 +++ key=api 11:13:04 +++ case $key in 11:13:04 +++ echo api 11:13:04 api 11:13:04 +++ component=api 11:13:04 +++ shift 11:13:04 +++ [[ 1 -gt 0 ]] 11:13:04 +++ key=--grafana 11:13:04 +++ case $key in 11:13:04 +++ grafana=true 11:13:04 +++ shift 11:13:04 +++ [[ 0 -gt 0 ]] 11:13:04 +++ cd /w/workspace/policy-api-master-project-csit-api/compose 11:13:04 +++ echo 'Configuring docker compose...' 11:13:04 Configuring docker compose... 11:13:04 +++ source export-ports.sh 11:13:04 +++ source get-versions.sh 11:13:06 +++ '[' -z api ']' 11:13:06 +++ '[' -n api ']' 11:13:06 +++ '[' api == logs ']' 11:13:06 +++ '[' true = true ']' 11:13:06 +++ echo 'Starting api application with Grafana' 11:13:06 Starting api application with Grafana 11:13:06 +++ docker-compose up -d api grafana 11:13:07 Creating network "compose_default" with the default driver 11:13:07 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 11:13:07 10.10.2: Pulling from mariadb 11:13:12 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 11:13:12 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 11:13:12 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT)... 11:13:12 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator 11:13:17 Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca 11:13:17 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT 11:13:17 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 11:13:17 3.0.3-SNAPSHOT: Pulling from onap/policy-api 11:13:19 Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea 11:13:19 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT 11:13:19 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 11:13:19 latest: Pulling from prom/prometheus 11:13:23 Digest: sha256:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e 11:13:23 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 11:13:23 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 11:13:23 latest: Pulling from grafana/grafana 11:13:28 Digest: sha256:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f 11:13:28 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 11:13:28 Creating mariadb ... 11:13:28 Creating prometheus ... 11:13:51 Creating mariadb ... done 11:13:51 Creating policy-db-migrator ... 11:13:52 Creating policy-db-migrator ... done 11:13:52 Creating policy-api ... 11:13:52 Creating policy-api ... done 11:13:54 Creating prometheus ... done 11:13:54 Creating grafana ... 11:13:56 Creating grafana ... done 11:13:56 +++ echo 'Prometheus server: http://localhost:30259' 11:13:56 Prometheus server: http://localhost:30259 11:13:56 +++ echo 'Grafana server: http://localhost:30269' 11:13:56 Grafana server: http://localhost:30269 11:13:56 +++ cd /w/workspace/policy-api-master-project-csit-api 11:13:56 ++ sleep 10 11:14:06 ++ unset http_proxy https_proxy 11:14:06 ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 11:14:06 Waiting for REST to come up on localhost port 30002... 11:14:06 NAMES STATUS 11:14:06 grafana Up 10 seconds 11:14:06 policy-api Up 13 seconds 11:14:06 policy-db-migrator Up 14 seconds 11:14:06 prometheus Up 12 seconds 11:14:06 mariadb Up 15 seconds 11:14:11 NAMES STATUS 11:14:11 grafana Up 15 seconds 11:14:11 policy-api Up 18 seconds 11:14:11 policy-db-migrator Up 19 seconds 11:14:11 prometheus Up 17 seconds 11:14:11 mariadb Up 20 seconds 11:14:16 NAMES STATUS 11:14:16 grafana Up 20 seconds 11:14:16 policy-api Up 23 seconds 11:14:16 policy-db-migrator Up 24 seconds 11:14:16 prometheus Up 22 seconds 11:14:16 mariadb Up 25 seconds 11:14:21 NAMES STATUS 11:14:21 grafana Up 25 seconds 11:14:21 policy-api Up 28 seconds 11:14:21 policy-db-migrator Up 29 seconds 11:14:21 prometheus Up 27 seconds 11:14:21 mariadb Up 30 seconds 11:14:26 NAMES STATUS 11:14:26 grafana Up 30 seconds 11:14:26 policy-api Up 33 seconds 11:14:26 policy-db-migrator Up 34 seconds 11:14:26 prometheus Up 32 seconds 11:14:26 mariadb Up 35 seconds 11:14:31 NAMES STATUS 11:14:31 grafana Up 35 seconds 11:14:31 policy-api Up 38 seconds 11:14:31 policy-db-migrator Up 39 seconds 11:14:31 prometheus Up 37 seconds 11:14:31 mariadb Up 40 seconds 11:14:36 NAMES STATUS 11:14:36 grafana Up 40 seconds 11:14:36 policy-api Up 43 seconds 11:14:36 policy-db-migrator Up 44 seconds 11:14:36 prometheus Up 42 seconds 11:14:36 mariadb Up 45 seconds 11:14:41 NAMES STATUS 11:14:41 grafana Up 45 seconds 11:14:41 policy-api Up 49 seconds 11:14:41 policy-db-migrator Up 49 seconds 11:14:41 prometheus Up 47 seconds 11:14:41 mariadb Up 50 seconds 11:14:46 NAMES STATUS 11:14:46 grafana Up 50 seconds 11:14:46 policy-api Up 54 seconds 11:14:46 policy-db-migrator Up 54 seconds 11:14:46 prometheus Up 52 seconds 11:14:46 mariadb Up 55 seconds 11:14:52 NAMES STATUS 11:14:52 grafana Up 55 seconds 11:14:52 policy-api Up 59 seconds 11:14:52 policy-db-migrator Up About a minute 11:14:52 prometheus Up 57 seconds 11:14:52 mariadb Up About a minute 11:14:57 NAMES STATUS 11:14:57 grafana Up About a minute 11:14:57 policy-api Up About a minute 11:14:57 policy-db-migrator Up About a minute 11:14:57 prometheus Up About a minute 11:14:57 mariadb Up About a minute 11:15:02 NAMES STATUS 11:15:02 grafana Up About a minute 11:15:02 policy-api Up About a minute 11:15:02 policy-db-migrator Up About a minute 11:15:02 prometheus Up About a minute 11:15:02 mariadb Up About a minute 11:15:07 NAMES STATUS 11:15:07 policy-api Up About a minute 11:15:07 prometheus Up About a minute 11:15:07 mariadb Up About a minute 11:15:12 NAMES STATUS 11:15:12 policy-api Up About a minute 11:15:12 prometheus Up About a minute 11:15:12 mariadb Up About a minute 11:15:17 NAMES STATUS 11:15:17 policy-api Up About a minute 11:15:17 prometheus Up About a minute 11:15:17 mariadb Up About a minute 11:15:22 NAMES STATUS 11:15:22 policy-api Up About a minute 11:15:22 prometheus Up About a minute 11:15:22 mariadb Up About a minute 11:15:22 ++ export 'SUITES=api-test.robot 11:15:22 api-slas.robot' 11:15:22 ++ SUITES='api-test.robot 11:15:22 api-slas.robot' 11:15:22 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:15:22 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:15:22 + load_set 11:15:22 + _setopts=hxB 11:15:22 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:15:22 ++ tr : ' ' 11:15:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:15:22 + set +o braceexpand 11:15:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:15:22 + set +o hashall 11:15:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:15:22 + set +o interactive-comments 11:15:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:15:22 + set +o xtrace 11:15:22 ++ echo hxB 11:15:22 ++ sed 's/./& /g' 11:15:22 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:15:22 + set +h 11:15:22 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:15:22 + set +x 11:15:22 + docker_stats 11:15:22 + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 11:15:22 ++ uname -s 11:15:22 + '[' Linux == Darwin ']' 11:15:22 + sh -c 'top -bn1 | head -3' 11:15:22 top - 11:15:22 up 5 min, 0 users, load average: 3.42, 1.77, 0.73 11:15:22 Tasks: 175 total, 1 running, 98 sleeping, 0 stopped, 0 zombie 11:15:22 %Cpu(s): 7.9 us, 1.5 sy, 0.0 ni, 81.9 id, 8.5 wa, 0.0 hi, 0.0 si, 0.1 st 11:15:22 + echo 11:15:22 + sh -c 'free -h' 11:15:22 11:15:23 total used free shared buff/cache available 11:15:23 Mem: 31G 1.4G 26G 932K 4.0G 29G 11:15:23 Swap: 1.0G 0B 1.0G 11:15:23 + echo 11:15:23 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:15:23 11:15:23 NAMES STATUS 11:15:23 policy-api Up About a minute 11:15:23 prometheus Up About a minute 11:15:23 mariadb Up About a minute 11:15:23 + echo 11:15:23 + docker stats --no-stream 11:15:23 11:15:25 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:15:25 8a876d765b80 policy-api 0.21% 482.1MiB / 31.41GiB 1.50% 1MB / 715kB 0B / 0B 53 11:15:25 7e32238febb3 prometheus 0.12% 19.07MiB / 31.41GiB 0.06% 1.06kB / 158B 0B / 0B 12 11:15:25 9d1fe0f68ff7 mariadb 0.01% 100.1MiB / 31.41GiB 0.31% 989kB / 1.2MB 10.9MB / 67.8MB 22 11:15:25 + echo 11:15:25 11:15:25 + cd /tmp/tmp.YnwEtb45KL 11:15:25 + echo 'Reading the testplan:' 11:15:25 Reading the testplan: 11:15:25 + echo 'api-test.robot 11:15:25 api-slas.robot' 11:15:25 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 11:15:25 + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' 11:15:25 + cat testplan.txt 11:15:25 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot 11:15:25 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 11:15:25 ++ xargs 11:15:25 + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot' 11:15:25 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:15:25 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:15:25 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:15:25 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:15:25 + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' 11:15:25 Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ... 11:15:25 + relax_set 11:15:25 + set +e 11:15:25 + set +o pipefail 11:15:25 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 11:15:26 ============================================================================== 11:15:26 api 11:15:26 ============================================================================== 11:15:26 api.Api-Test 11:15:26 ============================================================================== 11:15:26 Healthcheck :: Verify policy api health check | PASS | 11:15:26 ------------------------------------------------------------------------------ 11:15:28 RetrievePolicyTypes :: Retrieve all policy types | PASS | 11:15:28 ------------------------------------------------------------------------------ 11:15:29 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 11:15:29 ------------------------------------------------------------------------------ 11:15:29 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 11:15:29 ------------------------------------------------------------------------------ 11:15:29 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 11:15:29 ------------------------------------------------------------------------------ 11:15:30 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 11:15:30 ------------------------------------------------------------------------------ 11:15:30 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 11:15:30 ------------------------------------------------------------------------------ 11:15:30 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 11:15:30 ------------------------------------------------------------------------------ 11:15:31 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 11:15:31 ------------------------------------------------------------------------------ 11:15:31 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 11:15:31 ------------------------------------------------------------------------------ 11:15:31 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 11:15:31 ------------------------------------------------------------------------------ 11:15:32 RetrieveAllPolicies :: Retrieve all policies | PASS | 11:15:32 ------------------------------------------------------------------------------ 11:15:32 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 11:15:32 ------------------------------------------------------------------------------ 11:15:32 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 11:15:32 ------------------------------------------------------------------------------ 11:15:32 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 11:15:32 ------------------------------------------------------------------------------ 11:15:32 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 11:15:32 ------------------------------------------------------------------------------ 11:15:33 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 11:15:33 ------------------------------------------------------------------------------ 11:15:33 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 11:15:33 ------------------------------------------------------------------------------ 11:15:33 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 11:15:33 ------------------------------------------------------------------------------ 11:15:34 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 11:15:34 ------------------------------------------------------------------------------ 11:15:34 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 11:15:34 ------------------------------------------------------------------------------ 11:15:34 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 11:15:34 ------------------------------------------------------------------------------ 11:15:34 api.Api-Test | PASS | 11:15:34 22 tests, 22 passed, 0 failed 11:15:34 ============================================================================== 11:15:34 api.Api-Slas 11:15:34 ============================================================================== 11:16:34 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 11:16:34 ------------------------------------------------------------------------------ 11:16:34 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 11:16:34 ------------------------------------------------------------------------------ 11:16:34 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 11:16:34 ------------------------------------------------------------------------------ 11:16:34 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 11:16:34 ------------------------------------------------------------------------------ 11:16:34 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 11:16:34 ------------------------------------------------------------------------------ 11:16:34 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 11:16:34 ------------------------------------------------------------------------------ 11:16:34 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 11:16:34 ------------------------------------------------------------------------------ 11:16:34 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 11:16:34 ------------------------------------------------------------------------------ 11:16:34 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 11:16:34 ------------------------------------------------------------------------------ 11:16:34 api.Api-Slas | PASS | 11:16:34 9 tests, 9 passed, 0 failed 11:16:34 ============================================================================== 11:16:34 api | PASS | 11:16:34 31 tests, 31 passed, 0 failed 11:16:34 ============================================================================== 11:16:34 Output: /tmp/tmp.YnwEtb45KL/output.xml 11:16:34 Log: /tmp/tmp.YnwEtb45KL/log.html 11:16:34 Report: /tmp/tmp.YnwEtb45KL/report.html 11:16:34 + RESULT=0 11:16:34 + load_set 11:16:34 + _setopts=hxB 11:16:34 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:16:34 ++ tr : ' ' 11:16:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:16:34 + set +o braceexpand 11:16:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:16:34 + set +o hashall 11:16:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:16:34 + set +o interactive-comments 11:16:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:16:34 + set +o xtrace 11:16:34 ++ sed 's/./& /g' 11:16:34 ++ echo hxB 11:16:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:16:34 + set +h 11:16:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:16:34 + set +x 11:16:34 + echo 'RESULT: 0' 11:16:34 RESULT: 0 11:16:34 + exit 0 11:16:34 + on_exit 11:16:34 + rc=0 11:16:34 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] 11:16:34 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:16:34 NAMES STATUS 11:16:34 policy-api Up 2 minutes 11:16:34 prometheus Up 2 minutes 11:16:34 mariadb Up 2 minutes 11:16:34 + docker_stats 11:16:34 ++ uname -s 11:16:34 + '[' Linux == Darwin ']' 11:16:34 + sh -c 'top -bn1 | head -3' 11:16:35 top - 11:16:35 up 6 min, 0 users, load average: 1.29, 1.48, 0.71 11:16:35 Tasks: 163 total, 1 running, 96 sleeping, 0 stopped, 0 zombie 11:16:35 %Cpu(s): 7.1 us, 1.3 sy, 0.0 ni, 84.2 id, 7.3 wa, 0.0 hi, 0.0 si, 0.1 st 11:16:35 + echo 11:16:35 11:16:35 + sh -c 'free -h' 11:16:35 total used free shared buff/cache available 11:16:35 Mem: 31G 1.7G 25G 932K 4.0G 29G 11:16:35 Swap: 1.0G 0B 1.0G 11:16:35 + echo 11:16:35 11:16:35 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:16:35 NAMES STATUS 11:16:35 policy-api Up 2 minutes 11:16:35 prometheus Up 2 minutes 11:16:35 mariadb Up 2 minutes 11:16:35 + echo 11:16:35 11:16:35 + docker stats --no-stream 11:16:37 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:16:37 8a876d765b80 policy-api 0.27% 792.5MiB / 31.41GiB 2.46% 7.01MB / 2.55MB 0B / 0B 54 11:16:37 7e32238febb3 prometheus 0.00% 25.62MiB / 31.41GiB 0.08% 55.2kB / 6.72kB 0B / 0B 13 11:16:37 9d1fe0f68ff7 mariadb 0.01% 100.9MiB / 31.41GiB 0.31% 2.4MB / 7.06MB 10.9MB / 68.2MB 18 11:16:37 + echo 11:16:37 11:16:37 + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 11:16:37 + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' 11:16:37 + relax_set 11:16:37 + set +e 11:16:37 + set +o pipefail 11:16:37 + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 11:16:37 ++ echo 'Shut down started!' 11:16:37 Shut down started! 11:16:37 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:16:37 ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 11:16:37 ++ cd /w/workspace/policy-api-master-project-csit-api/compose 11:16:37 ++ source export-ports.sh 11:16:37 ++ source get-versions.sh 11:16:39 ++ echo 'Collecting logs from docker compose containers...' 11:16:39 Collecting logs from docker compose containers... 11:16:39 ++ docker-compose logs 11:16:40 ++ cat docker_compose.log 11:16:40 Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531711228Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531916021Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531923182Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531927892Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531931332Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531934662Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531939982Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531943222Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531947142Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.531988192Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.532001803Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.532006873Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.532009903Z level=info msg=Target target=[all] 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.532016303Z level=info msg="Path Home" path=/usr/share/grafana 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.532019333Z level=info msg="Path Data" path=/var/lib/grafana 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.532022243Z level=info msg="Path Logs" path=/var/log/grafana 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.532025063Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.532095834Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 11:16:40 grafana | logger=settings t=2023-11-29T11:13:56.532101554Z level=info msg="App mode production" 11:16:40 grafana | logger=sqlstore t=2023-11-29T11:13:56.532463169Z level=info msg="Connecting to DB" dbtype=sqlite3 11:16:40 grafana | logger=sqlstore t=2023-11-29T11:13:56.532483059Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:56.533112917Z level=info msg="Starting DB migrations" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:56.533973759Z level=info msg="Executing migration" id="create migration_log table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:56.53472205Z level=info msg="Migration successfully executed" id="create migration_log table" duration=747.751µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:56.813276167Z level=info msg="Executing migration" id="create user table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:56.814781167Z level=info msg="Migration successfully executed" id="create user table" duration=1.509ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:57.030209025Z level=info msg="Executing migration" id="add unique index user.login" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:57.031502524Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.309439ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:57.267928258Z level=info msg="Executing migration" id="add unique index user.email" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:57.269256037Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.335199ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:57.70926183Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:57.710123092Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=865.602µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:57.82283572Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:57.823920366Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.085866ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:57.995626895Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.000848798Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=5.222413ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.098396823Z level=info msg="Executing migration" id="create user table v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.099434697Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.041964ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.207328466Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.208945668Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.618892ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.374715495Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.375969393Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.254068ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.447360241Z level=info msg="Executing migration" id="copy data_source v1 to v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.44798181Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=622.339µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.518669829Z level=info msg="Executing migration" id="Drop old table user_v1" 11:16:40 mariadb | 2023-11-29 11:13:51+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:16:40 mariadb | 2023-11-29 11:13:51+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 11:16:40 mariadb | 2023-11-29 11:13:51+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:16:40 mariadb | 2023-11-29 11:13:51+00:00 [Note] [Entrypoint]: Initializing database files 11:16:40 mariadb | 2023-11-29 11:13:51 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:16:40 mariadb | 2023-11-29 11:13:51 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:16:40 mariadb | 2023-11-29 11:13:51 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:16:40 mariadb | 11:16:40 mariadb | 11:16:40 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 11:16:40 mariadb | To do so, start the server, then issue the following command: 11:16:40 mariadb | 11:16:40 mariadb | '/usr/bin/mysql_secure_installation' 11:16:40 mariadb | 11:16:40 mariadb | which will also give you the option of removing the test 11:16:40 mariadb | databases and anonymous user created by default. This is 11:16:40 mariadb | strongly recommended for production servers. 11:16:40 mariadb | 11:16:40 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 11:16:40 mariadb | 11:16:40 mariadb | Please report any problems at https://mariadb.org/jira 11:16:40 mariadb | 11:16:40 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 11:16:40 mariadb | 11:16:40 mariadb | Consider joining MariaDB's strong and vibrant community: 11:16:40 mariadb | https://mariadb.org/get-involved/ 11:16:40 mariadb | 11:16:40 mariadb | 2023-11-29 11:13:53+00:00 [Note] [Entrypoint]: Database files initialized 11:16:40 mariadb | 2023-11-29 11:13:53+00:00 [Note] [Entrypoint]: Starting temporary server 11:16:40 mariadb | 2023-11-29 11:13:53+00:00 [Note] [Entrypoint]: Waiting for server startup 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: Number of transaction pools: 1 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: Completed initialization of buffer pool 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: 128 rollback segments are active. 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] InnoDB: log sequence number 46590; transaction id 14 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] Plugin 'FEEDBACK' is disabled. 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 11:16:40 mariadb | 2023-11-29 11:13:53 0 [Note] mariadbd: ready for connections. 11:16:40 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 11:16:40 mariadb | 2023-11-29 11:13:54+00:00 [Note] [Entrypoint]: Temporary server started. 11:16:40 mariadb | 2023-11-29 11:13:59+00:00 [Note] [Entrypoint]: Creating user policy_user 11:16:40 mariadb | 2023-11-29 11:13:59+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 11:16:40 mariadb | 11:16:40 mariadb | 2023-11-29 11:13:59+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 11:16:40 mariadb | 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.519876535Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.210036ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.596310783Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.597787025Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.479412ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.849693607Z level=info msg="Executing migration" id="Update user table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.849766858Z level=info msg="Migration successfully executed" id="Update user table charset" duration=78.331µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.919862248Z level=info msg="Executing migration" id="Add last_seen_at column to user" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:58.921920107Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=2.058109ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.069366538Z level=info msg="Executing migration" id="Add missing user data" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.069838824Z level=info msg="Migration successfully executed" id="Add missing user data" duration=476.196µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.217268289Z level=info msg="Executing migration" id="Add is_disabled column to user" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.219294827Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.028218ms 11:16:40 mariadb | 2023-11-29 11:13:59+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 11:16:40 mariadb | #!/bin/bash -xv 11:16:40 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 11:16:40 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 11:16:40 mariadb | # 11:16:40 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 11:16:40 mariadb | # you may not use this file except in compliance with the License. 11:16:40 mariadb | # You may obtain a copy of the License at 11:16:40 mariadb | # 11:16:40 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 11:16:40 mariadb | # 11:16:40 mariadb | # Unless required by applicable law or agreed to in writing, software 11:16:40 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 11:16:40 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11:16:40 mariadb | # See the License for the specific language governing permissions and 11:16:40 mariadb | # limitations under the License. 11:16:40 mariadb | 11:16:40 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:16:40 mariadb | do 11:16:40 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 11:16:40 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 11:16:40 mariadb | done 11:16:40 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:16:40 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 11:16:40 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:16:40 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:16:40 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 11:16:40 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:16:40 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:16:40 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 11:16:40 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:16:40 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:16:40 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 11:16:40 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:16:40 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:16:40 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 11:16:40 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:16:40 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:16:40 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 11:16:40 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:16:40 mariadb | 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.369553345Z level=info msg="Executing migration" id="Add index user.login/user.email" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.3706158Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.064776ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.49938622Z level=info msg="Executing migration" id="Add is_service_account column to user" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.501431399Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=2.047069ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.735932866Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.746539635Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.615079ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.880755512Z level=info msg="Executing migration" id="create temp user table v1-7" 11:16:40 grafana | logger=migrator t=2023-11-29T11:13:59.882337934Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.589833ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.015596077Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.016397268Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=801.631µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.168400242Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.170309228Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.910056ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.280648281Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.282080721Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.434579ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.350593999Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.351306399Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=707.57µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.409394331Z level=info msg="Executing migration" id="Update temp_user table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.409422061Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=28.11µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.454318898Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.455033578Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=700.57µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.550133308Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.551354804Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.224796ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.559284315Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.560458032Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.174487ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.609554509Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.610592033Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.036784ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.723508391Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.729680857Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=6.176766ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.793108864Z level=info msg="Executing migration" id="create temp_user v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.794529793Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.42397ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.821969857Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.823286525Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.316218ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.870141201Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.871366088Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.224867ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.885954212Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.887145728Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.191436ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.942728505Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:00.943932571Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.205176ms 11:16:40 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 11:16:40 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 11:16:40 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 11:16:40 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 11:16:40 mariadb | 11:16:40 mariadb | 2023-11-29 11:14:10+00:00 [Note] [Entrypoint]: Stopping temporary server 11:16:40 mariadb | 2023-11-29 11:14:10 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 11:16:40 mariadb | 2023-11-29 11:14:10 0 [Note] InnoDB: FTS optimize thread exiting. 11:16:40 mariadb | 2023-11-29 11:14:10 0 [Note] InnoDB: Starting shutdown... 11:16:40 mariadb | 2023-11-29 11:14:10 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 11:16:40 mariadb | 2023-11-29 11:14:10 0 [Note] InnoDB: Buffer pool(s) dump completed at 231129 11:14:10 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] InnoDB: Shutdown completed; log sequence number 318411; transaction id 298 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] mariadbd: Shutdown complete 11:16:40 mariadb | 11:16:40 mariadb | 2023-11-29 11:14:12+00:00 [Note] [Entrypoint]: Temporary server stopped 11:16:40 mariadb | 11:16:40 mariadb | 2023-11-29 11:14:12+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 11:16:40 mariadb | 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] InnoDB: Number of transaction pools: 1 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] InnoDB: Completed initialization of buffer pool 11:16:40 mariadb | 2023-11-29 11:14:12 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] InnoDB: 128 rollback segments are active. 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] InnoDB: log sequence number 318411; transaction id 299 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] Plugin 'FEEDBACK' is disabled. 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] Server socket created on IP: '0.0.0.0'. 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] Server socket created on IP: '::'. 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] mariadbd: ready for connections. 11:16:40 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 11:16:40 mariadb | 2023-11-29 11:14:13 0 [Note] InnoDB: Buffer pool(s) load completed at 231129 11:14:13 11:16:40 mariadb | 2023-11-29 11:14:13 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 11:16:40 mariadb | 2023-11-29 11:14:14 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.078220598Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.07896358Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=745.361µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.139014218Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.13988393Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=870.762µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.193614162Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.194172969Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=562.478µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.205957373Z level=info msg="Executing migration" id="create star table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.207260881Z level=info msg="Migration successfully executed" id="create star table" duration=1.303188ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.351223065Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.352203648Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=982.753µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.519707649Z level=info msg="Executing migration" id="create org table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.521281161Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.575382ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.702124109Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.703689111Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.565052ms 11:16:40 policy-api | Waiting for mariadb port 3306... 11:16:40 policy-api | mariadb (172.17.0.3:3306) open 11:16:40 policy-api | Waiting for policy-db-migrator port 6824... 11:16:40 policy-api | policy-db-migrator (172.17.0.4:6824) open 11:16:40 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 11:16:40 policy-api | 11:16:40 policy-api | . ____ _ __ _ _ 11:16:40 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:16:40 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:16:40 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:16:40 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 11:16:40 policy-api | =========|_|==============|___/=/_/_/_/ 11:16:40 policy-api | :: Spring Boot :: (v3.1.4) 11:16:40 policy-api | 11:16:40 policy-api | [2023-11-29T11:15:06.508+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 82 (/app/api.jar started by policy in /opt/app/policy/api/bin) 11:16:40 policy-api | [2023-11-29T11:15:06.510+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 11:16:40 policy-api | [2023-11-29T11:15:08.325+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:16:40 policy-api | [2023-11-29T11:15:08.422+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 84 ms. Found 6 JPA repository interfaces. 11:16:40 policy-api | [2023-11-29T11:15:08.864+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 11:16:40 policy-api | [2023-11-29T11:15:08.865+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 11:16:40 policy-api | [2023-11-29T11:15:09.646+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 11:16:40 policy-api | [2023-11-29T11:15:09.654+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 11:16:40 policy-api | [2023-11-29T11:15:09.656+00:00|INFO|StandardService|main] Starting service [Tomcat] 11:16:40 policy-api | [2023-11-29T11:15:09.656+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 11:16:40 policy-api | [2023-11-29T11:15:09.751+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 11:16:40 policy-api | [2023-11-29T11:15:09.751+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3170 ms 11:16:40 policy-api | [2023-11-29T11:15:10.265+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 11:16:40 policy-api | [2023-11-29T11:15:10.407+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 11:16:40 policy-api | [2023-11-29T11:15:10.410+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 11:16:40 policy-api | [2023-11-29T11:15:10.468+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 11:16:40 policy-api | [2023-11-29T11:15:10.850+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 11:16:40 policy-api | [2023-11-29T11:15:10.873+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 11:16:40 policy-api | [2023-11-29T11:15:10.969+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 11:16:40 policy-api | [2023-11-29T11:15:10.971+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 11:16:40 policy-api | [2023-11-29T11:15:10.997+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) 11:16:40 policy-api | [2023-11-29T11:15:10.999+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 11:16:40 policy-api | [2023-11-29T11:15:13.203+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 11:16:40 policy-api | [2023-11-29T11:15:13.207+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 11:16:40 policy-api | [2023-11-29T11:15:14.626+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:16:40 policy-api | [2023-11-29T11:15:16.085+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:16:40 policy-api | [2023-11-29T11:15:17.117+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 11:16:40 policy-api | [2023-11-29T11:15:17.446+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6f3a8d5e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@680f7a5e, org.springframework.security.web.context.SecurityContextHolderFilter@56d3e4a9, org.springframework.security.web.header.HeaderWriterFilter@36c6d53b, org.springframework.security.web.authentication.logout.LogoutFilter@3341ba8e, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2f84848e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2542d320, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@66161fee, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3005133e, org.springframework.security.web.access.ExceptionTranslationFilter@69cf9acb, org.springframework.security.web.access.intercept.AuthorizationFilter@58a01e47] 11:16:40 policy-api | [2023-11-29T11:15:18.595+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 11:16:40 policy-api | [2023-11-29T11:15:18.673+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 11:16:40 policy-api | [2023-11-29T11:15:18.695+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 11:16:40 policy-api | [2023-11-29T11:15:18.712+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.949 seconds (process running for 13.619) 11:16:40 policy-api | [2023-11-29T11:15:26.220+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' 11:16:40 policy-api | [2023-11-29T11:15:26.220+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' 11:16:40 policy-api | [2023-11-29T11:15:26.221+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 1 ms 11:16:40 policy-api | [2023-11-29T11:15:28.979+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 11:16:40 policy-api | [] 11:16:40 policy-api | [2023-11-29T11:15:29.096+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 11:16:40 policy-api | [2023-11-29T11:15:29.366+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 11:16:40 policy-api | [2023-11-29T11:15:30.786+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 11:16:40 policy-api | [2023-11-29T11:15:32.977+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 11:16:40 policy-api | [2023-11-29T11:15:33.380+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 11:16:40 policy-api | [2023-11-29T11:15:33.635+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 11:16:40 policy-api | [2023-11-29T11:15:33.888+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 11:16:40 policy-api | [2023-11-29T11:15:34.142+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 11:16:40 policy-api | [2023-11-29T11:15:34.420+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.94485498Z level=info msg="Executing migration" id="create org_user table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.948789734Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=3.935694ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:01.963166635Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.00278848Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=39.622215ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.103631079Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.104262878Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=631.709µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.1430871Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.144246276Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.158536ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.283240049Z level=info msg="Executing migration" id="Update org table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.283276959Z level=info msg="Migration successfully executed" id="Update org table charset" duration=38.9µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.347367095Z level=info msg="Executing migration" id="Update org_user table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.347405335Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=39.33µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.397389642Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.397683916Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=293.774µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.440960521Z level=info msg="Executing migration" id="create dashboard table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.441696161Z level=info msg="Migration successfully executed" id="create dashboard table" duration=735.64µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.574919893Z level=info msg="Executing migration" id="add index dashboard.account_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.576598436Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.680253ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.720836402Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.722536876Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.702703ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.797670417Z level=info msg="Executing migration" id="create dashboard_tag table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.798881504Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.214297ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.981408433Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:02.982913373Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.51558ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.103579699Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.104517253Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=941.224µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.173499206Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.182115346Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.61988ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.334959202Z level=info msg="Executing migration" id="create dashboard v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.336206689Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.249567ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.465017999Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.466012523Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.004954ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.498262223Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.499684933Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.42636ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.666959621Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.66762454Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=668.859µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.712539607Z level=info msg="Executing migration" id="drop table dashboard_v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.713977656Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.43307ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.856900693Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.857047905Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=151.782µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.992220974Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:03.994303683Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.086869ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:04.066809525Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:04.069811037Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.007932ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:04.718040542Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:04.720018729Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.981087ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:04.830808127Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:04.832215126Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.409649ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:04.953663953Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:04.956871548Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.209855ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.023264716Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.025070821Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.807475ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.082923788Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.084342068Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.418219ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.198849386Z level=info msg="Executing migration" id="Update dashboard table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.198904187Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=57.071µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.212570888Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.212615209Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=49.561µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.292171281Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.296329238Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=4.160947ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.384744893Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.387637914Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.892871ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.464628661Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.467495591Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.863149ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.676019821Z level=info msg="Executing migration" id="Add column uid in dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.679196215Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.177574ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.713508024Z level=info msg="Executing migration" id="Update uid column values in dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.713863319Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=359.725µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.761026867Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.762353206Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.328009ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.848705952Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.849936069Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.232017ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.90294749Z level=info msg="Executing migration" id="Update dashboard title length" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.903019881Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=77.241µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.985502302Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:05.986901242Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.39778ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.021428464Z level=info msg="Executing migration" id="create dashboard_provisioning" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.022472428Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.042764ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.114530304Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.124064718Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.536345ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.138532699Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.139727145Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.194706ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.172392422Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.17371348Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.321418ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.22309836Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.224539371Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.440271ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.391569852Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.39215602Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=589.398µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.408318926Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.409919779Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.600253ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.460724288Z level=info msg="Executing migration" id="Add check_sum column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.464109175Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.383837ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.568019396Z level=info msg="Executing migration" id="Add index for dashboard_title" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.570109625Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=2.091689ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.633896797Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.634394743Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=504.947µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.755298511Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.755708196Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=414.295µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.86481392Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.896533252Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=31.714722ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.973096382Z level=info msg="Executing migration" id="Add isPublic for dashboard" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:06.976985816Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.893554ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.021329555Z level=info msg="Executing migration" id="create data_source table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.022697984Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.364759ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.086621156Z level=info msg="Executing migration" id="add index data_source.account_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.087920055Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.299319ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.142018661Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.143605333Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.583192ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.220700088Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.222112089Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.415331ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.525782888Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.527150346Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.370598ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.658727774Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.670126404Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.40049ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.976957856Z level=info msg="Executing migration" id="create data_source table v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:07.97867707Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.723474ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.113590177Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.115068457Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.47878ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.317567272Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.318839919Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.272657ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.471533759Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.472090317Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=560.218µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.658931476Z level=info msg="Executing migration" id="Add column with_credentials" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.662628267Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.704692ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.668063523Z level=info msg="Executing migration" id="Add secure json data column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.670330785Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.265982ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.806441004Z level=info msg="Executing migration" id="Update data_source table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.806528865Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=92.061µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.881952508Z level=info msg="Executing migration" id="Update initial version to 1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:08.883416798Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=1.466121ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.036292732Z level=info msg="Executing migration" id="Add read_only data column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.040653563Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.363341ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.110231914Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.110720711Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=489.937µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.13286908Z level=info msg="Executing migration" id="Update json_data with nulls" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.133140014Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=279.274µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.370501346Z level=info msg="Executing migration" id="Add uid column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.374424701Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.922685ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.465224508Z level=info msg="Executing migration" id="Update uid value" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.465606784Z level=info msg="Migration successfully executed" id="Update uid value" duration=385.966µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.619547211Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.620709818Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.164197ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.853229063Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:09.854792785Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.566452ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.040236753Z level=info msg="Executing migration" id="create api_key table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.041335478Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.101225ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.310413862Z level=info msg="Executing migration" id="add index api_key.account_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.311883223Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.471461ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.457549495Z level=info msg="Executing migration" id="add index api_key.key" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.4615212Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=3.973955ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.735626595Z level=info msg="Executing migration" id="add index api_key.account_id_name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.736932993Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.308528ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.780048475Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.781373013Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.326448ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.792259045Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.793259288Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.001113ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.873912364Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.874798087Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=888.563µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.960478892Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:10.972963187Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=12.486035ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.214232743Z level=info msg="Executing migration" id="create api_key table v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.215593751Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.361058ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.437322384Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.438765655Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.443441ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.593729377Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.595784265Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=2.056479ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.692756048Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.694546393Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.800556ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.797213756Z level=info msg="Executing migration" id="copy api_key v1 to v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.797759563Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=551.347µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.812781932Z level=info msg="Executing migration" id="Drop old table api_key_v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.813839258Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.056916ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.857959272Z level=info msg="Executing migration" id="Update api_key table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.858036313Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=82.231µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.930285252Z level=info msg="Executing migration" id="Add expires to api_key table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.933090291Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.806579ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.944592901Z level=info msg="Executing migration" id="Add service account foreign key" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.947121817Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.525866ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.976342205Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.97674084Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=408.565µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.985702775Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:11.987712643Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.009298ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.05776654Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.062236212Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.464852ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.148735449Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.149979956Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.247308ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.159938155Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.160857718Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=920.083µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.293314615Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.294838106Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.525401ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.412644409Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.414277143Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.644994ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.452724609Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.455010221Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=2.283502ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.574175563Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.576893481Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=2.722998ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.619202341Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.619490875Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=294.274µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.71659688Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.716709461Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=114.752µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.728609987Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.73236971Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.746473ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.779570897Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:12.783531003Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.965506ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.011475314Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.011845429Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=373.265µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.031670523Z level=info msg="Executing migration" id="create quota table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.033417768Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.749025ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.050286933Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.052675757Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=2.392384ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.082483583Z level=info msg="Executing migration" id="Update quota table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.082563724Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=82.751µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.118510904Z level=info msg="Executing migration" id="create plugin_setting table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.120145417Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.637573ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.155583762Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.157063602Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.48079ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.162714691Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.166421003Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.705812ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.174417794Z level=info msg="Executing migration" id="Update plugin_setting table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.174479515Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=66.711µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.185163834Z level=info msg="Executing migration" id="create session table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.186096448Z level=info msg="Migration successfully executed" id="create session table" duration=938.354µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.21210989Z level=info msg="Executing migration" id="Drop old table playlist table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.212289043Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=183.383µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.22429236Z level=info msg="Executing migration" id="Drop old table playlist_item table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.224507763Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=216.703µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.262195589Z level=info msg="Executing migration" id="create playlist table v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.263331094Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.138275ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.319269224Z level=info msg="Executing migration" id="create playlist item table v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.319959564Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=692.92µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.371093398Z level=info msg="Executing migration" id="Update playlist table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.371164809Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=76.101µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.439393889Z level=info msg="Executing migration" id="Update playlist_item table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.4394587Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=67.991µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.4982515Z level=info msg="Executing migration" id="Add playlist column created_at" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.503035257Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.782937ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.539297363Z level=info msg="Executing migration" id="Add playlist column updated_at" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.544054729Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.756686ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.614732635Z level=info msg="Executing migration" id="drop preferences table v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.614821716Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=90.671µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.619043875Z level=info msg="Executing migration" id="drop preferences table v3" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.619197147Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=154.822µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.623162693Z level=info msg="Executing migration" id="create preferences table v3" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.624371239Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.208126ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.629127376Z level=info msg="Executing migration" id="Update preferences table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.629151946Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=25.47µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.632537543Z level=info msg="Executing migration" id="Add column team_id in preferences" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.635537485Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=2.996902ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.639197276Z level=info msg="Executing migration" id="Update team_id column values in preferences" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.639361798Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=165.272µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.642650255Z level=info msg="Executing migration" id="Add column week_start in preferences" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.646851863Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.197358ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.651719301Z level=info msg="Executing migration" id="Add column preferences.json_data" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.656712661Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.99465ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.659656702Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.659720213Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=64.281µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.662466251Z level=info msg="Executing migration" id="Add preferences index org_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.663313912Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=847.131µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.667805755Z level=info msg="Executing migration" id="Add preferences index user_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.668600486Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=794.821µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.671821731Z level=info msg="Executing migration" id="create alert table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.673435304Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.603573ms 11:16:40 prometheus | ts=2023-11-29T11:13:54.188Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d 11:16:40 prometheus | ts=2023-11-29T11:13:54.188Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" 11:16:40 prometheus | ts=2023-11-29T11:13:54.188Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" 11:16:40 prometheus | ts=2023-11-29T11:13:54.188Z 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))" 11:16:40 prometheus | ts=2023-11-29T11:13:54.188Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" 11:16:40 prometheus | ts=2023-11-29T11:13:54.188Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" 11:16:40 prometheus | ts=2023-11-29T11:13:54.190Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 11:16:40 prometheus | ts=2023-11-29T11:13:54.191Z caller=main.go:1024 level=info msg="Starting TSDB ..." 11:16:40 prometheus | ts=2023-11-29T11:13:54.192Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 11:16:40 prometheus | ts=2023-11-29T11:13:54.192Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 11:16:40 prometheus | ts=2023-11-29T11:13:54.197Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 11:16:40 prometheus | ts=2023-11-29T11:13:54.197Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.89µs 11:16:40 prometheus | ts=2023-11-29T11:13:54.197Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" 11:16:40 prometheus | ts=2023-11-29T11:13:54.198Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 11:16:40 prometheus | ts=2023-11-29T11:13:54.198Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=45.891µs wal_replay_duration=417.145µs wbl_replay_duration=380ns total_replay_duration=505.096µs 11:16:40 prometheus | ts=2023-11-29T11:13:54.201Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC 11:16:40 prometheus | ts=2023-11-29T11:13:54.201Z caller=main.go:1048 level=info msg="TSDB started" 11:16:40 prometheus | ts=2023-11-29T11:13:54.201Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 11:16:40 prometheus | ts=2023-11-29T11:13:54.202Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.595431ms db_storage=1.81µs remote_storage=3.14µs web_handler=800ns query_engine=1.36µs scrape=423.636µs scrape_sd=327.084µs notify=104.511µs notify_sd=22.421µs rules=2.76µs tracing=7.19µs 11:16:40 prometheus | ts=2023-11-29T11:13:54.202Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." 11:16:40 prometheus | ts=2023-11-29T11:13:54.202Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.677135625Z level=info msg="Executing migration" id="add index alert org_id & id " 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.678071968Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=936.033µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.717039742Z level=info msg="Executing migration" id="add index alert state" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.718485282Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.44567ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.722771711Z level=info msg="Executing migration" id="add index alert dashboard_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.72338918Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=617.539µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.727186543Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.72763476Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=447.847µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.730464419Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.731378831Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=913.952µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.734374053Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.735221236Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=846.933µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.739725638Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.753222606Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.495558ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.798006741Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.798744121Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=737.68µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.801948315Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.802800818Z 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=852.253µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.807039657Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.80728522Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=246.093µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.809836946Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.810263601Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=426.585µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.81230799Z level=info msg="Executing migration" id="create alert_notification table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.81302612Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=719.8µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.81732406Z level=info msg="Executing migration" id="Add column is_default" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.821217684Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.891974ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.82448642Z level=info msg="Executing migration" id="Add column frequency" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.828176342Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.689442ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.832031345Z level=info msg="Executing migration" id="Add column send_reminder" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.837263448Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.233943ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.851221523Z level=info msg="Executing migration" id="Add column disable_resolve_message" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.856555068Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.340655ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.896040058Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.897009121Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=969.153µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.931356541Z level=info msg="Executing migration" id="Update alert table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.931454442Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=101.871µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.940545358Z level=info msg="Executing migration" id="Update alert_notification table charset" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.940582069Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=38.121µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.949610915Z level=info msg="Executing migration" id="create notification_journal table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.950763861Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.152866ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.96004539Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.961391209Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.349389ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.970347964Z level=info msg="Executing migration" id="drop alert_notification_journal" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.971291917Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=943.713µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.978795022Z level=info msg="Executing migration" id="create alert_notification_state table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.980305963Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.510511ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.987700566Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.988905713Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.205007ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:13.997876718Z level=info msg="Executing migration" id="Add for to alert table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.004757034Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.866817ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.009577952Z level=info msg="Executing migration" id="Add column uid in alert_notification" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.013678508Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.112857ms 11:16:40 policy-db-migrator | Waiting for mariadb port 3306... 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:16:40 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 11:16:40 policy-db-migrator | 321 blocks 11:16:40 policy-db-migrator | Preparing upgrade release version: 0800 11:16:40 policy-db-migrator | Preparing upgrade release version: 0900 11:16:40 policy-db-migrator | Preparing upgrade release version: 1000 11:16:40 policy-db-migrator | Preparing upgrade release version: 1100 11:16:40 policy-db-migrator | Preparing upgrade release version: 1200 11:16:40 policy-db-migrator | Preparing upgrade release version: 1300 11:16:40 policy-db-migrator | Done 11:16:40 policy-db-migrator | name version 11:16:40 policy-db-migrator | policyadmin 0 11:16:40 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 11:16:40 policy-db-migrator | upgrade: 0 -> 1300 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.019016853Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.019347107Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=330.024µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.026519798Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.028086249Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.565631ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.032857566Z level=info msg="Executing migration" id="Remove unique index org_id_name" 11:16:40 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.035509433Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=2.651987ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.126118866Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.132038968Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.920262ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.227163485Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.227276867Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=116.612µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.234715781Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 11:16:40 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.236189961Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.4742ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.241457874Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.243170799Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.711385ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.246504075Z level=info msg="Executing migration" id="Drop old annotation table v4" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.246621386Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=116.551µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.251042969Z level=info msg="Executing migration" id="create annotation table v5" 11:16:40 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.25189218Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=849.181µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.257433957Z level=info msg="Executing migration" id="add index annotation 0 v3" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.259243343Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.805646ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.267303356Z level=info msg="Executing migration" id="add index annotation 1 v3" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.268303409Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=999.824µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.273966048Z level=info msg="Executing migration" id="add index annotation 2 v3" 11:16:40 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.275410887Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.444369ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.279404143Z level=info msg="Executing migration" id="add index annotation 3 v3" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.281045776Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.640923ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.285554779Z level=info msg="Executing migration" id="add index annotation 4 v3" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.286782796Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.227217ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.316548871Z level=info msg="Executing migration" id="Update annotation table charset" 11:16:40 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.316637132Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=91.911µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.321608082Z level=info msg="Executing migration" id="Add column region_id to annotation table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.328415847Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.814715ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.33439508Z level=info msg="Executing migration" id="Drop category_id index" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.335461785Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.067395ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.340617357Z level=info msg="Executing migration" id="Add column tags to annotation table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.345055789Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.441132ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.350806279Z level=info msg="Executing migration" id="Create annotation_tag table v2" 11:16:40 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.35152926Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=722.411µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.356895445Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.358202932Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.305057ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.364087244Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.365310912Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.220698ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.368844201Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 11:16:40 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.384046923Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.202762ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.387315978Z level=info msg="Executing migration" id="Create annotation_tag table v3" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.387844286Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=528.058µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.392372519Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.393053068Z 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=680.789µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.396416516Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 11:16:40 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.397028194Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=611.568µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.401228692Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.401922062Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=694.2µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.408836608Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 11:16:40 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.409141423Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=304.345µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.416325933Z level=info msg="Executing migration" id="Add created time to annotation table" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.420717003Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.39194ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.425321758Z level=info msg="Executing migration" id="Add updated time to annotation table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.431048558Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.72679ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.434699048Z level=info msg="Executing migration" id="Add index for created in annotation table" 11:16:40 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.435928886Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.229118ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.440729832Z level=info msg="Executing migration" id="Add index for updated in annotation table" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.441868499Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.140117ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.444918481Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.445201595Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=283.024µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.448931957Z level=info msg="Executing migration" id="Add epoch_end column" 11:16:40 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.455047013Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.112716ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.52654921Z level=info msg="Executing migration" id="Add index for epoch_end" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.529357059Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=2.809689ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.5373432Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.537643524Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=270.374µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.541339456Z level=info msg="Executing migration" id="Move region to single row" 11:16:40 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.541901584Z level=info msg="Migration successfully executed" id="Move region to single row" duration=561.588µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.546737741Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.547709985Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=972.384µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.55096821Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.551872353Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=903.863µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.583501463Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 11:16:40 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.585242638Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.742255ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.593183319Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.594418925Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.238106ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.59761065Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.599169332Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.558132ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.603903338Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 11:16:40 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.60472509Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=822.022µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.684215748Z level=info msg="Executing migration" id="Increase tags column to length 4096" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.68440664Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=193.922µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.689862257Z level=info msg="Executing migration" id="create test_data table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.69079025Z level=info msg="Migration successfully executed" id="create test_data table" duration=927.193µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.696572861Z level=info msg="Executing migration" id="create dashboard_version table v1" 11:16:40 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.697361241Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=792.9µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.70089946Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.701830794Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=930.864µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.705553555Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.706520088Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=966.203µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.710534825Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 11:16:40 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.710796269Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=260.564µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.714857455Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.71526554Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=411.005µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.717788856Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.717871397Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=83.061µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.72022173Z level=info msg="Executing migration" id="create team table" 11:16:40 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.721224144Z level=info msg="Migration successfully executed" id="create team table" duration=1.031575ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.727165567Z level=info msg="Executing migration" id="add index team.org_id" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.728184081Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.018554ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.734115123Z level=info msg="Executing migration" id="add unique index team_org_id_name" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.735019986Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=901.963µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.737650462Z level=info msg="Executing migration" id="Add column uid in team" 11:16:40 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.744486968Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.835216ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.751043729Z level=info msg="Executing migration" id="Update uid column values in team" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.751283753Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=239.604µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.754530238Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.755489442Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=958.984µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.758048048Z level=info msg="Executing migration" id="create team member table" 11:16:40 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.758771368Z level=info msg="Migration successfully executed" id="create team member table" duration=722.499µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.762766553Z level=info msg="Executing migration" id="add index team_member.org_id" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.763704257Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=937.304µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.766537716Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.768373321Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.835515ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.778024576Z level=info msg="Executing migration" id="add index team_member.team_id" 11:16:40 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.779273033Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.248017ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.783597544Z level=info msg="Executing migration" id="Add column email to team table" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.788746806Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.149432ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.792008201Z level=info msg="Executing migration" id="Add column external to team_member table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.796343701Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.33622ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.799036409Z level=info msg="Executing migration" id="Add column permission to team_member table" 11:16:40 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.805127084Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.086825ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.811053927Z level=info msg="Executing migration" id="create dashboard acl table" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.812149172Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.094915ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.817987163Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.818936676Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=949.363µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.821706155Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 11:16:40 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.82274711Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.041055ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.82847652Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.829516904Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.040374ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.832930591Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.834010467Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.079496ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.836630254Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 11:16:40 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.837495395Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=865.021µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.846063755Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.847351163Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.283148ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.851362208Z level=info msg="Executing migration" id="add index dashboard_permission" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.852329401Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=967.043µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.855170251Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 11:16:40 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.855605678Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=435.377µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.859196668Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.859484022Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=289.224µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.862346082Z level=info msg="Executing migration" id="create tag table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.863259814Z level=info msg="Migration successfully executed" id="create tag table" duration=913.732µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.903254843Z level=info msg="Executing migration" id="add index tag.key_value" 11:16:40 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.905348111Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=2.094399ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.914230785Z level=info msg="Executing migration" id="create login attempt table" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.915055527Z level=info msg="Migration successfully executed" id="create login attempt table" duration=820.142µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.91812963Z level=info msg="Executing migration" id="add index login_attempt.username" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.919318486Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.188486ms 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.923477674Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.92466209Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.184636ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.928745328Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.94761341Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.870632ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.952319646Z level=info msg="Executing migration" id="create login_attempt v2" 11:16:40 policy-db-migrator | > upgrade 0450-pdpgroup.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.952876204Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=556.778µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.958939528Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.959829421Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=889.613µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.96256513Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.962857403Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=292.234µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.965915526Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 11:16:40 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.966540355Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=624.659µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.971589515Z level=info msg="Executing migration" id="create user auth table" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.972260984Z level=info msg="Migration successfully executed" id="create user auth table" duration=671.589µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.975595081Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.976542974Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=947.543µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.979332783Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.979401854Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=67.011µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.982819502Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 11:16:40 policy-db-migrator | > upgrade 0470-pdp.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.989059779Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.239826ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:14.997180481Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.0021014Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.920619ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.006375259Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.012305812Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.930143ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.018028563Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 11:16:40 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.023418447Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.389324ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.038387926Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.040526707Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=2.18865ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.046090274Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.051355637Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.264843ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.056490908Z level=info msg="Executing migration" id="create server_lock table" 11:16:40 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.057141237Z level=info msg="Migration successfully executed" id="create server_lock table" duration=649.919µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.13765647Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.139992663Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=2.405344ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.222393261Z level=info msg="Executing migration" id="create user auth token table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.223259204Z level=info msg="Migration successfully executed" id="create user auth token table" duration=854.863µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.484708767Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 11:16:40 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.487213952Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=2.567866ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.528456267Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.530900411Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=2.444054ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.577218157Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.5795708Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=2.351843ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.660219885Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 11:16:40 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.667684258Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.464983ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.830639961Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.833453121Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=2.817839ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.896207185Z level=info msg="Executing migration" id="create cache_data table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.897698576Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.491041ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.947863175Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 11:16:40 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:15.949993105Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=2.13049ms 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.018640552Z level=info msg="Executing migration" id="create short_url table v1" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.020071592Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.43929ms 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.031379579Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 11:16:40 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.03282203Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.441661ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.0680218Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.068117441Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=96.431µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.16849007Z level=info msg="Executing migration" id="delete alert_definition table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.168664883Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=178.613µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.408398775Z level=info msg="Executing migration" id="recreate alert_definition table" 11:16:40 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.409614791Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.233746ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.476785778Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.478441691Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.657263ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.544962568Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.546376188Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.414889ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.848340767Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 11:16:40 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.848663281Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=331.575µs 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.927313297Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.928645666Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.335809ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.994302641Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:16.996627084Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=2.327723ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.158748731Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 11:16:40 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.161331387Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=2.583526ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.211606849Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.233342311Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=21.731603ms 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.276134588Z level=info msg="Executing migration" id="Add column paused in alert_definition" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.286172058Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=10.06781ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.420152026Z level=info msg="Executing migration" id="drop alert_definition table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.421748539Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.598643ms 11:16:40 policy-db-migrator | > upgrade 0570-toscadatatype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.442392376Z level=info msg="Executing migration" id="delete alert_definition_version table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.442588019Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=195.943µs 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.488361106Z level=info msg="Executing migration" id="recreate alert_definition_version table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.489382451Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.023195ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.500197032Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.501915045Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.717513ms 11:16:40 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.563914529Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.56537311Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.465031ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.638864833Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.639060976Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=199.563µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.646117095Z level=info msg="Executing migration" id="drop alert_definition_version table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.647656456Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.540261ms 11:16:40 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.675504694Z level=info msg="Executing migration" id="create alert_instance table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.677092557Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.586963ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.768055994Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.770034702Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.978458ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.776269089Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.778042524Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.773175ms 11:16:40 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.808294576Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.818129912Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.837476ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.889468286Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.891209169Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.742524ms 11:16:40 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.902924632Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.904513055Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.588273ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.909077919Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.947067718Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.983969ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:17.968279165Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.009686161Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.414477ms 11:16:40 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.034070822Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.034994074Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=923.793µs 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.046560576Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.047323796Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=763.24µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.051779838Z level=info msg="Executing migration" id="add current_reason column related to current_state" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.060053833Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.272725ms 11:16:40 policy-db-migrator | > upgrade 0630-toscanodetype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.066308181Z level=info msg="Executing migration" id="create alert_rule table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.067023181Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=712.2µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.075459828Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.076757096Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.295798ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.120925082Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.121745923Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=820.471µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.12728836Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.128246374Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=956.754µs 11:16:40 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.132740426Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.132872808Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=133.302µs 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.157502841Z level=info msg="Executing migration" id="add column for to alert_rule" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.162945347Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.441726ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.21188429Z level=info msg="Executing migration" id="add column annotations to alert_rule" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.218559242Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.675652ms 11:16:40 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.2227029Z level=info msg="Executing migration" id="add column labels to alert_rule" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.226892898Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=4.189399ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.230692971Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.231738826Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.049725ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.284013154Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.285336533Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.324419ms 11:16:40 policy-db-migrator | > upgrade 0660-toscaparameter.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.392207652Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.400856552Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.65304ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.595431263Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.606247873Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=10.81848ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.643534224Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.64467835Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.145606ms 11:16:40 policy-db-migrator | > upgrade 0670-toscapolicies.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.827665329Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:18.837608548Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.944629ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:19.131805907Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:19.140306245Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.507508ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:19.400596402Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:19.400732133Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=139.751µs 11:16:40 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:19.582343544Z level=info msg="Executing migration" id="create alert_rule_version table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:19.584128668Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.787685ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:19.932791136Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:19.933760789Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=971.373µs 11:16:40 policy-db-migrator | > upgrade 0690-toscapolicy.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.132687729Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.134720638Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=2.036459ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.38756485Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.387659461Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=95.631µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.544969412Z level=info msg="Executing migration" id="add column for to alert_rule_version" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.555269996Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=10.301094ms 11:16:40 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.660726145Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.668219859Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.496124ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.748540548Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.753914383Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=5.374175ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.835820694Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:20.84051275Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.693896ms 11:16:40 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.028839583Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.038094473Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=9.25693ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.13125208Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.131394092Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=146.732µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.42066118Z level=info msg="Executing migration" id=create_alert_configuration_table 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.42139996Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=741.03µs 11:16:40 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.545884204Z level=info msg="Executing migration" id="Add column default in alert_configuration" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.555898163Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.015739ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.973965496Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:21.974063547Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=101.521µs 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:22.288342833Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:22.298282511Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.939308ms 11:16:40 policy-db-migrator | > upgrade 0730-toscaproperty.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:22.642731335Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:22.644239687Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.509331ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:23.126771647Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:23.137906062Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=11.138095ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:23.762353035Z level=info msg="Executing migration" id=create_ngalert_configuration_table 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:23.763908258Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.557403ms 11:16:40 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:23.941373768Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:23.943451088Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.077589ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:24.533832495Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:24.538673623Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=4.843768ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:25.639500835Z level=info msg="Executing migration" id="create provenance_type table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:25.641025486Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.526821ms 11:16:40 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:25.87987758Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:25.881144007Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.268367ms 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:26.680241418Z level=info msg="Executing migration" id="create alert_image table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:26.68188206Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.643932ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.016887122Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.018818688Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.887076ms 11:16:40 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.201615892Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.201972957Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=349.975µs 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.470939759Z level=info msg="Executing migration" id=create_alert_configuration_history_table 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.472654772Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.716823ms 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.568482394Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0770-toscarequirement.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0780-toscarequirements.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.570485431Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.999677ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.784213008Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.785436374Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.993497068Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:27.994383881Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=889.003µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:28.26683976Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:28.269114872Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.279012ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:28.595292239Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:28.60248258Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.191911ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:28.858607203Z level=info msg="Executing migration" id="create library_element table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:28.860402528Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.798635ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:29.35384998Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:29.355209439Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.361659ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:29.804722362Z level=info msg="Executing migration" id="create library_element_connection table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:29.806322475Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.602233ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:30.176155848Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:30.177269743Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.115205ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:30.913847586Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:30.914907471Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.061895ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:31.137349635Z level=info msg="Executing migration" id="increase max description length to 2048" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:31.137426156Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=82.321µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:31.56360607Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:31.563944265Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=340.725µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:31.824001881Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:31.824384656Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=385.386µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:32.197771126Z level=info msg="Executing migration" id="create data_keys table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:32.199352778Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.584012ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:32.565507568Z level=info msg="Executing migration" id="create secrets table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:32.566829527Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.324059ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:32.950249917Z level=info msg="Executing migration" id="rename data_keys name column to id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:32.997796598Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.545711ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:33.405018368Z level=info msg="Executing migration" id="add name column into data_keys" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:33.415058658Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.0428ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:34.04761839Z level=info msg="Executing migration" id="copy data_keys id column values into name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:34.048015285Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=402.305µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:34.24411889Z level=info msg="Executing migration" id="rename data_keys name column to label" 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0820-toscatrigger.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:34.291524179Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.408179ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:34.475717517Z level=info msg="Executing migration" id="rename data_keys id column back to name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:34.527098902Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=51.383365ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:34.751420139Z level=info msg="Executing migration" id="create kv_store table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:34.75298671Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.568701ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.078169339Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.079950704Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.784645ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.284309804Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.284818211Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=512.557µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.361315534Z level=info msg="Executing migration" id="create permission table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.362875986Z level=info msg="Migration successfully executed" id="create permission table" duration=1.556303ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.672036291Z level=info msg="Executing migration" id="add unique index permission.role_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.673894067Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.859996ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.826102712Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 11:16:40 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0100-pdp.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 11:16:40 policy-db-migrator | JOIN pdpstatistics b 11:16:40 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 11:16:40 policy-db-migrator | SET a.id = b.id 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0210-sequence.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:35.827908587Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.807916ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:36.064951191Z level=info msg="Executing migration" id="create role table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:36.06637489Z level=info msg="Migration successfully executed" id="create role table" duration=1.425809ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:36.279290328Z level=info msg="Executing migration" id="add column display_name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:36.291358865Z level=info msg="Migration successfully executed" id="add column display_name" duration=12.068127ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:36.592311897Z level=info msg="Executing migration" id="add column group_name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:36.60192357Z level=info msg="Migration successfully executed" id="add column group_name" duration=9.615893ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:36.80992854Z level=info msg="Executing migration" id="add index role.org_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:36.811674034Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.754344ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:37.205667987Z level=info msg="Executing migration" id="add unique index role_org_id_name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:37.207717546Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=2.050909ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:37.416001199Z level=info msg="Executing migration" id="add index role_org_id_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:37.418044437Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=2.046799ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:37.686356264Z level=info msg="Executing migration" id="create team role table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:37.687262747Z level=info msg="Migration successfully executed" id="create team role table" duration=910.923µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:37.987672959Z level=info msg="Executing migration" id="add index team_role.org_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:37.988711543Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.041164ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:38.111170354Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:38.113320004Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.14839ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:38.531111605Z level=info msg="Executing migration" id="add index team_role.team_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:38.533086213Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.977918ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:38.768681314Z level=info msg="Executing migration" id="create user role table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:38.770066903Z level=info msg="Migration successfully executed" id="create user role table" duration=1.387869ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:38.831256154Z level=info msg="Executing migration" id="add index user_role.org_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:38.833249212Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.994748ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:39.021206221Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:39.023091798Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.887217ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:39.159713645Z level=info msg="Executing migration" id="add index user_role.user_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:39.161568701Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.851366ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:39.456845501Z level=info msg="Executing migration" id="create builtin role table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:39.45821284Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.36923ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:39.861447679Z level=info msg="Executing migration" id="add index builtin_role.role_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:39.863371306Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.925447ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.237408958Z level=info msg="Executing migration" id="add index builtin_role.name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.239260304Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.853026ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.367780489Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.378176082Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.400333ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.444683366Z level=info msg="Executing migration" id="add index builtin_role.org_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.44570238Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.022274ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.530038801Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.532097189Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=2.060258ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.744753842Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.74673912Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.987398ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.883842873Z level=info msg="Executing migration" id="add unique index role.uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:40.885822181Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.982118ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.014005909Z level=info msg="Executing migration" id="create seed assignment table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.01542566Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.42264ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.095210907Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.096184101Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=974.734µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.251952812Z level=info msg="Executing migration" id="add column hidden to role table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.263392001Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.444969ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.623780754Z level=info msg="Executing migration" id="permission kind migration" 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0220-sequence.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0120-toscatrigger.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.635295474Z level=info msg="Migration successfully executed" id="permission kind migration" duration=11.51994ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.809653333Z level=info msg="Executing migration" id="permission attribute migration" 11:16:40 policy-db-migrator | > upgrade 0140-toscaparameter.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0150-toscaproperty.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0100-upgrade.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | select 'upgrade to 1100 completed' as msg 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | msg 11:16:40 policy-db-migrator | upgrade to 1100 completed 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0120-audit_sequence.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | TRUNCATE TABLE sequence 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP TABLE pdpstatistics 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:41.820028148Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=10.377685ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:42.173366031Z level=info msg="Executing migration" id="permission identifier migration" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:42.185986657Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=12.623476ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:42.592821314Z level=info msg="Executing migration" id="add permission identifier index" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:42.595234807Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=2.415674ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:42.835593763Z level=info msg="Executing migration" id="create query_history table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:42.837374617Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.782104ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.024323503Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.026585084Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.262861ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.083174489Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.08328338Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=106.811µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.396257963Z level=info msg="Executing migration" id="rbac disabled migrator" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.396302964Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=52.361µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.547025235Z level=info msg="Executing migration" id="teams permissions migration" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.547977368Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=955.033µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.779095075Z level=info msg="Executing migration" id="dashboard permissions" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:43.780333683Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.243738ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.092821399Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.094118097Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.299379ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.209129482Z level=info msg="Executing migration" id="drop managed folder create actions" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.209802101Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=675.819µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.583293863Z level=info msg="Executing migration" id="alerting notification permissions" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.583991223Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=700.79µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.740855549Z level=info msg="Executing migration" id="create query_history_star table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.768692476Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=27.839257ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.992079604Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:44.994514998Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.440374ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.181651143Z level=info msg="Executing migration" id="add column org_id in query_history_star" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.195232682Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=13.582439ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.273368348Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.27351872Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=152.462µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.474712881Z level=info msg="Executing migration" id="create correlation table v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.476778709Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=2.068187ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.72353197Z level=info msg="Executing migration" id="add index correlations.uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.725725761Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.196681ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.882674058Z level=info msg="Executing migration" id="add index correlations.source_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:45.884868299Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.198301ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.401880121Z level=info msg="Executing migration" id="add correlation config column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.4119943Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.117419ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.458510795Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.459692221Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.178886ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.495414537Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.497352894Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.938257ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.577314703Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.608929392Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.616019ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.644558655Z level=info msg="Executing migration" id="create correlation v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.646626904Z level=info msg="Migration successfully executed" id="create correlation v2" duration=2.069719ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.759001283Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.761408726Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.407323ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.848901569Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.851446425Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.545926ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.890292794Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 11:16:40 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | DROP TABLE statistics_sequence 11:16:40 policy-db-migrator | -------------- 11:16:40 policy-db-migrator | 11:16:40 policy-db-migrator | policyadmin: OK: upgrade (1300) 11:16:40 policy-db-migrator | name version 11:16:40 policy-db-migrator | policyadmin 1300 11:16:40 policy-db-migrator | ID script operation from_version to_version tag success atTime 11:16:40 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:14 11:16:40 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:14 11:16:40 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:14 11:16:40 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:14 11:16:40 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:14 11:16:40 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:14 11:16:40 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:14 11:16:40 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:14 11:16:40 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:14 11:16:40 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:15 11:16:40 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:15 11:16:40 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:15 11:16:40 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:15 11:16:40 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:15 11:16:40 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:15 11:16:40 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:16 11:16:40 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:16 11:16:40 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:16 11:16:40 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:17 11:16:40 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:17 11:16:40 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:17 11:16:40 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:17 11:16:40 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:17 11:16:40 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:17 11:16:40 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:17 11:16:40 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:18 11:16:40 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:18 11:16:40 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:18 11:16:40 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:18 11:16:40 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:18 11:16:40 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:19 11:16:40 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:19 11:16:40 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:20 11:16:40 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:20 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:46.89217241Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.875736ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.082481069Z level=info msg="Executing migration" id="copy correlation v1 to v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.083050237Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=563.278µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.20805224Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.209813985Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.753185ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.24406926Z level=info msg="Executing migration" id="add provisioning column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.254063769Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.994018ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.28736084Z level=info msg="Executing migration" id="create entity_events table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.288768709Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.407079ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.403788204Z level=info msg="Executing migration" id="create dashboard public config v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.405505089Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.716595ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.417451174Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.418365177Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.483144155Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.483950356Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.48851052Z level=info msg="Executing migration" id="Drop old dashboard public config table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.489456363Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=941.713µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.493067843Z level=info msg="Executing migration" id="recreate dashboard public config v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.49429078Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.226258ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.499731826Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.500940342Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.208646ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.546812258Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.548988548Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=2.1781ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.555096963Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.557164371Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=2.067939ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.594238076Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.596215533Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.977998ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.60177121Z level=info msg="Executing migration" id="Drop public config table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.602684552Z level=info msg="Migration successfully executed" id="Drop public config table" duration=912.812µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.685239848Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.68688142Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.637072ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.728974384Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.731184555Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.210601ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.788889685Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:47.790969104Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.084789ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.154751158Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.157436665Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=2.690238ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.213026506Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.274167964Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=61.153548ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.410641266Z level=info msg="Executing migration" id="add annotations_enabled column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.423353232Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=12.716106ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.486145813Z level=info msg="Executing migration" id="add time_selection_enabled column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.496406615Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.269172ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.652471179Z level=info msg="Executing migration" id="delete orphaned public dashboards" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.652978956Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=510.577µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.797839394Z level=info msg="Executing migration" id="add share column" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.810043393Z level=info msg="Migration successfully executed" id="add share column" duration=12.205759ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.829962989Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.830546788Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=582.319µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.867359198Z level=info msg="Executing migration" id="create file table" 11:16:40 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:21 11:16:40 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:21 11:16:40 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:22 11:16:40 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:23 11:16:40 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:24 11:16:40 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:25 11:16:40 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:26 11:16:40 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:27 11:16:40 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:27 11:16:40 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:28 11:16:40 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:29 11:16:40 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:30 11:16:40 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:31 11:16:40 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:31 11:16:40 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:32 11:16:40 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:33 11:16:40 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:34 11:16:40 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:34 11:16:40 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:35 11:16:40 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:35 11:16:40 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:36 11:16:40 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:36 11:16:40 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:37 11:16:40 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:38 11:16:40 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:38 11:16:40 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:39 11:16:40 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:39 11:16:40 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:40 11:16:40 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:40 11:16:40 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:41 11:16:40 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:41 11:16:40 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:42 11:16:40 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:42 11:16:40 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:43 11:16:40 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:43 11:16:40 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:44 11:16:40 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:44 11:16:40 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:45 11:16:40 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:45 11:16:40 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:46 11:16:40 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:46 11:16:40 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:47 11:16:40 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:47 11:16:40 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:47 11:16:40 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:48 11:16:40 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:48 11:16:40 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:48 11:16:40 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:49 11:16:40 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:50 11:16:40 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:51 11:16:40 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:51 11:16:40 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:53 11:16:40 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:53 11:16:40 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:53 11:16:40 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:54 11:16:40 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:54 11:16:40 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:55 11:16:40 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:56 11:16:40 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:56 11:16:40 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:57 11:16:40 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:58 11:16:40 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2911231114140800u 1 2023-11-29 11:14:59 11:16:40 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:14:59 11:16:40 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:00 11:16:40 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:01 11:16:40 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:01 11:16:40 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:02 11:16:40 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2911231114140900u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2911231114141000u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2911231114141000u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2911231114141000u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2911231114141000u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2911231114141000u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2911231114141000u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2911231114141000u 1 2023-11-29 11:15:03 11:16:40 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2911231114141000u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2911231114141000u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2911231114141100u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2911231114141200u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2911231114141200u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2911231114141200u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2911231114141200u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2911231114141300u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2911231114141300u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2911231114141300u 1 2023-11-29 11:15:04 11:16:40 policy-db-migrator | policyadmin: OK @ 1300 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.869012091Z level=info msg="Migration successfully executed" id="create file table" duration=1.648253ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.878337161Z level=info msg="Executing migration" id="file table idx: path natural pk" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.880457949Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.122018ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.986199726Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:48.988103483Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.903947ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:49.097874704Z level=info msg="Executing migration" id="create file_meta table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:49.098613364Z level=info msg="Migration successfully executed" id="create file_meta table" duration=740.72µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:49.625497418Z level=info msg="Executing migration" id="file table idx: path key" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:49.627399165Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.906157ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.360670579Z level=info msg="Executing migration" id="set path collation in file table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.360819021Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=152.232µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.642021038Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.642214331Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=195.793µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.836377833Z level=info msg="Executing migration" id="managed permissions migration" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.83691641Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=540.447µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.933532959Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.934202489Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=676.44µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.978846157Z level=info msg="Executing migration" id="RBAC action name migrator" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:50.980921496Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.074359ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.190517791Z level=info msg="Executing migration" id="Add UID column to playlist" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.2041913Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=13.68413ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.258395841Z level=info msg="Executing migration" id="Update uid column values in playlist" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.258668125Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=276.044µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.306623679Z level=info msg="Executing migration" id="Add index for uid in playlist" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.308656708Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.035669ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.59753684Z level=info msg="Executing migration" id="update group index for alert rules" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.59816703Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=634.29µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.847221912Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:51.84771224Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=500.068µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:52.141615321Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:52.142601525Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=989.223µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:52.468932709Z level=info msg="Executing migration" id="add action column to seed_assignment" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:52.536818008Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=67.888189ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:52.714563601Z level=info msg="Executing migration" id="add scope column to seed_assignment" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:52.726010209Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=11.454739ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:52.979276348Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.007123654Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=27.846306ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.049826945Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.160980514Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=111.151209ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.496514055Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.49976445Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=3.253114ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.50700717Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.508510921Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.500211ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.515529458Z level=info msg="Executing migration" id="add primary key to seed_assigment" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.553693566Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=38.164968ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.566165998Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.566660065Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=494.007µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.572399574Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.572910821Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=509.607µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.58002158Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.580304924Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=283.364µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.66666138Z level=info msg="Executing migration" id="create folder table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.668514586Z level=info msg="Migration successfully executed" id="create folder table" duration=1.855956ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.716855906Z level=info msg="Executing migration" id="Add index for parent_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.719859618Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=3.005212ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.766089497Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.768488911Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.401914ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.919720776Z level=info msg="Executing migration" id="Update folder title length" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.919758526Z level=info msg="Migration successfully executed" id="Update folder title length" duration=40.88µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.994128267Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:53.996531831Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.405704ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.004112065Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.005512015Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.40048ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.109320042Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.1112505Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.933348ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.119439993Z level=info msg="Executing migration" id="create anon_device table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.121153276Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.713993ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.191230568Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.193472139Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.245751ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.229408916Z level=info msg="Executing migration" id="add index anon_device.updated_at" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.231313053Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.907367ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.239207131Z level=info msg="Executing migration" id="create signing_key table" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.240346158Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.139046ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.247160972Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.248610232Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.45144ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.255309965Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.256944568Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.634303ms 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.293499974Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.294012531Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=515.687µs 11:16:40 grafana | logger=migrator t=2023-11-29T11:14:54.359088062Z level=info msg="migrations completed" performed=517 skipped=0 duration=57.825135704s 11:16:40 grafana | logger=sqlstore t=2023-11-29T11:14:54.371498045Z level=info msg="Created default admin" user=admin 11:16:40 grafana | logger=sqlstore t=2023-11-29T11:14:54.371972461Z level=info msg="Created default organization" 11:16:40 grafana | logger=secrets t=2023-11-29T11:14:54.394556644Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 11:16:40 grafana | logger=local.finder t=2023-11-29T11:14:54.518032444Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 11:16:40 grafana | logger=query_data t=2023-11-29T11:14:54.521180237Z level=info msg="Query Service initialization" 11:16:40 grafana | logger=live.push_http t=2023-11-29T11:14:54.526121426Z level=info msg="Live Push Gateway initialization" 11:16:40 grafana | logger=infra.usagestats.collector t=2023-11-29T11:14:56.832266494Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 11:16:40 grafana | logger=provisioning.datasources t=2023-11-29T11:14:56.834220281Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz 11:16:40 grafana | logger=provisioning.alerting t=2023-11-29T11:14:56.96917122Z level=info msg="starting to provision alerting" 11:16:40 grafana | logger=provisioning.alerting t=2023-11-29T11:14:56.969223431Z level=info msg="finished to provision alerting" 11:16:40 grafana | logger=ngalert.state.manager t=2023-11-29T11:14:56.969579095Z level=info msg="Warming state cache for startup" 11:16:40 grafana | logger=grafanaStorageLogger t=2023-11-29T11:14:56.970064252Z level=info msg="Storage starting" 11:16:40 grafana | logger=ngalert.state.manager t=2023-11-29T11:14:56.970162113Z level=info msg="State cache has been initialized" states=0 duration=581.618µs 11:16:40 grafana | logger=ngalert.scheduler t=2023-11-29T11:14:56.970202304Z level=info msg="Starting scheduler" tickInterval=10s 11:16:40 grafana | logger=ticker t=2023-11-29T11:14:56.970810212Z level=info msg=starting first_tick=2023-11-29T11:15:00Z 11:16:40 grafana | logger=ngalert.multiorg.alertmanager t=2023-11-29T11:14:56.970836972Z level=info msg="Starting MultiOrg Alertmanager" 11:16:40 grafana | logger=http.server t=2023-11-29T11:14:56.973696162Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 11:16:40 grafana | logger=sqlstore.transactions t=2023-11-29T11:14:56.981686582Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:16:40 grafana | logger=grafana.update.checker t=2023-11-29T11:14:57.029017738Z level=info msg="Update check succeeded" duration=58.065204ms 11:16:40 grafana | logger=plugins.update.checker t=2023-11-29T11:14:57.052635116Z level=info msg="Update check succeeded" duration=82.183319ms 11:16:40 grafana | logger=ngalert.migration t=2023-11-29T11:14:57.110014249Z level=info msg=Starting 11:16:40 grafana | logger=ngalert.migration t=2023-11-29T11:14:57.110925772Z level=info msg="Starting legacy migration" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:57.111367279Z level=info msg="Migrating alerts for organisation" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:57.112067448Z level=info msg="Alerts found to migrate" alerts=0 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:57.112834068Z level=warn msg="No available receivers" 11:16:40 grafana | logger=sqlstore.transactions t=2023-11-29T11:14:57.179622003Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" 11:16:40 grafana | logger=ngalert.migration t=2023-11-29T11:14:58.111309443Z level=info msg="Starting legacy migration" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:58.111755339Z level=info msg="Migrating alerts for organisation" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:58.112306796Z level=info msg="Alerts found to migrate" alerts=0 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:58.112925364Z level=warn msg="No available receivers" 11:16:40 grafana | logger=sqlstore.transactions t=2023-11-29T11:14:58.199118538Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=1 code="database is locked" 11:16:40 grafana | logger=ngalert.migration t=2023-11-29T11:14:58.635277486Z level=info msg="Starting legacy migration" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:58.635815623Z level=info msg="Migrating alerts for organisation" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:58.636408541Z level=info msg="Alerts found to migrate" alerts=0 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:58.63707798Z level=warn msg="No available receivers" 11:16:40 grafana | logger=sqlstore.transactions t=2023-11-29T11:14:58.658596828Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=2 code="database is locked" 11:16:40 grafana | logger=ngalert.migration t=2023-11-29T11:14:59.29015433Z level=info msg="Starting legacy migration" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:59.290779139Z level=info msg="Migrating alerts for organisation" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:59.291360057Z level=info msg="Alerts found to migrate" alerts=0 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:14:59.291969685Z level=warn msg="No available receivers" 11:16:40 grafana | logger=sqlstore.transactions t=2023-11-29T11:14:59.328224617Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=3 code="database is locked" 11:16:40 grafana | logger=ngalert.migration t=2023-11-29T11:15:01.084592204Z level=info msg="Starting legacy migration" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:15:01.085205252Z level=info msg="Migrating alerts for organisation" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:15:01.086216026Z level=info msg="Alerts found to migrate" alerts=0 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:15:01.086997457Z level=warn msg="No available receivers" 11:16:40 grafana | logger=sqlstore.transactions t=2023-11-29T11:15:01.239927752Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=4 code="database is locked" 11:16:40 grafana | logger=ngalert.migration t=2023-11-29T11:15:01.770433153Z level=info msg="Starting legacy migration" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:15:01.771030971Z level=info msg="Migrating alerts for organisation" 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:15:01.771631829Z level=info msg="Alerts found to migrate" alerts=0 11:16:40 grafana | logger=ngalert.migration orgID=1 t=2023-11-29T11:15:01.772289868Z level=warn msg="No available receivers" 11:16:40 grafana | logger=server t=2023-11-29T11:15:02.011394557Z level=error msg="Stopped background service" service=*migration.MigrationService reason="migration failed: executing migration: database is locked" 11:16:40 grafana | logger=tracing t=2023-11-29T11:15:02.011507588Z level=info msg="Closing tracing" 11:16:40 grafana | logger=ticker t=2023-11-29T11:15:02.011725091Z level=info msg=stopped last_tick=2023-11-29T11:15:00Z 11:16:40 grafana | logger=sqlstore.transactions t=2023-11-29T11:15:02.023512605Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:16:40 grafana | Error: ✗ *migration.MigrationService run error: migration failed: executing migration: database is locked 11:16:40 ++ echo 'Tearing down containers...' 11:16:40 Tearing down containers... 11:16:40 ++ docker-compose down -v --remove-orphans 11:16:41 Stopping policy-api ... 11:16:41 Stopping prometheus ... 11:16:41 Stopping mariadb ... 11:16:43 Stopping prometheus ... done 11:16:43 Stopping mariadb ... done 11:16:54 Stopping policy-api ... done 11:16:54 Removing grafana ... 11:16:54 Removing policy-api ... 11:16:54 Removing policy-db-migrator ... 11:16:54 Removing prometheus ... 11:16:54 Removing mariadb ... 11:16:54 Removing grafana ... done 11:16:54 Removing policy-api ... done 11:16:54 Removing policy-db-migrator ... done 11:16:55 Removing prometheus ... done 11:16:55 Removing mariadb ... done 11:16:55 Removing network compose_default 11:16:55 ++ cd /w/workspace/policy-api-master-project-csit-api 11:16:55 + load_set 11:16:55 + _setopts=hxB 11:16:55 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:16:55 ++ tr : ' ' 11:16:55 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:16:55 + set +o braceexpand 11:16:55 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:16:55 + set +o hashall 11:16:55 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:16:55 + set +o interactive-comments 11:16:55 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:16:55 + set +o xtrace 11:16:55 ++ echo hxB 11:16:55 ++ sed 's/./& /g' 11:16:55 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:16:55 + set +h 11:16:55 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:16:55 + set +x 11:16:55 + [[ -n /tmp/tmp.YnwEtb45KL ]] 11:16:55 + rsync -av /tmp/tmp.YnwEtb45KL/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:16:56 sending incremental file list 11:16:56 ./ 11:16:56 log.html 11:16:56 output.xml 11:16:56 report.html 11:16:56 testplan.txt 11:16:56 11:16:56 sent 1,344,737 bytes received 95 bytes 2,689,664.00 bytes/sec 11:16:56 total size is 1,344,087 speedup is 1.00 11:16:56 + rm -rf /w/workspace/policy-api-master-project-csit-api/models 11:16:56 + exit 0 11:16:56 $ ssh-agent -k 11:16:56 unset SSH_AUTH_SOCK; 11:16:56 unset SSH_AGENT_PID; 11:16:56 echo Agent pid 2076 killed; 11:16:56 [ssh-agent] Stopped. 11:16:56 Robot results publisher started... 11:16:56 -Parsing output xml: 11:16:57 Done! 11:16:57 WARNING! Could not find file: **/log.html 11:16:57 WARNING! Could not find file: **/report.html 11:16:57 -Copying log files to build dir: 11:16:57 Done! 11:16:57 -Assigning results to build: 11:16:57 Done! 11:16:57 -Checking thresholds: 11:16:57 Done! 11:16:57 Done publishing Robot results. 11:16:57 [PostBuildScript] - [INFO] Executing post build scripts. 11:16:57 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins13318706066910146053.sh 11:16:57 ---> sysstat.sh 11:16:58 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2820963998972188563.sh 11:16:58 ---> package-listing.sh 11:16:58 ++ tr '[:upper:]' '[:lower:]' 11:16:58 ++ facter osfamily 11:16:58 + OS_FAMILY=debian 11:16:58 + workspace=/w/workspace/policy-api-master-project-csit-api 11:16:58 + START_PACKAGES=/tmp/packages_start.txt 11:16:58 + END_PACKAGES=/tmp/packages_end.txt 11:16:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:16:58 + PACKAGES=/tmp/packages_start.txt 11:16:58 + '[' /w/workspace/policy-api-master-project-csit-api ']' 11:16:58 + PACKAGES=/tmp/packages_end.txt 11:16:58 + case "${OS_FAMILY}" in 11:16:58 + dpkg -l 11:16:58 + grep '^ii' 11:16:58 + '[' -f /tmp/packages_start.txt ']' 11:16:58 + '[' -f /tmp/packages_end.txt ']' 11:16:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:16:58 + '[' /w/workspace/policy-api-master-project-csit-api ']' 11:16:58 + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ 11:16:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ 11:16:58 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins11879013759154580462.sh 11:16:58 ---> capture-instance-metadata.sh 11:16:58 Setup pyenv: 11:16:58 system 11:16:58 3.8.13 11:16:58 3.9.13 11:16:58 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:16:58 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w5Rh from file:/tmp/.os_lf_venv 11:17:00 lf-activate-venv(): INFO: Installing: lftools 11:17:12 lf-activate-venv(): INFO: Adding /tmp/venv-w5Rh/bin to PATH 11:17:12 INFO: Running in OpenStack, capturing instance metadata 11:17:12 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins1040837554291913954.sh 11:17:12 provisioning config files... 11:17:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config3385596778798359461tmp 11:17:12 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:17:12 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:17:12 [EnvInject] - Injecting environment variables from a build step. 11:17:12 [EnvInject] - Injecting as environment variables the properties content 11:17:12 SERVER_ID=logs 11:17:12 11:17:12 [EnvInject] - Variables injected successfully. 11:17:12 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2772472646483641882.sh 11:17:12 ---> create-netrc.sh 11:17:12 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14753442986067492815.sh 11:17:12 ---> python-tools-install.sh 11:17:12 Setup pyenv: 11:17:12 system 11:17:12 3.8.13 11:17:12 3.9.13 11:17:12 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:17:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w5Rh from file:/tmp/.os_lf_venv 11:17:14 lf-activate-venv(): INFO: Installing: lftools 11:17:24 lf-activate-venv(): INFO: Adding /tmp/venv-w5Rh/bin to PATH 11:17:24 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6716815318912701461.sh 11:17:25 ---> sudo-logs.sh 11:17:25 Archiving 'sudo' log.. 11:17:25 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins17985763657225660257.sh 11:17:25 ---> job-cost.sh 11:17:25 Setup pyenv: 11:17:25 system 11:17:25 3.8.13 11:17:25 3.9.13 11:17:25 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:17:25 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w5Rh from file:/tmp/.os_lf_venv 11:17:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:17:35 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. 11:17:35 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 11:17:35 lf-activate-venv(): INFO: Adding /tmp/venv-w5Rh/bin to PATH 11:17:35 INFO: No Stack... 11:17:35 INFO: Retrieving Pricing Info for: v3-standard-8 11:17:36 INFO: Archiving Costs 11:17:36 [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins16251766703692858724.sh 11:17:36 ---> logs-deploy.sh 11:17:36 Setup pyenv: 11:17:36 system 11:17:36 3.8.13 11:17:36 3.9.13 11:17:36 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:17:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w5Rh from file:/tmp/.os_lf_venv 11:17:37 lf-activate-venv(): INFO: Installing: lftools 11:17:48 lf-activate-venv(): INFO: Adding /tmp/venv-w5Rh/bin to PATH 11:17:48 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1434 11:17:48 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:17:49 Archives upload complete. 11:17:49 INFO: archiving logs to Nexus 11:17:50 ---> uname -a: 11:17:50 Linux prd-ubuntu1804-docker-8c-8g-422 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 11:17:50 11:17:50 11:17:50 ---> lscpu: 11:17:50 Architecture: x86_64 11:17:50 CPU op-mode(s): 32-bit, 64-bit 11:17:50 Byte Order: Little Endian 11:17:50 CPU(s): 8 11:17:50 On-line CPU(s) list: 0-7 11:17:50 Thread(s) per core: 1 11:17:50 Core(s) per socket: 1 11:17:50 Socket(s): 8 11:17:50 NUMA node(s): 1 11:17:50 Vendor ID: AuthenticAMD 11:17:50 CPU family: 23 11:17:50 Model: 49 11:17:50 Model name: AMD EPYC-Rome Processor 11:17:50 Stepping: 0 11:17:50 CPU MHz: 2799.998 11:17:50 BogoMIPS: 5599.99 11:17:50 Virtualization: AMD-V 11:17:50 Hypervisor vendor: KVM 11:17:50 Virtualization type: full 11:17:50 L1d cache: 32K 11:17:50 L1i cache: 32K 11:17:50 L2 cache: 512K 11:17:50 L3 cache: 16384K 11:17:50 NUMA node0 CPU(s): 0-7 11:17:50 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 11:17:50 11:17:50 11:17:50 ---> nproc: 11:17:50 8 11:17:50 11:17:50 11:17:50 ---> df -h: 11:17:50 Filesystem Size Used Avail Use% Mounted on 11:17:50 udev 16G 0 16G 0% /dev 11:17:50 tmpfs 3.2G 708K 3.2G 1% /run 11:17:50 /dev/vda1 155G 12G 144G 8% / 11:17:50 tmpfs 16G 0 16G 0% /dev/shm 11:17:50 tmpfs 5.0M 0 5.0M 0% /run/lock 11:17:50 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:17:50 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:17:50 tmpfs 3.2G 0 3.2G 0% /run/user/1001 11:17:50 11:17:50 11:17:50 ---> free -m: 11:17:50 total used free shared buff/cache available 11:17:50 Mem: 32167 846 27299 0 4021 30864 11:17:50 Swap: 1023 0 1023 11:17:50 11:17:50 11:17:50 ---> ip addr: 11:17:50 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:17:50 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:17:50 inet 127.0.0.1/8 scope host lo 11:17:50 valid_lft forever preferred_lft forever 11:17:50 inet6 ::1/128 scope host 11:17:50 valid_lft forever preferred_lft forever 11:17:50 2: ens3: mtu 1458 qdisc fq_codel state UP group default qlen 1000 11:17:50 link/ether fa:16:3e:c8:86:56 brd ff:ff:ff:ff:ff:ff 11:17:50 inet 10.30.106.120/23 brd 10.30.107.255 scope global dynamic ens3 11:17:50 valid_lft 85947sec preferred_lft 85947sec 11:17:50 inet6 fe80::f816:3eff:fec8:8656/64 scope link 11:17:50 valid_lft forever preferred_lft forever 11:17:50 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 11:17:50 link/ether 02:42:38:03:b2:88 brd ff:ff:ff:ff:ff:ff 11:17:50 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:17:50 valid_lft forever preferred_lft forever 11:17:50 11:17:50 11:17:50 ---> sar -b -r -n DEV: 11:17:50 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-422) 11/29/23 _x86_64_ (8 CPU) 11:17:50 11:17:50 11:10:19 LINUX RESTART (8 CPU) 11:17:50 11:17:50 11:11:02 tps rtps wtps bread/s bwrtn/s 11:17:50 11:12:01 99.19 24.97 74.21 1423.92 27384.07 11:17:50 11:13:01 114.43 13.81 100.62 1118.08 33424.96 11:17:50 11:14:01 227.10 15.23 211.86 2161.87 79779.37 11:17:50 11:15:01 173.98 5.98 167.99 265.24 22687.67 11:17:50 11:16:01 40.99 0.48 40.51 43.99 19760.09 11:17:50 11:17:01 37.93 0.93 36.99 51.72 20073.44 11:17:50 Average: 115.65 10.20 105.45 842.53 33869.12 11:17:50 11:17:50 11:11:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:17:50 11:12:01 30166528 31722064 2772684 8.42 66764 1800864 1414560 4.16 854372 1637204 137764 11:17:50 11:13:01 29798000 31711328 3141212 9.54 85520 2122000 1411240 4.15 872876 1948524 139008 11:17:50 11:14:01 27837032 31499068 5102180 15.49 117552 3770832 3151244 9.27 1198112 3462712 972 11:17:50 11:15:01 27762436 31441948 5176776 15.72 127600 3774028 3285936 9.67 1278708 3449464 336 11:17:50 11:16:01 27029972 30709748 5909240 17.94 128548 3775996 3691128 10.86 2046272 3417832 88 11:17:50 11:17:01 27993724 31627976 4945488 15.01 128996 3735928 1495980 4.40 1148640 3369088 3660 11:17:50 Average: 28431282 31452022 4507930 13.69 109163 3163275 2408348 7.09 1233163 2880804 46971 11:17:50 11:17:50 11:11:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:17:50 11:12:01 lo 1.22 1.22 0.13 0.13 0.00 0.00 0.00 0.00 11:17:50 11:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:50 11:12:01 ens3 49.46 31.24 794.53 7.78 0.00 0.00 0.00 0.00 11:17:50 11:13:01 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 11:17:50 11:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:50 11:13:01 ens3 60.27 42.24 951.92 9.80 0.00 0.00 0.00 0.00 11:17:50 11:14:01 lo 7.48 7.48 0.69 0.69 0.00 0.00 0.00 0.00 11:17:50 11:14:01 vethc711a3c 0.38 0.58 0.02 0.04 0.00 0.00 0.00 0.00 11:17:50 11:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:50 11:14:01 veth90792b3 0.20 0.37 0.01 0.02 0.00 0.00 0.00 0.00 11:17:50 11:15:01 lo 3.08 3.08 0.22 0.22 0.00 0.00 0.00 0.00 11:17:50 11:15:01 vethc711a3c 27.47 29.59 2.38 3.52 0.00 0.00 0.00 0.00 11:17:50 11:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:50 11:15:01 veth90792b3 30.06 28.17 3.54 2.43 0.00 0.00 0.00 0.00 11:17:50 11:16:01 lo 8.77 8.77 8.44 8.44 0.00 0.00 0.00 0.00 11:17:50 11:16:01 vethc711a3c 108.82 130.43 112.56 35.45 0.00 0.00 0.00 0.01 11:17:50 11:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:50 11:16:01 br-6173fcd869be 3.87 4.32 6.18 2.54 0.00 0.00 0.00 0.00 11:17:50 11:17:01 lo 8.73 8.73 0.68 0.68 0.00 0.00 0.00 0.00 11:17:50 11:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:50 11:17:01 ens3 715.40 489.39 11899.04 107.57 0.00 0.00 0.00 0.00 11:17:50 Average: lo 5.10 5.10 1.72 1.72 0.00 0.00 0.00 0.00 11:17:50 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:50 Average: ens3 75.82 50.57 1861.99 9.19 0.00 0.00 0.00 0.00 11:17:50 11:17:50 11:17:50 ---> sar -P ALL: 11:17:50 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-422) 11/29/23 _x86_64_ (8 CPU) 11:17:50 11:17:50 11:10:19 LINUX RESTART (8 CPU) 11:17:50 11:17:50 11:11:02 CPU %user %nice %system %iowait %steal %idle 11:17:50 11:12:01 all 8.65 0.00 0.66 4.61 0.03 86.05 11:17:50 11:12:01 0 2.04 0.00 0.31 0.25 0.02 97.39 11:17:50 11:12:01 1 1.19 0.00 0.25 11.53 0.02 87.01 11:17:50 11:12:01 2 1.80 0.00 0.20 0.12 0.02 97.87 11:17:50 11:12:01 3 7.81 0.00 0.59 1.09 0.02 90.49 11:17:50 11:12:01 4 10.52 0.00 0.65 7.90 0.03 80.90 11:17:50 11:12:01 5 18.62 0.00 0.88 2.63 0.05 77.81 11:17:50 11:12:01 6 6.26 0.00 0.58 11.80 0.03 81.33 11:17:50 11:12:01 7 21.02 0.00 1.80 1.62 0.10 75.46 11:17:50 11:13:01 all 9.26 0.00 0.72 3.67 0.04 86.31 11:17:50 11:13:01 0 0.57 0.00 0.13 0.72 0.02 98.57 11:17:50 11:13:01 1 0.13 0.00 0.08 0.00 0.02 99.77 11:17:50 11:13:01 2 7.40 0.00 0.47 1.07 0.02 91.04 11:17:50 11:13:01 3 22.20 0.00 1.42 3.09 0.10 73.18 11:17:50 11:13:01 4 5.67 0.00 0.68 5.66 0.05 87.94 11:17:50 11:13:01 5 21.94 0.00 1.22 7.89 0.10 68.84 11:17:50 11:13:01 6 7.68 0.00 0.85 10.82 0.02 80.63 11:17:50 11:13:01 7 8.54 0.00 0.89 0.17 0.03 90.38 11:17:50 11:14:01 all 6.98 0.00 2.77 10.20 0.07 79.98 11:17:50 11:14:01 0 7.71 0.00 2.64 0.97 0.07 88.61 11:17:50 11:14:01 1 8.44 0.00 2.34 1.49 0.07 87.66 11:17:50 11:14:01 2 5.67 0.00 2.73 3.95 0.05 87.61 11:17:50 11:14:01 3 6.71 0.00 2.24 8.60 0.05 82.40 11:17:50 11:14:01 4 4.30 0.00 1.79 26.24 0.07 67.61 11:17:50 11:14:01 5 9.10 0.00 3.70 4.48 0.12 82.60 11:17:50 11:14:01 6 6.76 0.00 3.22 34.66 0.08 55.27 11:17:50 11:14:01 7 7.13 0.00 3.48 1.28 0.10 88.01 11:17:50 11:15:01 all 1.71 0.00 0.65 19.51 0.05 78.09 11:17:50 11:15:01 0 1.65 0.00 1.00 22.37 0.05 74.92 11:17:50 11:15:01 1 1.29 0.00 0.38 2.30 0.02 96.01 11:17:50 11:15:01 2 1.77 0.00 0.68 21.35 0.05 76.14 11:17:50 11:15:01 3 2.37 0.00 0.65 8.64 0.08 88.26 11:17:50 11:15:01 4 1.29 0.00 0.60 52.58 0.05 45.48 11:17:50 11:15:01 5 1.14 0.00 0.64 39.63 0.08 58.52 11:17:50 11:15:01 6 2.19 0.00 0.57 1.81 0.02 95.42 11:17:50 11:15:01 7 1.97 0.00 0.65 7.44 0.02 89.92 11:17:50 11:16:01 all 13.92 0.00 1.55 3.31 0.09 81.13 11:17:50 11:16:01 0 15.79 0.00 1.62 0.08 0.08 82.42 11:17:50 11:16:01 1 9.90 0.00 1.02 1.12 0.05 87.92 11:17:50 11:16:01 2 12.30 0.00 1.22 1.20 0.08 85.20 11:17:50 11:16:01 3 18.50 0.00 1.93 0.02 0.08 79.46 11:17:50 11:16:01 4 10.38 0.00 1.46 3.25 0.08 84.83 11:17:50 11:16:01 5 13.03 0.00 1.14 20.35 0.13 65.35 11:17:50 11:16:01 6 17.40 0.00 2.09 0.24 0.10 80.18 11:17:50 11:16:01 7 14.13 0.00 1.90 0.30 0.08 83.59 11:17:50 11:17:01 all 1.53 0.00 0.37 4.61 0.06 93.42 11:17:50 11:17:01 0 1.35 0.00 0.37 1.70 0.05 96.54 11:17:50 11:17:01 1 0.70 0.00 0.37 2.57 0.07 96.30 11:17:50 11:17:01 2 1.05 0.00 0.35 0.25 0.08 98.26 11:17:50 11:17:01 3 2.99 0.00 0.42 1.54 0.03 95.03 11:17:50 11:17:01 4 1.57 0.00 0.38 1.13 0.10 96.81 11:17:50 11:17:01 5 0.35 0.00 0.38 26.26 0.05 72.95 11:17:50 11:17:01 6 0.62 0.00 0.25 1.65 0.03 97.44 11:17:50 11:17:01 7 3.63 0.00 0.48 1.76 0.07 94.07 11:17:50 Average: all 7.00 0.00 1.12 7.66 0.06 84.17 11:17:50 Average: 0 4.85 0.00 1.01 4.36 0.05 89.73 11:17:50 Average: 1 3.62 0.00 0.74 3.14 0.04 92.46 11:17:50 Average: 2 5.00 0.00 0.94 4.67 0.05 89.33 11:17:50 Average: 3 10.10 0.00 1.21 3.83 0.06 84.80 11:17:50 Average: 4 5.60 0.00 0.93 16.13 0.06 77.28 11:17:50 Average: 5 10.67 0.00 1.32 16.94 0.09 70.98 11:17:50 Average: 6 6.81 0.00 1.26 10.13 0.05 81.76 11:17:50 Average: 7 9.37 0.00 1.53 2.10 0.07 86.94 11:17:50 11:17:50 11:17:50