11:19:00 Started by timer 11:19:00 Running as SYSTEM 11:19:00 [EnvInject] - Loading node environment variables. 11:19:00 Building remotely on prd-ubuntu1804-docker-8c-8g-76099 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api 11:19:00 [ssh-agent] Looking for ssh-agent implementation... 11:19:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:19:00 $ ssh-agent 11:19:00 SSH_AUTH_SOCK=/tmp/ssh-Z6PlpEsafOnf/agent.2198 11:19:00 SSH_AGENT_PID=2200 11:19:00 [ssh-agent] Started. 11:19:00 Running ssh-add (command line suppressed) 11:19:00 Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_5644714088838901234.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_5644714088838901234.key) 11:19:00 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 11:19:00 The recommended git tool is: NONE 11:19:02 using credential onap-jenkins-ssh 11:19:02 Wiping out workspace first. 11:19:02 Cloning the remote Git repository 11:19:02 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 11:19:02 > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 11:19:02 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 11:19:02 > git --version # timeout=10 11:19:02 > git --version # 'git version 2.17.1' 11:19:02 using GIT_SSH to set credentials Gerrit user 11:19:02 Verifying host key using manually-configured host key entries 11:19:02 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 11:19:03 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 11:19:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:03 Avoid second fetch 11:19:03 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 11:19:03 Checking out Revision 0a32da8957faea5b96de55b540f594dc6bf9bfba (refs/remotes/origin/master) 11:19:03 > git config core.sparsecheckout # timeout=10 11:19:03 > git checkout -f 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=30 11:19:03 Commit message: "Set all cross references of policy/docker" 11:19:03 > git rev-list --no-walk 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=10 11:19:03 provisioning config files... 11:19:03 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:19:03 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:19:03 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins11490594266460752864.sh 11:19:03 ---> python-tools-install.sh 11:19:03 Setup pyenv: 11:19:04 * system (set by /opt/pyenv/version) 11:19:04 * 3.8.13 (set by /opt/pyenv/version) 11:19:04 * 3.9.13 (set by /opt/pyenv/version) 11:19:04 * 3.10.6 (set by /opt/pyenv/version) 11:19:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DcKB 11:19:10 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:19:13 lf-activate-venv(): INFO: Installing: lftools 11:20:08 lf-activate-venv(): INFO: Adding /tmp/venv-DcKB/bin to PATH 11:20:08 Generating Requirements File 11:20:51 Python 3.10.6 11:20:51 pip 23.3.1 from /tmp/venv-DcKB/lib/python3.10/site-packages/pip (python 3.10) 11:20:52 appdirs==1.4.4 11:20:52 argcomplete==3.1.6 11:20:52 aspy.yaml==1.3.0 11:20:52 attrs==23.1.0 11:20:52 autopage==0.5.2 11:20:52 Babel==2.13.1 11:20:52 beautifulsoup4==4.12.2 11:20:52 boto3==1.29.0 11:20:52 botocore==1.32.0 11:20:52 bs4==0.0.1 11:20:52 cachetools==5.3.2 11:20:52 certifi==2023.7.22 11:20:52 cffi==1.16.0 11:20:52 cfgv==3.4.0 11:20:52 chardet==5.2.0 11:20:52 charset-normalizer==3.3.2 11:20:52 click==8.1.7 11:20:52 cliff==4.4.0 11:20:52 cmd2==2.4.3 11:20:52 cryptography==3.3.2 11:20:52 debtcollector==2.5.0 11:20:52 decorator==5.1.1 11:20:52 defusedxml==0.7.1 11:20:52 Deprecated==1.2.14 11:20:52 distlib==0.3.7 11:20:52 dnspython==2.4.2 11:20:52 docker==4.2.2 11:20:52 dogpile.cache==1.2.2 11:20:52 email-validator==2.1.0.post1 11:20:52 filelock==3.13.1 11:20:52 future==0.18.3 11:20:52 gitdb==4.0.11 11:20:52 GitPython==3.1.40 11:20:52 google-auth==2.23.4 11:20:52 httplib2==0.22.0 11:20:52 identify==2.5.31 11:20:52 idna==3.4 11:20:52 importlib-metadata==6.8.0 11:20:52 importlib-resources==1.5.0 11:20:52 iso8601==2.1.0 11:20:52 Jinja2==3.1.2 11:20:52 jmespath==1.0.1 11:20:52 jsonpatch==1.33 11:20:52 jsonpointer==2.4 11:20:52 jsonschema==4.19.2 11:20:52 jsonschema-specifications==2023.11.1 11:20:52 keystoneauth1==5.3.0 11:20:52 kubernetes==28.1.0 11:20:52 lftools==0.37.8 11:20:52 lxml==4.9.3 11:20:52 MarkupSafe==2.1.3 11:20:52 msgpack==1.0.7 11:20:52 multi-key-dict==2.0.3 11:20:52 munch==4.0.0 11:20:52 netaddr==0.9.0 11:20:52 netifaces==0.11.0 11:20:52 niet==1.4.2 11:20:52 nodeenv==1.8.0 11:20:52 oauth2client==4.1.3 11:20:52 oauthlib==3.2.2 11:20:52 openstacksdk==0.62.0 11:20:52 os-client-config==2.1.0 11:20:52 os-service-types==1.7.0 11:20:52 osc-lib==2.9.0 11:20:52 oslo.config==9.2.0 11:20:52 oslo.context==5.3.0 11:20:52 oslo.i18n==6.2.0 11:20:52 oslo.log==5.4.0 11:20:52 oslo.serialization==5.2.0 11:20:52 oslo.utils==6.3.0 11:20:52 packaging==23.2 11:20:52 pbr==6.0.0 11:20:52 platformdirs==3.11.0 11:20:52 prettytable==3.9.0 11:20:52 pyasn1==0.5.0 11:20:52 pyasn1-modules==0.3.0 11:20:52 pycparser==2.21 11:20:52 pygerrit2==2.0.15 11:20:52 PyGithub==2.1.1 11:20:52 pyinotify==0.9.6 11:20:52 PyJWT==2.8.0 11:20:52 PyNaCl==1.5.0 11:20:52 pyparsing==2.4.7 11:20:52 pyperclip==1.8.2 11:20:52 pyrsistent==0.20.0 11:20:52 python-cinderclient==9.4.0 11:20:52 python-dateutil==2.8.2 11:20:52 python-heatclient==3.3.0 11:20:52 python-jenkins==1.8.2 11:20:52 python-keystoneclient==5.2.0 11:20:52 python-magnumclient==4.2.0 11:20:52 python-novaclient==18.4.0 11:20:52 python-openstackclient==6.0.0 11:20:52 python-swiftclient==4.4.0 11:20:52 pytz==2023.3.post1 11:20:52 PyYAML==6.0.1 11:20:52 referencing==0.31.0 11:20:52 requests==2.31.0 11:20:52 requests-oauthlib==1.3.1 11:20:52 requestsexceptions==1.4.0 11:20:52 rfc3986==2.0.0 11:20:52 rpds-py==0.12.0 11:20:52 rsa==4.9 11:20:52 ruamel.yaml==0.18.5 11:20:52 ruamel.yaml.clib==0.2.8 11:20:52 s3transfer==0.7.0 11:20:52 simplejson==3.19.2 11:20:52 six==1.16.0 11:20:52 smmap==5.0.1 11:20:52 soupsieve==2.5 11:20:52 stevedore==5.1.0 11:20:52 tabulate==0.9.0 11:20:52 toml==0.10.2 11:20:52 tomlkit==0.12.3 11:20:52 tqdm==4.66.1 11:20:52 typing_extensions==4.8.0 11:20:52 tzdata==2023.3 11:20:52 urllib3==1.26.18 11:20:52 virtualenv==20.24.6 11:20:52 wcwidth==0.2.10 11:20:52 websocket-client==1.6.4 11:20:52 wrapt==1.16.0 11:20:52 xdg==6.0.0 11:20:52 xmltodict==0.13.0 11:20:52 yq==3.2.3 11:20:52 zipp==3.17.0 11:20:52 [EnvInject] - Injecting environment variables from a build step. 11:20:52 [EnvInject] - Injecting as environment variables the properties content 11:20:52 SET_JDK_VERSION=openjdk17 11:20:52 GIT_URL="git://cloud.onap.org/mirror" 11:20:52 11:20:52 [EnvInject] - Variables injected successfully. 11:20:52 [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins12118542793983485013.sh 11:20:52 ---> update-java-alternatives.sh 11:20:52 ---> Updating Java version 11:20:52 ---> Ubuntu/Debian system detected 11:20:53 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:20:53 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:20:53 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 11:20:54 openjdk version "17.0.4" 2022-07-19 11:20:54 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:20:54 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:20:54 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:20:54 [EnvInject] - Injecting environment variables from a build step. 11:20:54 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:20:54 [EnvInject] - Variables injected successfully. 11:20:54 [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins17091601095806052610.sh 11:20:54 + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api 11:20:54 + set +u 11:20:54 + save_set 11:20:54 + RUN_CSIT_SAVE_SET=ehxB 11:20:54 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 11:20:54 + '[' 1 -eq 0 ']' 11:20:54 + '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:20:54 + 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:20:54 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:20:54 + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 11:20:54 + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 11:20:54 + export ROBOT_VARIABLES= 11:20:54 + ROBOT_VARIABLES= 11:20:54 + export PROJECT=api 11:20:54 + PROJECT=api 11:20:54 + cd /w/workspace/policy-api-master-project-csit-api 11:20:54 + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:20:54 + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:20:54 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:20:54 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 11:20:54 + relax_set 11:20:54 + set +e 11:20:54 + set +o pipefail 11:20:54 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:20:54 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:20:54 +++ mktemp -d 11:20:54 ++ ROBOT_VENV=/tmp/tmp.TDWu6rqtY2 11:20:54 ++ echo ROBOT_VENV=/tmp/tmp.TDWu6rqtY2 11:20:54 +++ python3 --version 11:20:54 ++ echo 'Python version is: Python 3.6.9' 11:20:54 Python version is: Python 3.6.9 11:20:54 ++ python3 -m venv --clear /tmp/tmp.TDWu6rqtY2 11:20:55 ++ source /tmp/tmp.TDWu6rqtY2/bin/activate 11:20:55 +++ deactivate nondestructive 11:20:55 +++ '[' -n '' ']' 11:20:55 +++ '[' -n '' ']' 11:20:55 +++ '[' -n /bin/bash -o -n '' ']' 11:20:55 +++ hash -r 11:20:55 +++ '[' -n '' ']' 11:20:55 +++ unset VIRTUAL_ENV 11:20:55 +++ '[' '!' nondestructive = nondestructive ']' 11:20:55 +++ VIRTUAL_ENV=/tmp/tmp.TDWu6rqtY2 11:20:55 +++ export VIRTUAL_ENV 11:20:55 +++ _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:20:55 +++ PATH=/tmp/tmp.TDWu6rqtY2/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:20:55 +++ export PATH 11:20:55 +++ '[' -n '' ']' 11:20:55 +++ '[' -z '' ']' 11:20:55 +++ _OLD_VIRTUAL_PS1= 11:20:55 +++ '[' 'x(tmp.TDWu6rqtY2) ' '!=' x ']' 11:20:55 +++ PS1='(tmp.TDWu6rqtY2) ' 11:20:55 +++ export PS1 11:20:55 +++ '[' -n /bin/bash -o -n '' ']' 11:20:55 +++ hash -r 11:20:55 ++ set -exu 11:20:55 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 11:20:59 ++ echo 'Installing Python Requirements' 11:20:59 Installing Python Requirements 11:20:59 ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt 11:21:17 ++ python3 -m pip -qq freeze 11:21:17 bcrypt==4.0.1 11:21:17 beautifulsoup4==4.12.2 11:21:17 bitarray==2.8.3 11:21:17 certifi==2023.7.22 11:21:17 cffi==1.15.1 11:21:17 charset-normalizer==2.0.12 11:21:17 cryptography==40.0.2 11:21:17 decorator==5.1.1 11:21:17 elasticsearch==7.17.9 11:21:17 elasticsearch-dsl==7.4.1 11:21:17 enum34==1.1.10 11:21:17 idna==3.4 11:21:17 importlib-resources==5.4.0 11:21:17 ipaddr==2.2.0 11:21:17 isodate==0.6.1 11:21:17 jmespath==0.10.0 11:21:17 jsonpatch==1.32 11:21:17 jsonpath-rw==1.4.0 11:21:17 jsonpointer==2.3 11:21:17 lxml==4.9.3 11:21:17 netaddr==0.8.0 11:21:17 netifaces==0.11.0 11:21:17 odltools==0.1.28 11:21:17 paramiko==3.3.1 11:21:17 pkg_resources==0.0.0 11:21:17 ply==3.11 11:21:17 pyang==2.6.0 11:21:17 pyangbind==0.8.1 11:21:17 pycparser==2.21 11:21:17 pyhocon==0.3.60 11:21:17 PyNaCl==1.5.0 11:21:17 pyparsing==3.1.1 11:21:17 python-dateutil==2.8.2 11:21:17 regex==2023.8.8 11:21:17 requests==2.27.1 11:21:17 robotframework==6.1.1 11:21:17 robotframework-httplibrary==0.4.2 11:21:17 robotframework-pythonlibcore==3.0.0 11:21:17 robotframework-requests==0.9.4 11:21:17 robotframework-selenium2library==3.0.0 11:21:17 robotframework-seleniumlibrary==5.1.3 11:21:17 robotframework-sshlibrary==3.8.0 11:21:17 scapy==2.5.0 11:21:17 scp==0.14.5 11:21:17 selenium==3.141.0 11:21:17 six==1.16.0 11:21:17 soupsieve==2.3.2.post1 11:21:17 urllib3==1.26.18 11:21:17 waitress==2.0.0 11:21:17 WebOb==1.8.7 11:21:17 WebTest==3.0.0 11:21:17 zipp==3.6.0 11:21:17 ++ mkdir -p /tmp/tmp.TDWu6rqtY2/src/onap 11:21:17 ++ rm -rf /tmp/tmp.TDWu6rqtY2/src/onap/testsuite 11:21:17 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 11:21:23 ++ echo 'Uninstall docker-py and reinstall docker.' 11:21:23 Uninstall docker-py and reinstall docker. 11:21:23 ++ python3 -m pip uninstall -y -qq docker 11:21:24 ++ python3 -m pip install -U -qq docker 11:21:25 ++ python3 -m pip -qq freeze 11:21:25 bcrypt==4.0.1 11:21:25 beautifulsoup4==4.12.2 11:21:25 bitarray==2.8.3 11:21:25 certifi==2023.7.22 11:21:25 cffi==1.15.1 11:21:25 charset-normalizer==2.0.12 11:21:25 cryptography==40.0.2 11:21:25 decorator==5.1.1 11:21:25 deepdiff==5.7.0 11:21:25 dnspython==2.2.1 11:21:25 docker==5.0.3 11:21:25 elasticsearch==7.17.9 11:21:25 elasticsearch-dsl==7.4.1 11:21:25 enum34==1.1.10 11:21:25 future==0.18.3 11:21:25 idna==3.4 11:21:25 importlib-resources==5.4.0 11:21:25 ipaddr==2.2.0 11:21:25 isodate==0.6.1 11:21:25 Jinja2==3.0.3 11:21:25 jmespath==0.10.0 11:21:25 jsonpatch==1.32 11:21:25 jsonpath-rw==1.4.0 11:21:25 jsonpointer==2.3 11:21:25 kafka-python==2.0.2 11:21:25 lxml==4.9.3 11:21:25 MarkupSafe==2.0.1 11:21:25 more-itertools==5.0.0 11:21:25 netaddr==0.8.0 11:21:25 netifaces==0.11.0 11:21:25 odltools==0.1.28 11:21:25 ordered-set==4.0.2 11:21:25 paramiko==3.3.1 11:21:25 pbr==6.0.0 11:21:25 pkg_resources==0.0.0 11:21:25 ply==3.11 11:21:25 protobuf==3.19.6 11:21:25 pyang==2.6.0 11:21:25 pyangbind==0.8.1 11:21:25 pycparser==2.21 11:21:25 pyhocon==0.3.60 11:21:25 PyNaCl==1.5.0 11:21:25 pyparsing==3.1.1 11:21:25 python-dateutil==2.8.2 11:21:25 PyYAML==6.0.1 11:21:25 regex==2023.8.8 11:21:25 requests==2.27.1 11:21:25 robotframework==6.1.1 11:21:25 robotframework-httplibrary==0.4.2 11:21:25 robotframework-onap==0.6.0.dev105 11:21:25 robotframework-pythonlibcore==3.0.0 11:21:25 robotframework-requests==0.9.4 11:21:25 robotframework-selenium2library==3.0.0 11:21:25 robotframework-seleniumlibrary==5.1.3 11:21:25 robotframework-sshlibrary==3.8.0 11:21:25 robotlibcore-temp==1.0.2 11:21:25 scapy==2.5.0 11:21:25 scp==0.14.5 11:21:25 selenium==3.141.0 11:21:25 six==1.16.0 11:21:25 soupsieve==2.3.2.post1 11:21:25 urllib3==1.26.18 11:21:25 waitress==2.0.0 11:21:25 WebOb==1.8.7 11:21:25 websocket-client==1.3.1 11:21:25 WebTest==3.0.0 11:21:25 zipp==3.6.0 11:21:25 ++ uname 11:21:25 ++ grep -q Linux 11:21:25 ++ sudo apt-get -y -qq install libxml2-utils 11:21:25 + load_set 11:21:25 + _setopts=ehuxB 11:21:25 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 11:21:25 ++ tr : ' ' 11:21:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:21:25 + set +o braceexpand 11:21:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:21:25 + set +o hashall 11:21:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:21:25 + set +o interactive-comments 11:21:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:21:25 + set +o nounset 11:21:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:21:25 + set +o xtrace 11:21:25 ++ echo ehuxB 11:21:25 ++ sed 's/./& /g' 11:21:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:21:25 + set +e 11:21:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:21:25 + set +h 11:21:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:21:25 + set +u 11:21:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:21:25 + set +x 11:21:25 + source_safely /tmp/tmp.TDWu6rqtY2/bin/activate 11:21:25 + '[' -z /tmp/tmp.TDWu6rqtY2/bin/activate ']' 11:21:25 + relax_set 11:21:25 + set +e 11:21:25 + set +o pipefail 11:21:25 + . /tmp/tmp.TDWu6rqtY2/bin/activate 11:21:25 ++ deactivate nondestructive 11:21:25 ++ '[' -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:21:25 ++ 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:21:25 ++ export PATH 11:21:25 ++ unset _OLD_VIRTUAL_PATH 11:21:25 ++ '[' -n '' ']' 11:21:25 ++ '[' -n /bin/bash -o -n '' ']' 11:21:25 ++ hash -r 11:21:25 ++ '[' -n '' ']' 11:21:25 ++ unset VIRTUAL_ENV 11:21:25 ++ '[' '!' nondestructive = nondestructive ']' 11:21:25 ++ VIRTUAL_ENV=/tmp/tmp.TDWu6rqtY2 11:21:25 ++ export VIRTUAL_ENV 11:21:25 ++ _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:21:25 ++ PATH=/tmp/tmp.TDWu6rqtY2/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:21:25 ++ export PATH 11:21:25 ++ '[' -n '' ']' 11:21:25 ++ '[' -z '' ']' 11:21:25 ++ _OLD_VIRTUAL_PS1='(tmp.TDWu6rqtY2) ' 11:21:25 ++ '[' 'x(tmp.TDWu6rqtY2) ' '!=' x ']' 11:21:25 ++ PS1='(tmp.TDWu6rqtY2) (tmp.TDWu6rqtY2) ' 11:21:25 ++ export PS1 11:21:25 ++ '[' -n /bin/bash -o -n '' ']' 11:21:25 ++ hash -r 11:21:25 + load_set 11:21:25 + _setopts=hxB 11:21:25 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:21:25 ++ tr : ' ' 11:21:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:21:25 + set +o braceexpand 11:21:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:21:25 + set +o hashall 11:21:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:21:25 + set +o interactive-comments 11:21:25 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:21:25 + set +o xtrace 11:21:25 ++ echo hxB 11:21:25 ++ sed 's/./& /g' 11:21:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:21:25 + set +h 11:21:25 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:21:25 + set +x 11:21:25 + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 11:21:25 + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 11:21:25 + export TEST_OPTIONS= 11:21:25 + TEST_OPTIONS= 11:21:25 ++ mktemp -d 11:21:25 + WORKDIR=/tmp/tmp.nYsJFgT4d9 11:21:25 + cd /tmp/tmp.nYsJFgT4d9 11:21:25 + docker login -u docker -p docker nexus3.onap.org:10001 11:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:21:26 Configure a credential helper to remove this warning. See 11:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:21:26 11:21:26 Login Succeeded 11:21:26 + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:21:26 + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:21:26 + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' 11:21:26 Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:21:26 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:21:26 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:21:26 + relax_set 11:21:26 + set +e 11:21:26 + set +o pipefail 11:21:26 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:21:26 ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh 11:21:26 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:21:26 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview 11:21:26 +++ GERRIT_BRANCH=master 11:21:26 +++ echo GERRIT_BRANCH=master 11:21:26 GERRIT_BRANCH=master 11:21:26 +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models 11:21:26 +++ mkdir /w/workspace/policy-api-master-project-csit-api/models 11:21:26 +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models 11:21:26 Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... 11:21:27 +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 11:21:27 +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 11:21:27 +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:21:27 +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:21:27 +++ 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:21:27 +++ 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:21:27 ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana 11:21:27 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:21:27 +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 11:21:27 +++ grafana=false 11:21:27 +++ gui=false 11:21:27 +++ [[ 2 -gt 0 ]] 11:21:27 +++ key=api 11:21:27 +++ case $key in 11:21:27 +++ echo api 11:21:27 api 11:21:27 +++ component=api 11:21:27 +++ shift 11:21:27 +++ [[ 1 -gt 0 ]] 11:21:27 +++ key=--grafana 11:21:27 +++ case $key in 11:21:27 +++ grafana=true 11:21:27 +++ shift 11:21:27 +++ [[ 0 -gt 0 ]] 11:21:27 +++ cd /w/workspace/policy-api-master-project-csit-api/compose 11:21:27 +++ echo 'Configuring docker compose...' 11:21:27 Configuring docker compose... 11:21:27 +++ source export-ports.sh 11:21:27 +++ source get-versions.sh 11:21:29 +++ '[' -z api ']' 11:21:29 +++ '[' -n api ']' 11:21:29 +++ '[' api == logs ']' 11:21:29 +++ '[' true = true ']' 11:21:29 +++ echo 'Starting api application with Grafana' 11:21:29 Starting api application with Grafana 11:21:29 +++ docker-compose up -d api grafana 11:21:30 Creating network "compose_default" with the default driver 11:21:30 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 11:21:30 10.10.2: Pulling from mariadb 11:21:35 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 11:21:35 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 11:21:35 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT)... 11:21:35 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator 11:21:45 Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca 11:21:45 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT 11:21:45 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 11:21:45 3.0.3-SNAPSHOT: Pulling from onap/policy-api 11:21:49 Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea 11:21:49 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT 11:21:49 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 11:21:49 latest: Pulling from prom/prometheus 11:21:52 Digest: sha256:3002935850ea69a59816825d4cb718fafcdb9b124e4e6153ebc6894627525f7f 11:21:52 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 11:21:52 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 11:21:52 latest: Pulling from grafana/grafana 11:21:57 Digest: sha256:1ee0c54286b8ca09a3dd1419ff8653e7780a148a006ac088544203bb0affe550 11:21:57 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 11:21:58 Creating prometheus ... 11:21:58 Creating mariadb ... 11:22:17 Creating prometheus ... done 11:22:17 Creating grafana ... 11:22:17 Creating grafana ... done 11:22:19 Creating mariadb ... done 11:22:19 Creating policy-db-migrator ... 11:22:20 Creating policy-db-migrator ... done 11:22:20 Creating policy-api ... 11:22:21 Creating policy-api ... done 11:22:21 +++ echo 'Prometheus server: http://localhost:30259' 11:22:21 Prometheus server: http://localhost:30259 11:22:21 +++ echo 'Grafana server: http://localhost:30269' 11:22:21 Grafana server: http://localhost:30269 11:22:21 +++ cd /w/workspace/policy-api-master-project-csit-api 11:22:21 ++ sleep 10 11:22:31 ++ unset http_proxy https_proxy 11:22:31 ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 11:22:31 Waiting for REST to come up on localhost port 30002... 11:22:31 NAMES STATUS 11:22:31 policy-api Up 10 seconds 11:22:31 policy-db-migrator Up 10 seconds 11:22:31 grafana Up 13 seconds 11:22:31 mariadb Up 11 seconds 11:22:31 prometheus Up 13 seconds 11:22:36 NAMES STATUS 11:22:36 policy-api Up 15 seconds 11:22:36 grafana Up 18 seconds 11:22:36 mariadb Up 16 seconds 11:22:36 prometheus Up 18 seconds 11:22:41 NAMES STATUS 11:22:41 policy-api Up 20 seconds 11:22:41 grafana Up 23 seconds 11:22:41 mariadb Up 21 seconds 11:22:41 prometheus Up 24 seconds 11:22:46 NAMES STATUS 11:22:46 policy-api Up 25 seconds 11:22:46 grafana Up 28 seconds 11:22:46 mariadb Up 26 seconds 11:22:46 prometheus Up 29 seconds 11:22:46 ++ export 'SUITES=api-test.robot 11:22:46 api-slas.robot' 11:22:46 ++ SUITES='api-test.robot 11:22:46 api-slas.robot' 11:22:46 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:22:46 -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:22:46 + load_set 11:22:46 + _setopts=hxB 11:22:46 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:22:46 ++ tr : ' ' 11:22:46 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:46 + set +o braceexpand 11:22:46 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:46 + set +o hashall 11:22:46 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:46 + set +o interactive-comments 11:22:46 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:46 + set +o xtrace 11:22:46 ++ echo hxB 11:22:46 ++ sed 's/./& /g' 11:22:46 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:22:46 + set +h 11:22:46 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:22:46 + set +x 11:22:46 + docker_stats 11:22:46 + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 11:22:46 ++ uname -s 11:22:46 + '[' Linux == Darwin ']' 11:22:46 + sh -c 'top -bn1 | head -3' 11:22:46 top - 11:22:46 up 10 min, 0 users, load average: 2.02, 1.03, 0.50 11:22:46 Tasks: 171 total, 1 running, 101 sleeping, 0 stopped, 0 zombie 11:22:46 %Cpu(s): 3.8 us, 0.7 sy, 0.0 ni, 92.0 id, 3.4 wa, 0.0 hi, 0.0 si, 0.0 st 11:22:46 + echo 11:22:46 11:22:46 + sh -c 'free -h' 11:22:46 total used free shared buff/cache available 11:22:46 Mem: 31G 1.5G 25G 1.0M 4.0G 29G 11:22:46 Swap: 1.0G 0B 1.0G 11:22:46 + echo 11:22:46 11:22:46 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:22:46 NAMES STATUS 11:22:46 policy-api Up 25 seconds 11:22:46 grafana Up 28 seconds 11:22:46 mariadb Up 27 seconds 11:22:46 prometheus Up 29 seconds 11:22:46 + echo 11:22:46 + docker stats --no-stream 11:22:46 11:22:49 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:22:49 a67cd2c58726 policy-api 0.09% 463.1MiB / 31.41GiB 1.44% 998kB / 710kB 0B / 0B 52 11:22:49 948e9aaf3a78 grafana 0.02% 96.26MiB / 31.41GiB 0.30% 18.6kB / 3.08kB 0B / 22.8MB 17 11:22:49 3b3c88284989 mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 986kB / 1.17MB 11.1MB / 67.7MB 31 11:22:49 461e5ee4d3f6 prometheus 0.00% 18.91MiB / 31.41GiB 0.06% 1.52kB / 158B 4.1kB / 0B 13 11:22:49 + echo 11:22:49 11:22:49 + cd /tmp/tmp.nYsJFgT4d9 11:22:49 + echo 'Reading the testplan:' 11:22:49 Reading the testplan: 11:22:49 + echo 'api-test.robot 11:22:49 api-slas.robot' 11:22:49 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 11:22:49 + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' 11:22:49 + cat testplan.txt 11:22:49 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot 11:22:49 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 11:22:49 ++ xargs 11:22:49 + 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:22:49 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:22:49 -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:22:49 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:22:49 -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:22:49 + 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:22:49 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:22:49 + relax_set 11:22:49 + set +e 11:22:49 + set +o pipefail 11:22:49 + 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:22:49 ============================================================================== 11:22:49 api 11:22:49 ============================================================================== 11:22:49 api.Api-Test 11:22:49 ============================================================================== 11:22:49 Healthcheck :: Verify policy api health check | PASS | 11:22:49 ------------------------------------------------------------------------------ 11:22:49 RetrievePolicyTypes :: Retrieve all policy types | PASS | 11:22:51 ------------------------------------------------------------------------------ 11:22:51 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 11:22:52 ------------------------------------------------------------------------------ 11:22:52 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 11:22:52 ------------------------------------------------------------------------------ 11:22:52 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 11:22:52 ------------------------------------------------------------------------------ 11:22:52 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 11:22:52 ------------------------------------------------------------------------------ 11:22:52 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 11:22:53 ------------------------------------------------------------------------------ 11:22:53 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 11:22:53 ------------------------------------------------------------------------------ 11:22:53 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 11:22:53 ------------------------------------------------------------------------------ 11:22:53 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 11:22:54 ------------------------------------------------------------------------------ 11:22:54 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 11:22:54 ------------------------------------------------------------------------------ 11:22:54 RetrieveAllPolicies :: Retrieve all policies | PASS | 11:22:54 ------------------------------------------------------------------------------ 11:22:54 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 11:22:54 ------------------------------------------------------------------------------ 11:22:54 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 11:22:54 ------------------------------------------------------------------------------ 11:22:54 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 11:22:55 ------------------------------------------------------------------------------ 11:22:55 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 11:22:55 ------------------------------------------------------------------------------ 11:22:55 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 11:22:55 ------------------------------------------------------------------------------ 11:22:55 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 11:22:55 ------------------------------------------------------------------------------ 11:22:55 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 11:22:56 ------------------------------------------------------------------------------ 11:22:56 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 11:22:56 ------------------------------------------------------------------------------ 11:22:56 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 11:22:56 ------------------------------------------------------------------------------ 11:22:56 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 11:22:56 ------------------------------------------------------------------------------ 11:22:56 api.Api-Test | PASS | 11:22:56 22 tests, 22 passed, 0 failed 11:22:56 ============================================================================== 11:22:56 api.Api-Slas 11:22:56 ============================================================================== 11:22:56 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 11:23:56 ------------------------------------------------------------------------------ 11:23:56 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 11:23:56 ------------------------------------------------------------------------------ 11:23:56 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 11:23:56 ------------------------------------------------------------------------------ 11:23:56 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 11:23:56 ------------------------------------------------------------------------------ 11:23:56 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 11:23:56 ------------------------------------------------------------------------------ 11:23:56 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 11:23:56 ------------------------------------------------------------------------------ 11:23:56 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 11:23:56 ------------------------------------------------------------------------------ 11:23:56 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 11:23:56 ------------------------------------------------------------------------------ 11:23:56 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 11:23:56 ------------------------------------------------------------------------------ 11:23:56 api.Api-Slas | PASS | 11:23:56 9 tests, 9 passed, 0 failed 11:23:56 ============================================================================== 11:23:56 api | PASS | 11:23:56 31 tests, 31 passed, 0 failed 11:23:56 ============================================================================== 11:23:56 Output: /tmp/tmp.nYsJFgT4d9/output.xml 11:23:56 Log: /tmp/tmp.nYsJFgT4d9/log.html 11:23:56 Report: /tmp/tmp.nYsJFgT4d9/report.html 11:23:56 + RESULT=0 11:23:56 + load_set 11:23:56 + _setopts=hxB 11:23:56 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:23:56 ++ tr : ' ' 11:23:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:23:56 + set +o braceexpand 11:23:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:23:56 + set +o hashall 11:23:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:23:56 + set +o interactive-comments 11:23:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:23:56 + set +o xtrace 11:23:56 ++ echo hxB 11:23:56 ++ sed 's/./& /g' 11:23:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:23:56 + set +h 11:23:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:23:56 + set +x 11:23:56 + echo 'RESULT: 0' 11:23:56 RESULT: 0 11:23:56 + exit 0 11:23:56 + on_exit 11:23:56 + rc=0 11:23:56 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] 11:23:56 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:23:56 NAMES STATUS 11:23:56 policy-api Up About a minute 11:23:56 grafana Up About a minute 11:23:56 mariadb Up About a minute 11:23:56 prometheus Up About a minute 11:23:56 + docker_stats 11:23:56 ++ uname -s 11:23:56 + '[' Linux == Darwin ']' 11:23:56 + sh -c 'top -bn1 | head -3' 11:23:57 top - 11:23:57 up 11 min, 0 users, load average: 0.85, 0.92, 0.50 11:23:57 Tasks: 169 total, 1 running, 99 sleeping, 0 stopped, 0 zombie 11:23:57 %Cpu(s): 3.8 us, 0.7 sy, 0.0 ni, 92.4 id, 3.1 wa, 0.0 hi, 0.0 si, 0.0 st 11:23:57 + echo 11:23:57 11:23:57 + sh -c 'free -h' 11:23:57 total used free shared buff/cache available 11:23:57 Mem: 31G 1.7G 25G 1.0M 4.0G 29G 11:23:57 Swap: 1.0G 0B 1.0G 11:23:57 + echo 11:23:57 11:23:57 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:23:57 NAMES STATUS 11:23:57 policy-api Up About a minute 11:23:57 grafana Up About a minute 11:23:57 mariadb Up About a minute 11:23:57 prometheus Up About a minute 11:23:57 + echo 11:23:57 11:23:57 + docker stats --no-stream 11:23:59 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:23:59 a67cd2c58726 policy-api 0.22% 721.9MiB / 31.41GiB 2.24% 7.01MB / 2.55MB 0B / 0B 53 11:23:59 948e9aaf3a78 grafana 0.03% 96.65MiB / 31.41GiB 0.30% 19.8kB / 4.37kB 0B / 22.8MB 17 11:23:59 3b3c88284989 mariadb 0.02% 102MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.1MB / 68.1MB 18 11:23:59 461e5ee4d3f6 prometheus 0.00% 24.82MiB / 31.41GiB 0.08% 55.4kB / 6.5kB 4.1kB / 0B 13 11:23:59 + echo 11:23:59 11:23:59 + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 11:23:59 + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' 11:23:59 + relax_set 11:23:59 + set +e 11:23:59 + set +o pipefail 11:23:59 + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 11:23:59 ++ echo 'Shut down started!' 11:23:59 Shut down started! 11:23:59 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:23:59 ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 11:23:59 ++ cd /w/workspace/policy-api-master-project-csit-api/compose 11:23:59 ++ source export-ports.sh 11:23:59 ++ source get-versions.sh 11:24:01 ++ echo 'Collecting logs from docker compose containers...' 11:24:01 Collecting logs from docker compose containers... 11:24:01 ++ docker-compose logs 11:24:02 ++ cat docker_compose.log 11:24:02 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.158879981Z level=info msg="Starting Grafana" version=10.2.0 commit=895fbafb7a branch=HEAD compiled=2023-10-23T13:40:35Z 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.15945769Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.1594777Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.15948321Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.15948822Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159492781Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159497031Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159501471Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159509121Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159514451Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159518871Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159522921Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159527571Z level=info msg=Target target=[all] 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159560732Z level=info msg="Path Home" path=/usr/share/grafana 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159566752Z level=info msg="Path Data" path=/var/lib/grafana 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159571122Z level=info msg="Path Logs" path=/var/log/grafana 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159575582Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159647243Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 11:24:02 grafana | logger=settings t=2023-11-15T11:22:18.159655523Z level=info msg="App mode production" 11:24:02 grafana | logger=sqlstore t=2023-11-15T11:22:18.160129861Z level=info msg="Connecting to DB" dbtype=sqlite3 11:24:02 grafana | logger=sqlstore t=2023-11-15T11:22:18.160155672Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.161063895Z level=info msg="Starting DB migrations" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.162302575Z level=info msg="Executing migration" id="create migration_log table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.163268611Z level=info msg="Migration successfully executed" id="create migration_log table" duration=966.396µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.166928609Z level=info msg="Executing migration" id="create user table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.167461748Z level=info msg="Migration successfully executed" id="create user table" duration=533.189µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.173129068Z level=info msg="Executing migration" id="add unique index user.login" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.1745088Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.382682ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.177936654Z level=info msg="Executing migration" id="add unique index user.email" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.179149493Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.214639ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.182237723Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.182958774Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=721.661µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.188020755Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.188666785Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=645.69µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.191570601Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.196397679Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.817057ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.20029762Z level=info msg="Executing migration" id="create user table v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.201054162Z level=info msg="Migration successfully executed" id="create user table v2" duration=758.162µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.203976019Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.205031936Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.055237ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.209480866Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.21028502Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=804.134µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.213524501Z level=info msg="Executing migration" id="copy data_source v1 to v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.213990028Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=464.807µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.216904065Z level=info msg="Executing migration" id="Drop old table user_v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.217480444Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=576.52µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.219873802Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.221054491Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.180079ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.225675425Z level=info msg="Executing migration" id="Update user table charset" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.225703585Z level=info msg="Migration successfully executed" id="Update user table charset" duration=28.86µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.228025151Z level=info msg="Executing migration" id="Add last_seen_at column to user" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.229224621Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.19887ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.232488752Z level=info msg="Executing migration" id="Add missing user data" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.23293133Z level=info msg="Migration successfully executed" id="Add missing user data" duration=443.788µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.236359734Z level=info msg="Executing migration" id="Add is_disabled column to user" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.237639125Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.278731ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.242038254Z level=info msg="Executing migration" id="Add index user.login/user.email" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.242879938Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=841.454µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.245830285Z level=info msg="Executing migration" id="Add is_service_account column to user" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.247173397Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.340982ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.250598991Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.262037854Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.440353ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.267098574Z level=info msg="Executing migration" id="create temp user table v1-7" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.267715714Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=615.44µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.271036356Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.27188585Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=849.314µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.274927349Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.275769382Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=841.522µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.280463057Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.281292129Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=827.802µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.284209686Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.285033169Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=822.803µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.288060117Z level=info msg="Executing migration" id="Update temp_user table charset" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.2882442Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=182.803µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.292146362Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.292974556Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=827.944µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.297513228Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.29827535Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=761.632µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.301309769Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.3020608Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=750.971µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.306590942Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.307776391Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.185249ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.311280287Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.316394888Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.115011ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.319752452Z level=info msg="Executing migration" id="create temp_user v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.320705117Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=951.995µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.323760486Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.324566618Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=806.012µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.328758845Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.329570619Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=811.864µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.332866821Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.333685414Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=819.013µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.336809134Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.337634227Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=824.663µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.342555085Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.343178524Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=634.51µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.346186733Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.346980105Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=792.982µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.350114375Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.350578363Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=463.158µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.355820636Z level=info msg="Executing migration" id="create star table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.356855712Z level=info msg="Migration successfully executed" id="create star table" duration=1.034456ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.360289327Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.361599798Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.307641ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.364922851Z level=info msg="Executing migration" id="create org table v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.365617382Z level=info msg="Migration successfully executed" id="create org table v1" duration=693.751µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.370410869Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.372009314Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.594916ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.377070405Z level=info msg="Executing migration" id="create org_user table v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.378156181Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.085596ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.381426364Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.382173535Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=747.031µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.385100592Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.385897005Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=795.913µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.388928933Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.389701816Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=772.253µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.394141586Z level=info msg="Executing migration" id="Update org table charset" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.394171617Z level=info msg="Migration successfully executed" id="Update org table charset" duration=30.201µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.397412188Z level=info msg="Executing migration" id="Update org_user table charset" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.397476399Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=65.911µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.400900184Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.401371981Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=475.657µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.404757985Z level=info msg="Executing migration" id="create dashboard table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.405434536Z level=info msg="Migration successfully executed" id="create dashboard table" duration=677.361µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.409951498Z level=info msg="Executing migration" id="add index dashboard.account_id" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.410758901Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=808.263µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.413749248Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.414590151Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=839.283µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.417874084Z level=info msg="Executing migration" id="create dashboard_tag table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.418993262Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.118328ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.422062441Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.422992315Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=928.684µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.427406046Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.428176218Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=770.032µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.431155085Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.43771036Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.554975ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.44212039Z level=info msg="Executing migration" id="create dashboard v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.442831052Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=709.732µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.44779643Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.448701785Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=905.185µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.451932386Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.452739519Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=806.323µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.456005161Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.456324146Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=319.545µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.461018391Z level=info msg="Executing migration" id="drop table dashboard_v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.461785143Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=766.682µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.464865492Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.464932363Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=65.201µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.468256816Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.47100742Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.748944ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.475760745Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.47794045Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.179345ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.48104579Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.482792657Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.746307ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.485778405Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.486517217Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=737.122µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.490722134Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.492931779Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.207454ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.496219441Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.497437541Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.21729ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.500731613Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.501820241Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.088168ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.506462784Z level=info msg="Executing migration" id="Update dashboard table charset" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.506488625Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=26.361µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.509568983Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.509594214Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=26.111µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.51187882Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.513701899Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.823019ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.520218454Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.522042332Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.823338ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.525096071Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.529378159Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=4.281309ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.533081328Z level=info msg="Executing migration" id="Add column uid in dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.535889373Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.809315ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.540426365Z level=info msg="Executing migration" id="Update uid column values in dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.540652059Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=226.625µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.544181625Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.545086709Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=901.744µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.548096347Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.548780588Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=684.33µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.553423672Z level=info msg="Executing migration" id="Update dashboard title length" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.553449613Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=27.131µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.555449474Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.556712044Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.26091ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.560076677Z level=info msg="Executing migration" id="create dashboard_provisioning" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.561123984Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.047057ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.564407546Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.571864426Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.4563ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.576468749Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.576932586Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=463.617µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.579909774Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.581307206Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.392682ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.585182417Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.586529849Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.345532ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.591350856Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.59158442Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=233.934µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.594849051Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.595302879Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=452.918µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.598707683Z level=info msg="Executing migration" id="Add check_sum column" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.601989185Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.280602ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.607383301Z level=info msg="Executing migration" id="Add index for dashboard_title" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.608178924Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=797.543µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.611401145Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.611576707Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=176.412µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.614626606Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.614880611Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=253.975µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.620142664Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.621726779Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.581245ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.625767673Z level=info msg="Executing migration" id="Add isPublic for dashboard" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.628786441Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.019108ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.632948468Z level=info msg="Executing migration" id="create data_source table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.633782781Z level=info msg="Migration successfully executed" id="create data_source table" duration=833.894µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.638582247Z level=info msg="Executing migration" id="add index data_source.account_id" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.63935784Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=774.373µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.64307603Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.643974623Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=897.873µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.64816132Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.649666374Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.504894ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.654094345Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.654841177Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=744.552µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.658713938Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.666598783Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.882365ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.670520616Z level=info msg="Executing migration" id="create data_source table v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.671150797Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=629.33µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.675888611Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.677557198Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.666577ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.681743334Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.683054995Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.313321ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.68771123Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.688271039Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=559.409µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.691892817Z level=info msg="Executing migration" id="Add column with_credentials" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.695543084Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.650297ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.699281904Z level=info msg="Executing migration" id="Add secure json data column" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.701637871Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.353207ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.706525859Z level=info msg="Executing migration" id="Update data_source table charset" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.70657326Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=47.731µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.709892872Z level=info msg="Executing migration" id="Update initial version to 1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.710120237Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=227.225µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.713839475Z level=info msg="Executing migration" id="Add read_only data column" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.717645076Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.804961ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.721493378Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.72161675Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=123.462µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.725708995Z level=info msg="Executing migration" id="Update json_data with nulls" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.725820477Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=112.422µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.729331912Z level=info msg="Executing migration" id="Add uid column" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.73292747Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.595838ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.736543207Z level=info msg="Executing migration" id="Update uid value" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.737003565Z level=info msg="Migration successfully executed" id="Update uid value" duration=460.538µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.740936328Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.741793491Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=856.854µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.746094189Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.746889392Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=794.793µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.749953741Z level=info msg="Executing migration" id="create api_key table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.750626331Z level=info msg="Migration successfully executed" id="create api_key table" duration=672.32µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.753935134Z level=info msg="Executing migration" id="add index api_key.account_id" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.754675215Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=739.481µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.759267849Z level=info msg="Executing migration" id="add index api_key.key" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.760123902Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=855.823µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.763552378Z level=info msg="Executing migration" id="add index api_key.account_id_name" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.765195314Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.613335ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.770755732Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.771974302Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.21836ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.776551464Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.777250245Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=698.521µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.780795402Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.78190873Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.112917ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.78632347Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.795379593Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.056013ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.798771358Z level=info msg="Executing migration" id="create api_key table v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.799318166Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=546.648µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.80266429Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.803188338Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=523.918µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.807218543Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.808622695Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.401623ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.812513007Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.813753747Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.23777ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.817334483Z level=info msg="Executing migration" id="copy api_key v1 to v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.817679218Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=344.825µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.821722833Z level=info msg="Executing migration" id="Drop old table api_key_v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.822410934Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=688.141µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.825856779Z level=info msg="Executing migration" id="Update api_key table charset" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.8259187Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=63.211µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.829828892Z level=info msg="Executing migration" id="Add expires to api_key table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.833197056Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.368483ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.8385113Z level=info msg="Executing migration" id="Add service account foreign key" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.841042471Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.529381ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.844429324Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.844586988Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=158.024µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.847818649Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.853032582Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=5.209863ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.856594028Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.859077208Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.48243ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.863826673Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.864525725Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=699.432µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.867590663Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.868192243Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=602.97µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.872464071Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.873768681Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.30414ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.877609213Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.878969575Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.360041ms 11:24:02 mariadb | 2023-11-15 11:22:19+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.882994909Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 11:24:02 mariadb | 2023-11-15 11:22:19+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.883560977Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=565.578µs 11:24:02 mariadb | 2023-11-15 11:22:19+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:24:02 policy-db-migrator | Waiting for mariadb port 3306... 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.88810654Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 11:24:02 mariadb | 2023-11-15 11:22:19+00:00 [Note] [Entrypoint]: Initializing database files 11:24:02 policy-api | Waiting for mariadb port 3306... 11:24:02 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.889406651Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.299151ms 11:24:02 mariadb | 2023-11-15 11:22:19 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:24:02 prometheus | ts=2023-11-15T11:22:17.242Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d 11:24:02 policy-api | mariadb (172.17.0.3:3306) open 11:24:02 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.893096219Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 11:24:02 mariadb | 2023-11-15 11:22:19 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:24:02 prometheus | ts=2023-11-15T11:22:17.242Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.47.2, branch=HEAD, revision=3f3172cde1ee37f1c7b3a5f3d9b031190509b3ad)" 11:24:02 policy-api | Waiting for policy-db-migrator port 6824... 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.893197121Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=104.082µs 11:24:02 mariadb | 2023-11-15 11:22:19 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:24:02 prometheus | ts=2023-11-15T11:22:17.242Z caller=main.go:588 level=info build_context="(go=go1.21.3, platform=linux/amd64, user=root@79f2ad339b75, date=20231012-16:07:10, tags=netgo,builtinassets,stringlabels)" 11:24:02 policy-api | policy-db-migrator (172.17.0.5:6824) open 11:24:02 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.89691702Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 11:24:02 mariadb | 11:24:02 prometheus | ts=2023-11-15T11:22:17.242Z 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:24:02 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 11:24:02 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.896960991Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=45.501µs 11:24:02 mariadb | 11:24:02 prometheus | ts=2023-11-15T11:22:17.242Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" 11:24:02 policy-api | 11:24:02 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.900968455Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 11:24:02 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 11:24:02 prometheus | ts=2023-11-15T11:22:17.242Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" 11:24:02 policy-api | . ____ _ __ _ _ 11:24:02 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.905782771Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.814026ms 11:24:02 mariadb | To do so, start the server, then issue the following command: 11:24:02 prometheus | ts=2023-11-15T11:22:17.244Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 11:24:02 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:24:02 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.910069079Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 11:24:02 mariadb | 11:24:02 prometheus | ts=2023-11-15T11:22:17.245Z caller=main.go:1024 level=info msg="Starting TSDB ..." 11:24:02 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:24:02 policy-db-migrator | 321 blocks 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.912758412Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.689113ms 11:24:02 mariadb | '/usr/bin/mysql_secure_installation' 11:24:02 prometheus | ts=2023-11-15T11:22:17.247Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 11:24:02 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:24:02 policy-db-migrator | Preparing upgrade release version: 0800 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.91575819Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 11:24:02 mariadb | 11:24:02 prometheus | ts=2023-11-15T11:22:17.247Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 11:24:02 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 11:24:02 policy-db-migrator | Preparing upgrade release version: 0900 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.915837251Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=79.351µs 11:24:02 mariadb | which will also give you the option of removing the test 11:24:02 prometheus | ts=2023-11-15T11:22:17.249Z caller=head.go:600 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 11:24:02 policy-api | =========|_|==============|___/=/_/_/_/ 11:24:02 policy-db-migrator | Preparing upgrade release version: 1000 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.919202245Z level=info msg="Executing migration" id="create quota table v1" 11:24:02 mariadb | databases and anonymous user created by default. This is 11:24:02 prometheus | ts=2023-11-15T11:22:17.249Z caller=head.go:681 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.81µs 11:24:02 policy-api | :: Spring Boot :: (v3.1.4) 11:24:02 policy-db-migrator | Preparing upgrade release version: 1100 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.919919266Z level=info msg="Migration successfully executed" id="create quota table v1" duration=716.641µs 11:24:02 mariadb | strongly recommended for production servers. 11:24:02 prometheus | ts=2023-11-15T11:22:17.249Z caller=head.go:689 level=info component=tsdb msg="Replaying WAL, this may take a while" 11:24:02 policy-api | 11:24:02 policy-db-migrator | Preparing upgrade release version: 1200 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.924008881Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 11:24:02 mariadb | 11:24:02 prometheus | ts=2023-11-15T11:22:17.249Z caller=head.go:760 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 11:24:02 policy-api | [2023-11-15T11:22:33.417+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) 11:24:02 policy-db-migrator | Preparing upgrade release version: 1300 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.924788384Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=778.923µs 11:24:02 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 11:24:02 prometheus | ts=2023-11-15T11:22:17.250Z caller=head.go:797 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=23.89µs wal_replay_duration=838.654µs wbl_replay_duration=200ns total_replay_duration=889.644µs 11:24:02 policy-api | [2023-11-15T11:22:33.418+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 11:24:02 policy-db-migrator | Done 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.928010925Z level=info msg="Executing migration" id="Update quota table charset" 11:24:02 mariadb | 11:24:02 prometheus | ts=2023-11-15T11:22:17.253Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC 11:24:02 policy-api | [2023-11-15T11:22:35.046+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:24:02 policy-db-migrator | name version 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.928082616Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=71.971µs 11:24:02 mariadb | Please report any problems at https://mariadb.org/jira 11:24:02 prometheus | ts=2023-11-15T11:22:17.253Z caller=main.go:1048 level=info msg="TSDB started" 11:24:02 policy-api | [2023-11-15T11:22:35.131+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. 11:24:02 policy-db-migrator | policyadmin 0 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.931950508Z level=info msg="Executing migration" id="create plugin_setting table" 11:24:02 mariadb | 11:24:02 prometheus | ts=2023-11-15T11:22:17.253Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 11:24:02 policy-api | [2023-11-15T11:22:35.513+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:24:02 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.933131927Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.178629ms 11:24:02 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 11:24:02 prometheus | ts=2023-11-15T11:22:17.255Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.705538ms db_storage=1.85µs remote_storage=2.48µs web_handler=1.04µs query_engine=1.51µs scrape=451.807µs scrape_sd=191.843µs notify=78.121µs notify_sd=55.452µs rules=2.02µs tracing=7.5µs 11:24:02 policy-api | [2023-11-15T11:22:35.514+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:24:02 policy-db-migrator | upgrade: 0 -> 1300 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.93649255Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 11:24:02 mariadb | 11:24:02 policy-api | [2023-11-15T11:22:36.172+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.937284323Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=788.063µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.94150886Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 11:24:02 mariadb | Consider joining MariaDB's strong and vibrant community: 11:24:02 policy-api | [2023-11-15T11:22:36.181+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 11:24:02 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 11:24:02 prometheus | ts=2023-11-15T11:22:17.255Z caller=manager.go:1009 level=info component="rule manager" msg="Starting rule manager..." 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.944369246Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.860096ms 11:24:02 mariadb | https://mariadb.org/get-involved/ 11:24:02 policy-api | [2023-11-15T11:22:36.182+00:00|INFO|StandardService|main] Starting service [Tomcat] 11:24:02 policy-db-migrator | -------------- 11:24:02 prometheus | ts=2023-11-15T11:22:17.255Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.948036834Z level=info msg="Executing migration" id="Update plugin_setting table charset" 11:24:02 mariadb | 11:24:02 policy-api | [2023-11-15T11:22:36.182+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.948061524Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.88µs 11:24:02 mariadb | 2023-11-15 11:22:21+00:00 [Note] [Entrypoint]: Database files initialized 11:24:02 mariadb | 2023-11-15 11:22:21+00:00 [Note] [Entrypoint]: Starting temporary server 11:24:02 policy-api | [2023-11-15T11:22:36.279+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.951658482Z level=info msg="Executing migration" id="create session table" 11:24:02 mariadb | 2023-11-15 11:22:21+00:00 [Note] [Entrypoint]: Waiting for server startup 11:24:02 policy-api | [2023-11-15T11:22:36.279+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2798 ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.952438545Z level=info msg="Migration successfully executed" id="create session table" duration=779.623µs 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... 11:24:02 policy-api | [2023-11-15T11:22:36.706+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.956925946Z level=info msg="Executing migration" id="Drop old table playlist table" 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:24:02 policy-api | [2023-11-15T11:22:36.788+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 11:24:02 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.957104148Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=179.072µs 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: Number of transaction pools: 1 11:24:02 policy-api | [2023-11-15T11:22:36.791+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.960873599Z level=info msg="Executing migration" id="Drop old table playlist_item table" 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:24:02 policy-api | [2023-11-15T11:22:36.840+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.961022821Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=149.652µs 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:24:02 policy-api | [2023-11-15T11:22:37.185+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.964228732Z level=info msg="Executing migration" id="create playlist table v2" 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:24:02 policy-api | [2023-11-15T11:22:37.205+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.964991424Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=762.742µs 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:24:02 policy-api | [2023-11-15T11:22:37.307+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.96911865Z level=info msg="Executing migration" id="create playlist item table v2" 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:24:02 policy-api | [2023-11-15T11:22:37.309+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 11:24:02 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.96977152Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=652.42µs 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: Completed initialization of buffer pool 11:24:02 policy-api | [2023-11-15T11:22:37.337+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:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.973047982Z level=info msg="Executing migration" id="Update playlist table charset" 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:24:02 policy-api | [2023-11-15T11:22:37.339+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.973072492Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=25.06µs 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: 128 rollback segments are active. 11:24:02 policy-api | [2023-11-15T11:22:39.097+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.975553032Z level=info msg="Executing migration" id="Update playlist_item table charset" 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:24:02 policy-api | [2023-11-15T11:22:39.101+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.975578462Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=26.45µs 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:24:02 policy-api | [2023-11-15T11:22:40.407+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.978808224Z level=info msg="Executing migration" id="Add playlist column created_at" 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] InnoDB: log sequence number 46590; transaction id 14 11:24:02 policy-api | [2023-11-15T11:22:41.126+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:24:02 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.981763502Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.955058ms 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] Plugin 'FEEDBACK' is disabled. 11:24:02 policy-api | [2023-11-15T11:22:42.058+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:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.985929628Z level=info msg="Executing migration" id="Add playlist column updated_at" 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:24:02 policy-api | [2023-11-15T11:22:42.255+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@fb74661, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4b7feb38, org.springframework.security.web.context.SecurityContextHolderFilter@25e7e6d, org.springframework.security.web.header.HeaderWriterFilter@66161fee, org.springframework.security.web.authentication.logout.LogoutFilter@607c7f58, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@729f8c5d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@53d257e7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@56b5de49, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6e04275e, org.springframework.security.web.access.ExceptionTranslationFilter@56bc8c45, org.springframework.security.web.access.intercept.AuthorizationFilter@31829b82] 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.991281182Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.351074ms 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 11:24:02 policy-api | [2023-11-15T11:22:43.081+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.995140744Z level=info msg="Executing migration" id="drop preferences table v2" 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 11:24:02 policy-api | [2023-11-15T11:22:43.134+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.995237925Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=97.011µs 11:24:02 mariadb | 2023-11-15 11:22:21 0 [Note] mariadbd: ready for connections. 11:24:02 policy-api | [2023-11-15T11:22:43.153+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.998518218Z level=info msg="Executing migration" id="drop preferences table v3" 11:24:02 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 11:24:02 policy-api | [2023-11-15T11:22:43.175+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.516 seconds (process running for 11.127) 11:24:02 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:18.998595439Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=78.531µs 11:24:02 mariadb | 2023-11-15 11:22:22+00:00 [Note] [Entrypoint]: Temporary server started. 11:24:02 policy-api | [2023-11-15T11:22:49.476+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.00177956Z level=info msg="Executing migration" id="create preferences table v3" 11:24:02 mariadb | 2023-11-15 11:22:24+00:00 [Note] [Entrypoint]: Creating user policy_user 11:24:02 policy-api | [2023-11-15T11:22:49.477+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.00246025Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=680.37µs 11:24:02 mariadb | 2023-11-15 11:22:24+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 11:24:02 policy-api | [2023-11-15T11:22:49.478+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.008167191Z level=info msg="Executing migration" id="Update preferences table charset" 11:24:02 mariadb | 11:24:02 policy-api | [2023-11-15T11:22:51.957+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-3] ***** OrderedServiceImpl implementers: 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.008201021Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=34.11µs 11:24:02 mariadb | 11:24:02 policy-api | [] 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.011575575Z level=info msg="Executing migration" id="Add column team_id in preferences" 11:24:02 mariadb | 2023-11-15 11:22:24+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 11:24:02 policy-api | [2023-11-15T11:22:52.091+00:00|WARN|CommonRestController|http-nio-6969-exec-3] POST /policytypes 11:24:02 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.016656045Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.08249ms 11:24:02 mariadb | 2023-11-15 11:22:24+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 11:24:02 policy-api | [2023-11-15T11:22:52.339+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.020370643Z level=info msg="Executing migration" id="Update team_id column values in preferences" 11:24:02 mariadb | #!/bin/bash -xv 11:24:02 policy-api | [2023-11-15T11:22:53.385+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.020555796Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=226.333µs 11:24:02 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 11:24:02 policy-api | [2023-11-15T11:22:55.285+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.024855504Z level=info msg="Executing migration" id="Add column week_start in preferences" 11:24:02 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 11:24:02 policy-api | [2023-11-15T11:22:55.608+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policies/onap.restart.tca/versions/1.0.0 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.027845981Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.990047ms 11:24:02 mariadb | # 11:24:02 policy-api | [2023-11-15T11:22:55.834+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.031066582Z level=info msg="Executing migration" id="Add column preferences.json_data" 11:24:02 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 11:24:02 policy-api | [2023-11-15T11:22:56.062+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 11:24:02 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.034263743Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.197011ms 11:24:02 mariadb | # you may not use this file except in compliance with the License. 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-api | [2023-11-15T11:22:56.287+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.037433792Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 11:24:02 mariadb | # You may obtain a copy of the License at 11:24:02 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:24:02 policy-api | [2023-11-15T11:22:56.513+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.037497903Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=64.341µs 11:24:02 mariadb | # 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.040102704Z level=info msg="Executing migration" id="Add preferences index org_id" 11:24:02 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.040995019Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=892.435µs 11:24:02 mariadb | # 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.045577221Z level=info msg="Executing migration" id="Add preferences index user_id" 11:24:02 mariadb | # Unless required by applicable law or agreed to in writing, software 11:24:02 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.046562977Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=985.616µs 11:24:02 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 11:24:02 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.049876459Z level=info msg="Executing migration" id="create alert table v1" 11:24:02 mariadb | # See the License for the specific language governing permissions and 11:24:02 mariadb | # limitations under the License. 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | 11:24:02 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.050806894Z level=info msg="Migration successfully executed" id="create alert table v1" duration=930.224µs 11:24:02 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.055433546Z level=info msg="Executing migration" id="add index alert org_id & id " 11:24:02 mariadb | do 11:24:02 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.056398262Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=963.835µs 11:24:02 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 11:24:02 mariadb | done 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.060315823Z level=info msg="Executing migration" id="add index alert state" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.061125816Z level=info msg="Migration successfully executed" id="add index alert state" duration=810.663µs 11:24:02 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:24:02 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.064841875Z level=info msg="Executing migration" id="add index alert dashboard_id" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.065973663Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.130278ms 11:24:02 policy-db-migrator | 11:24:02 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.070767328Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 11:24:02 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.072028518Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.26211ms 11:24:02 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:02 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.075746117Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 11:24:02 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.076664251Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=917.863µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.079812601Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 11:24:02 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.080659094Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=845.763µs 11:24:02 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.085001652Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 11:24:02 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.098102339Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.100597ms 11:24:02 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.101447612Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.10197802Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=530.478µs 11:24:02 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 11:24:02 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.10511189Z 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:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.106049724Z 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=937.194µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.110056297Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.110323921Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=265.124µs 11:24:02 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.113839177Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 11:24:02 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.114335354Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=496.037µs 11:24:02 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:02 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.118050223Z level=info msg="Executing migration" id="create alert_notification table v1" 11:24:02 mariadb | 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.118714133Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=663.75µs 11:24:02 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:24:02 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.123033531Z level=info msg="Executing migration" id="Add column is_default" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.128821993Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.787512ms 11:24:02 policy-db-migrator | 11:24:02 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.132398409Z level=info msg="Executing migration" id="Add column frequency" 11:24:02 policy-db-migrator | 11:24:02 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.135970406Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.572097ms 11:24:02 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 11:24:02 mariadb | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.139650293Z level=info msg="Executing migration" id="Add column send_reminder" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | 2023-11-15 11:22:25+00:00 [Note] [Entrypoint]: Stopping temporary server 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.142132563Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.4824ms 11:24:02 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:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.146196317Z level=info msg="Executing migration" id="Add column disable_resolve_message" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: FTS optimize thread exiting. 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.149720673Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.499085ms 11:24:02 policy-db-migrator | 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Starting shutdown... 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.153227958Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 11:24:02 policy-db-migrator | 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.154346386Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.117648ms 11:24:02 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Buffer pool(s) dump completed at 231115 11:22:25 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.158360939Z level=info msg="Executing migration" id="Update alert table charset" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.158391099Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=30.53µs 11:24:02 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:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Shutdown completed; log sequence number 333431; transaction id 298 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.163867756Z level=info msg="Executing migration" id="Update alert_notification table charset" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] mariadbd: Shutdown complete 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.163893396Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=27.03µs 11:24:02 policy-db-migrator | 11:24:02 mariadb | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.166785842Z level=info msg="Executing migration" id="create notification_journal table v1" 11:24:02 policy-db-migrator | 11:24:02 mariadb | 2023-11-15 11:22:25+00:00 [Note] [Entrypoint]: Temporary server stopped 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.167483142Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=697.28µs 11:24:02 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 11:24:02 mariadb | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.171215621Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | 2023-11-15 11:22:25+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.172665234Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.448913ms 11:24:02 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:24:02 mariadb | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.20923749Z level=info msg="Executing migration" id="drop alert_notification_journal" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.21043865Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.201859ms 11:24:02 policy-db-migrator | 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.214076216Z level=info msg="Executing migration" id="create alert_notification_state table v1" 11:24:02 policy-db-migrator | 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Number of transaction pools: 1 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.215174174Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.097658ms 11:24:02 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.218534438Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.219447701Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=912.843µs 11:24:02 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:24:02 mariadb | 2023-11-15 11:22:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.223229321Z level=info msg="Executing migration" id="Add for to alert table" 11:24:02 policy-db-migrator | -------------- 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.226908589Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.678548ms 11:24:02 policy-db-migrator | 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.229919677Z level=info msg="Executing migration" id="Add column uid in alert_notification" 11:24:02 policy-db-migrator | 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Completed initialization of buffer pool 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.233564704Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.644387ms 11:24:02 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.236753055Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: 128 rollback segments are active. 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.236929947Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=178.082µs 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.241097063Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.242403704Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.305741ms 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: log sequence number 333431; transaction id 299 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.247313011Z level=info msg="Executing migration" id="Remove unique index org_id_name" 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 11:24:02 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.248637322Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.322791ms 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] Plugin 'FEEDBACK' is disabled. 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.251984105Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.255645312Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.660557ms 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.259883679Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] Server socket created on IP: '0.0.0.0'. 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.25994754Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=64.551µs 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] Server socket created on IP: '::'. 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.263816451Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] mariadbd: ready for connections. 11:24:02 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.264734426Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=916.895µs 11:24:02 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.267977357Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 11:24:02 mariadb | 2023-11-15 11:22:25 0 [Note] InnoDB: Buffer pool(s) load completed at 231115 11:22:25 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.26946461Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.488663ms 11:24:02 mariadb | 2023-11-15 11:22:26 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.27392406Z level=info msg="Executing migration" id="Drop old annotation table v4" 11:24:02 mariadb | 2023-11-15 11:22:26 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.274044772Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=121.722µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.277331474Z level=info msg="Executing migration" id="create annotation table v5" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.278129656Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=799.542µs 11:24:02 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.281322788Z level=info msg="Executing migration" id="add index annotation 0 v3" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.28213825Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=815.202µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.286647251Z level=info msg="Executing migration" id="add index annotation 1 v3" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.287453424Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=805.863µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.29233957Z level=info msg="Executing migration" id="add index annotation 2 v3" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.293749132Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.406122ms 11:24:02 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.297480022Z level=info msg="Executing migration" id="add index annotation 3 v3" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.298918734Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.438102ms 11:24:02 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.303268223Z level=info msg="Executing migration" id="add index annotation 4 v3" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.3043836Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.114697ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.307755743Z level=info msg="Executing migration" id="Update annotation table charset" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.307781823Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.89µs 11:24:02 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.311158418Z level=info msg="Executing migration" id="Add column region_id to annotation table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.317354715Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.196807ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.321610372Z level=info msg="Executing migration" id="Drop category_id index" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.32275906Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.183979ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.326596151Z level=info msg="Executing migration" id="Add column tags to annotation table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.330564044Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.966713ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.333960947Z level=info msg="Executing migration" id="Create annotation_tag table v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.334686689Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=725.282µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.340214606Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.341100769Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=886.393µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.345651241Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.347156875Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.504984ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.351402752Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.364971685Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.570843ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.37226396Z level=info msg="Executing migration" id="Create annotation_tag table v3" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.37288392Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=620.13µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.377008576Z 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.377880019Z 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=871.103µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.380993769Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.381258632Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=264.774µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.394222797Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.39504995Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=823.704µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.400309072Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.400545127Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=235.015µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.406445169Z level=info msg="Executing migration" id="Add created time to annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.40964973Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.201811ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.41282031Z level=info msg="Executing migration" id="Add updated time to annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.416736601Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.915682ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.421279343Z level=info msg="Executing migration" id="Add index for created in annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.422771377Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.491954ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.428286233Z level=info msg="Executing migration" id="Add index for updated in annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.429160417Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=873.614µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.432247546Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.432478059Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=230.673µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.435582579Z level=info msg="Executing migration" id="Add epoch_end column" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.44203506Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.450791ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.450324721Z level=info msg="Executing migration" id="Add index for epoch_end" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.451740973Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.416222ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.455239929Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.455495802Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=256.553µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.459997024Z level=info msg="Executing migration" id="Move region to single row" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.460369199Z level=info msg="Migration successfully executed" id="Move region to single row" duration=371.805µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.463462329Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.464277891Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=815.342µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.471342292Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.472637513Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.29487ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.479007984Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.479978928Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=970.674µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.484335108Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.485471975Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.139269ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.4896301Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.490705588Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.075418ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.496744522Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.49787526Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.131928ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.5029248Z level=info msg="Executing migration" id="Increase tags column to length 4096" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.502990361Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=66.431µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.507686315Z level=info msg="Executing migration" id="create test_data table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.508506879Z level=info msg="Migration successfully executed" id="create test_data table" duration=818.984µs 11:24:02 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.514755806Z level=info msg="Executing migration" id="create dashboard_version table v1" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.515480868Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=724.532µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.520259303Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.521108847Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=849.904µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.525393345Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.526272778Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=879.423µs 11:24:02 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.52952224Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.529715483Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=193.493µs 11:24:02 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.534852494Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.53529827Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=447.876µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.53841073Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.538495361Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=84.331µs 11:24:02 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.541759923Z level=info msg="Executing migration" id="create team table" 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.542977431Z level=info msg="Migration successfully executed" id="create team table" duration=1.217568ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.548236714Z level=info msg="Executing migration" id="add index team.org_id" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.54924844Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.011336ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.552030244Z level=info msg="Executing migration" id="add unique index team_org_id_name" 11:24:02 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.5529777Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=947.126µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.555926396Z level=info msg="Executing migration" id="Add column uid in team" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.560528208Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.600882ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.56634787Z level=info msg="Executing migration" id="Update uid column values in team" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.566629104Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=284.784µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.570350803Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 11:24:02 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.571488101Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.137788ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.575402063Z level=info msg="Executing migration" id="create team member table" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.576129564Z level=info msg="Migration successfully executed" id="create team member table" duration=727.421µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.578872227Z level=info msg="Executing migration" id="add index team_member.org_id" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.579773362Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=900.865µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.585165327Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 11:24:02 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.58602673Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=861.193µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.589236561Z level=info msg="Executing migration" id="add index team_member.team_id" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.590594632Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.360482ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.593799043Z level=info msg="Executing migration" id="Add column email to team table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.598514937Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.716424ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.603190271Z level=info msg="Executing migration" id="Add column external to team_member table" 11:24:02 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.607830034Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.639263ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.610818221Z level=info msg="Executing migration" id="Add column permission to team_member table" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.616353568Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.533947ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.619361986Z level=info msg="Executing migration" id="create dashboard acl table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.620194689Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=832.454µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.626232084Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 11:24:02 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.627687477Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.455083ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.631117501Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.632757347Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.639006ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.63612324Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.637299459Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.175769ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.643480126Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 11:24:02 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.645383866Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.90238ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.649396049Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 11:24:02 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.650949134Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.556225ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.654729393Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.656184056Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.452953ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.660300501Z level=info msg="Executing migration" id="add index dashboard_permission" 11:24:02 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.661174095Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=873.544µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.665522263Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.66599155Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=469.337µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.669372424Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.669707649Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=335.735µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.674091998Z level=info msg="Executing migration" id="create tag table" 11:24:02 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.675263337Z level=info msg="Migration successfully executed" id="create tag table" duration=1.171019ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.680248705Z level=info msg="Executing migration" id="add index tag.key_value" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.681874541Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.585466ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.685023531Z level=info msg="Executing migration" id="create login attempt table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.68621143Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.187899ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.690348355Z level=info msg="Executing migration" id="add index login_attempt.username" 11:24:02 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.69191864Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.570475ms 11:24:02 policy-db-migrator | -------------- 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.695641108Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.696573033Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=938.896µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.702929833Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.724760367Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.804653ms 11:24:02 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.730450856Z level=info msg="Executing migration" id="create login_attempt v2" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.731731157Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.283371ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.737774983Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.739276296Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.501013ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.746458229Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.746929646Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=471.557µs 11:24:02 policy-db-migrator | > upgrade 0450-pdpgroup.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.751244585Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.752274801Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.028136ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.75917902Z level=info msg="Executing migration" id="create user auth table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.759893341Z level=info msg="Migration successfully executed" id="create user auth table" duration=716.231µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.766421054Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.76806395Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.642136ms 11:24:02 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.77250544Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.77257035Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=65.701µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.776636205Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.784342917Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.705022ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.788954999Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.792585157Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.629888ms 11:24:02 policy-db-migrator | > upgrade 0470-pdp.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.797621135Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.802667826Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.04684ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.806945353Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.813048969Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.103096ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.816832869Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.817852615Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.017076ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.823155908Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.828542403Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.386175ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.831437459Z level=info msg="Executing migration" id="create server_lock table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.832241302Z level=info msg="Migration successfully executed" id="create server_lock table" duration=803.373µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.836891154Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.837894161Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.002937ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.843041062Z level=info msg="Executing migration" id="create user auth token table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.844355133Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.313521ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.848002349Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.849479583Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.477424ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.853940113Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.854892888Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=953.135µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.860274403Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.861879408Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.604835ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.865503686Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.871071234Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.568068ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.877613046Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.878563771Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=950.395µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.882469913Z level=info msg="Executing migration" id="create cache_data table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.883651532Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.178719ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.887305749Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.888798973Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.494274ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.892507981Z level=info msg="Executing migration" id="create short_url table v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.893278904Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=775.613µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.897329387Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.898459915Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.128868ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.902151474Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.902256065Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=105.521µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.906502892Z level=info msg="Executing migration" id="delete alert_definition table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.906583243Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=82.071µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.911353548Z level=info msg="Executing migration" id="recreate alert_definition table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.912177801Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=824.423µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.916374098Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.917871261Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.496173ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.921125472Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.922444863Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.319991ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.928642471Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.928704962Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=62.901µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.933461677Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.935124003Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.662336ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.939434152Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.941086907Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.652475ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.946174677Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.947810974Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.635587ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.952383766Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.95397087Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.583234ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.958638273Z level=info msg="Executing migration" id="Add column paused in alert_definition" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.964639389Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.998716ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.969252561Z level=info msg="Executing migration" id="drop alert_definition table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.970154715Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=904.244µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.975755923Z level=info msg="Executing migration" id="delete alert_definition_version table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.975916227Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=159.953µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.981445794Z level=info msg="Executing migration" id="recreate alert_definition_version table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.982779195Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.33361ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.989670123Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.99139096Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.720497ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.996180166Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:19.997676629Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.496283ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.001839335Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.001973437Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=135.232µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.006377775Z level=info msg="Executing migration" id="drop alert_definition_version table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.007232769Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=854.763µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.013613068Z level=info msg="Executing migration" id="create alert_instance table" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.014926777Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.312669ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.020222279Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.022283592Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=2.059953ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.027023235Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.028220773Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.199098ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.032844154Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.043193745Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=10.347661ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.048899373Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.049978419Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.079026ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.053549144Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 11:24:02 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.054578281Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.029127ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.05906704Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.094219353Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=35.148513ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.098668691Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.13479481Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.126119ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.13865369Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 11:24:02 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.139883259Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.228059ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.143318801Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.144960337Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.640836ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.14902958Z level=info msg="Executing migration" id="add current_reason column related to current_state" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.153147293Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=4.116613ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.159117815Z level=info msg="Executing migration" id="create alert_rule table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.160244173Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.123228ms 11:24:02 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.167210871Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.169509067Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.297085ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.173580879Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.174685157Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.106298ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.179518791Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.180668339Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.149308ms 11:24:02 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.185371841Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.185497863Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=126.652µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.187821299Z level=info msg="Executing migration" id="add column for to alert_rule" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.197760033Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.933174ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.20337845Z level=info msg="Executing migration" id="add column annotations to alert_rule" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.209474583Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.095853ms 11:24:02 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.215451377Z level=info msg="Executing migration" id="add column labels to alert_rule" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.22479305Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.342993ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.257668719Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.259324164Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.655815ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.263725902Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.264685767Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=959.795µs 11:24:02 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.268974873Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.275024407Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.048743ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.279429595Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.285330586Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.900451ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.289824616Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.291824946Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.9996ms 11:24:02 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.295827018Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.302128266Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.297938ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.308018437Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.31409011Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.071113ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.317057086Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.317142157Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=84.941µs 11:24:02 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.326917818Z level=info msg="Executing migration" id="create alert_rule_version table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.327876283Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=959.155µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.336011859Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.337959749Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.94783ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.343591256Z 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:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.344709074Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.115138ms 11:24:02 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.350008856Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.350135537Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=127.071µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.356500475Z level=info msg="Executing migration" id="add column for to alert_rule_version" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.367080699Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=10.579294ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.371453637Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.37619056Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.740073ms 11:24:02 policy-db-migrator | > upgrade 0570-toscadatatype.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.380152051Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.38652502Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.372709ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.39565691Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.402866353Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.209902ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.406555069Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.412679164Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.116815ms 11:24:02 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.417523669Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.41763874Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=117.491µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.419970367Z level=info msg="Executing migration" id=create_alert_configuration_table 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.420620026Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=649.449µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.42406989Z level=info msg="Executing migration" id="Add column default in alert_configuration" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.429818919Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=5.747139ms 11:24:02 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.484733667Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.484841129Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=111.742µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.751851555Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.761599875Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.75164ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.858574444Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.859758142Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.180778ms 11:24:02 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.864473724Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.872616591Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.143517ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.876928937Z level=info msg="Executing migration" id=create_ngalert_configuration_table 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.878171516Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.241669ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.883353897Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.884656077Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.303471ms 11:24:02 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.891585044Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.900022554Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.43924ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.906737147Z level=info msg="Executing migration" id="create provenance_type table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.9075269Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=786.963µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.91270006Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.914364756Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.664596ms 11:24:02 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.922327559Z level=info msg="Executing migration" id="create alert_image table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.923520287Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.192008ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.929718423Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.931696783Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.97683ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.934804621Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.934901494Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=97.533µs 11:24:02 policy-db-migrator | > upgrade 0630-toscanodetype.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.940567421Z level=info msg="Executing migration" id=create_alert_configuration_history_table 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.941451614Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=883.863µs 11:24:02 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:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.948964061Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.950425293Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.461982ms 11:24:02 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.957761456Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.958410816Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.963769439Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.964394279Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=624.66µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.970066587Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.972090587Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.02365ms 11:24:02 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.976205361Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.982657281Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.45144ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.987502526Z level=info msg="Executing migration" id="create library_element table v1" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.989005379Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.503183ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.995552Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:20.996760829Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.208609ms 11:24:02 policy-db-migrator | > upgrade 0660-toscaparameter.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.001161677Z level=info msg="Executing migration" id="create library_element_connection table v1" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.002412426Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.250049ms 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.006535191Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.008202227Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.666386ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.014890643Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.016432157Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.539934ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.020608003Z level=info msg="Executing migration" id="increase max description length to 2048" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.020646983Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=40.53µs 11:24:02 policy-db-migrator | > upgrade 0670-toscapolicies.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.024795379Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.02490977Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=113.222µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.029108586Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.029464062Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=355.646µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.036398531Z level=info msg="Executing migration" id="create data_keys table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.037866074Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.462963ms 11:24:02 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.042745072Z level=info msg="Executing migration" id="create secrets table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.043564454Z level=info msg="Migration successfully executed" id="create secrets table" duration=818.462µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.0477456Z level=info msg="Executing migration" id="rename data_keys name column to id" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.096827583Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.080093ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.101960014Z level=info msg="Executing migration" id="add name column into data_keys" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.109509633Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.549249ms 11:24:02 policy-db-migrator | > upgrade 0690-toscapolicy.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.11431961Z level=info msg="Executing migration" id="copy data_keys id column values into name" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.114544173Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=224.123µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.118970862Z level=info msg="Executing migration" id="rename data_keys name column to label" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.172432715Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=53.460403ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.178862336Z level=info msg="Executing migration" id="rename data_keys id column back to name" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.227758317Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.894171ms 11:24:02 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.233612339Z level=info msg="Executing migration" id="create kv_store table v1" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.234282469Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=669.8µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.24002579Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.241881109Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.854799ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.245310133Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.245802842Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=489.028µs 11:24:02 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.251506761Z level=info msg="Executing migration" id="create permission table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.252389315Z level=info msg="Migration successfully executed" id="create permission table" duration=882.324µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.258567073Z level=info msg="Executing migration" id="add unique index permission.role_id" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.260687355Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.115293ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.26606089Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.267629695Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.568125ms 11:24:02 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.2730238Z level=info msg="Executing migration" id="create role table" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.274352681Z level=info msg="Migration successfully executed" id="create role table" duration=1.326511ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.279681595Z level=info msg="Executing migration" id="add column display_name" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.28765927Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.977625ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.292523268Z level=info msg="Executing migration" id="add column group_name" 11:24:02 policy-db-migrator | > upgrade 0730-toscaproperty.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.298259298Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.733521ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.301863565Z level=info msg="Executing migration" id="add index role.org_id" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.302914391Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.051126ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.306499228Z level=info msg="Executing migration" id="add unique index role_org_id_name" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.307623826Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.124548ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.311055819Z level=info msg="Executing migration" id="add index role_org_id_uid" 11:24:02 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.312200478Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.144059ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.316399244Z level=info msg="Executing migration" id="create team role table" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.317252647Z level=info msg="Migration successfully executed" id="create team role table" duration=853.193µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.320899084Z level=info msg="Executing migration" id="add index team_role.org_id" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.321953741Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.052187ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.325777862Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 11:24:02 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.326947311Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.167308ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.331177327Z level=info msg="Executing migration" id="add index team_role.team_id" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.332292514Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.115347ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.33582788Z level=info msg="Executing migration" id="create user role table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.336683003Z level=info msg="Migration successfully executed" id="create user role table" duration=854.753µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.340118297Z level=info msg="Executing migration" id="add index user_role.org_id" 11:24:02 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.341321017Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.20206ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.345736746Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.347507994Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.765528ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.35105303Z level=info msg="Executing migration" id="add index user_role.user_id" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.352142097Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.087787ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.357805656Z level=info msg="Executing migration" id="create builtin role table" 11:24:02 policy-db-migrator | > upgrade 0770-toscarequirement.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.359132897Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.326281ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.364546312Z level=info msg="Executing migration" id="add index builtin_role.role_id" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.36623486Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.691548ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.369947507Z level=info msg="Executing migration" id="add index builtin_role.name" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.371667734Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.720127ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.375709478Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 11:24:02 policy-db-migrator | > upgrade 0780-toscarequirements.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.38339856Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.688562ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.388430868Z level=info msg="Executing migration" id="add index builtin_role.org_id" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.389520026Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.088898ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.393004731Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.394105348Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.100207ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.397774676Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 11:24:02 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.398819562Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.044946ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.402741755Z level=info msg="Executing migration" id="add unique index role.uid" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.403831541Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.089316ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.407362287Z level=info msg="Executing migration" id="create seed assignment table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.40814789Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=785.363µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.411928489Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 11:24:02 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.413052017Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.123228ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.417391365Z level=info msg="Executing migration" id="add column hidden to role table" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.425357171Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.965196ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.4284949Z level=info msg="Executing migration" id="permission kind migration" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.436426385Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.929035ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.439795008Z level=info msg="Executing migration" id="permission attribute migration" 11:24:02 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.447695523Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.898315ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.451898199Z level=info msg="Executing migration" id="permission identifier migration" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.45764966Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.749881ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.461142844Z level=info msg="Executing migration" id="add permission identifier index" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.462187441Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.044237ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.465560185Z level=info msg="Executing migration" id="create query_history table v1" 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.466430868Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=870.813µs 11:24:02 policy-db-migrator | > upgrade 0820-toscatrigger.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.471266495Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.472335501Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.068556ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.475622773Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.475687584Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=65.371µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.479219599Z level=info msg="Executing migration" id="rbac disabled migrator" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.479326831Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=107.962µs 11:24:02 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.489420621Z level=info msg="Executing migration" id="teams permissions migration" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.490091661Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=671.16µs 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.499206095Z level=info msg="Executing migration" id="dashboard permissions" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.500478624Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.278469ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.508392429Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.509125841Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=733.502µs 11:24:02 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.52045791Z level=info msg="Executing migration" id="drop managed folder create actions" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.520792305Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=334.955µs 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.528780581Z level=info msg="Executing migration" id="alerting notification permissions" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.529251048Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=470.567µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.53957507Z level=info msg="Executing migration" id="create query_history_star table v1" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.540884811Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.310401ms 11:24:02 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.552135658Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.553889767Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.753739ms 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.565734853Z level=info msg="Executing migration" id="add column org_id in query_history_star" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.576012285Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.277712ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.582293224Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.582342535Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=49.531µs 11:24:02 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.586835855Z level=info msg="Executing migration" id="create correlation table v1" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.588381479Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.545514ms 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.593039564Z level=info msg="Executing migration" id="add index correlations.uid" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.594940443Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.900709ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.601775231Z level=info msg="Executing migration" id="add index correlations.source_uid" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.60365051Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.874599ms 11:24:02 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.607885247Z level=info msg="Executing migration" id="add correlation config column" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.616154058Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.268291ms 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.619559022Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.620569387Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.008275ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.625610237Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.626600933Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=991.765µs 11:24:02 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.630251889Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.66328268Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=33.031571ms 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.668604644Z level=info msg="Executing migration" id="create correlation v2" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.669434007Z level=info msg="Migration successfully executed" id="create correlation v2" duration=828.413µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.673756925Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.674884293Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.121038ms 11:24:02 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.678368578Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.679513676Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.144888ms 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.684776129Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.685842106Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.065697ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.689989421Z level=info msg="Executing migration" id="copy correlation v1 to v2" 11:24:02 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.690247575Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=256.464µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.694239688Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.69499617Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=756.372µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.699329238Z level=info msg="Executing migration" id="add provisioning column" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.707501767Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.172219ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.71083255Z level=info msg="Executing migration" id="create entity_events table" 11:24:02 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.711350298Z level=info msg="Migration successfully executed" id="create entity_events table" duration=517.788µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.715325871Z level=info msg="Executing migration" id="create dashboard public config v1" 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.716003731Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=677.2µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.722480563Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.722904869Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.727825968Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:24:02 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.728503538Z 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:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.733076771Z level=info msg="Executing migration" id="Drop old dashboard public config table" 11:24:02 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.734223318Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.148067ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.73813831Z level=info msg="Executing migration" id="recreate dashboard public config v1" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.739004454Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=866.034µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.742953496Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 11:24:02 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.744019062Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.065326ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.752148951Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:24:02 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.753843987Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.694936ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.759352994Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.76097282Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.614896ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.766902064Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:24:02 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.768050832Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.149408ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.77362755Z level=info msg="Executing migration" id="Drop public config table" 11:24:02 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.775103113Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.478263ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.78377965Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.785017989Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.236709ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.789127474Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 11:24:02 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.790938302Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.811498ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.795104358Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.796282506Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.178538ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.802132439Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.803307487Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.171988ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.806867693Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 11:24:02 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.838704245Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.838422ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.841838364Z level=info msg="Executing migration" id="add annotations_enabled column" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.848596391Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.757427ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.853844303Z level=info msg="Executing migration" id="add time_selection_enabled column" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.862428149Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.584006ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.865390025Z level=info msg="Executing migration" id="delete orphaned public dashboards" 11:24:02 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.865632889Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=242.264µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.867784193Z level=info msg="Executing migration" id="add share column" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.875711937Z level=info msg="Migration successfully executed" id="add share column" duration=7.927064ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.881106833Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.881352028Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=245.174µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.884205062Z level=info msg="Executing migration" id="create file table" 11:24:02 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.884876433Z level=info msg="Migration successfully executed" id="create file table" duration=671.06µs 11:24:02 policy-db-migrator | -------------- 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.88788836Z level=info msg="Executing migration" id="file table idx: path natural pk" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.889730268Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.846698ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.893114142Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.894627616Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.514054ms 11:24:02 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.899646876Z level=info msg="Executing migration" id="create file_meta table" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.900494549Z level=info msg="Migration successfully executed" id="create file_meta table" duration=847.173µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.903534446Z level=info msg="Executing migration" id="file table idx: path key" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.904810026Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.27477ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.911699735Z level=info msg="Executing migration" id="set path collation in file table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.911902988Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=200.443µs 11:24:02 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.915036938Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.915253642Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=219.274µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.918484412Z level=info msg="Executing migration" id="managed permissions migration" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.919404637Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=922.715µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.923163236Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.923647894Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=483.889µs 11:24:02 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.93036059Z level=info msg="Executing migration" id="RBAC action name migrator" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.931186652Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=825.752µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.934150489Z level=info msg="Executing migration" id="Add UID column to playlist" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.946825058Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.674949ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.949903547Z level=info msg="Executing migration" id="Update uid column values in playlist" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.950095971Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=170.413µs 11:24:02 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.952166053Z level=info msg="Executing migration" id="Add index for uid in playlist" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.953015447Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=849.194µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.9576827Z level=info msg="Executing migration" id="update group index for alert rules" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.958128617Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=445.117µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.961052893Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.961404739Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=351.256µs 11:24:02 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.96402014Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.964788802Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=768.332µs 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.968161255Z level=info msg="Executing migration" id="add action column to seed_assignment" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.977517092Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.356668ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.982582332Z level=info msg="Executing migration" id="add scope column to seed_assignment" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.989892998Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.303795ms 11:24:02 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.993609447Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.995465935Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.856798ms 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:21.999314136Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.105380246Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=106.07396ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.110978143Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.111907976Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=929.373µs 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.11602879Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 11:24:02 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.116984215Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=955.295µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.120235785Z level=info msg="Executing migration" id="add primary key to seed_assigment" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.154217699Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.983384ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.159683914Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.159926127Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=242.433µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.163094577Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 11:24:02 policy-db-migrator | > upgrade 0100-pdp.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.163650705Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=555.878µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.167465824Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 11:24:02 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.167993102Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=538.928µs 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.173401836Z level=info msg="Executing migration" id="create folder table" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.174566604Z level=info msg="Migration successfully executed" id="create folder table" duration=1.165208ms 11:24:02 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.178553076Z level=info msg="Executing migration" id="Add index for parent_uid" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.179937387Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.384131ms 11:24:02 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.185801578Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.187795578Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.99082ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.191420864Z level=info msg="Executing migration" id="Update folder title length" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.191468885Z level=info msg="Migration successfully executed" id="Update folder title length" duration=49.661µs 11:24:02 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.194877657Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.196149277Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.27133ms 11:24:02 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.199406828Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.200643157Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.236539ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.20540731Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.206756281Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.348621ms 11:24:02 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.209756437Z level=info msg="Executing migration" id="create anon_device table" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.211094258Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.371981ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.216516142Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.21838058Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.865248ms 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.221821524Z level=info msg="Executing migration" id="add index anon_device.updated_at" 11:24:02 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.223085424Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.26411ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.226335134Z level=info msg="Executing migration" id="create signing_key table" 11:24:02 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:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.227285609Z level=info msg="Migration successfully executed" id="create signing_key table" duration=950.165µs 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.233412293Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.235132519Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.723326ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.238598833Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 11:24:02 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.240398311Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.799117ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.243805553Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.244176999Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=372.216µs 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=migrator t=2023-11-15T11:22:22.25075957Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.088511486s 11:24:02 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 11:24:02 grafana | logger=sqlstore t=2023-11-15T11:22:22.268955221Z level=info msg="Created default admin" user=admin 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=sqlstore t=2023-11-15T11:22:22.269258667Z level=info msg="Created default organization" 11:24:02 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 11:24:02 grafana | logger=secrets t=2023-11-15T11:22:22.272642759Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=local.finder t=2023-11-15T11:22:22.326162155Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=query_data t=2023-11-15T11:22:22.328802316Z level=info msg="Query Service initialization" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=live.push_http t=2023-11-15T11:22:22.332777827Z level=info msg="Live Push Gateway initialization" 11:24:02 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 11:24:02 grafana | logger=infra.usagestats.collector t=2023-11-15T11:22:24.62193337Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=provisioning.datasources t=2023-11-15T11:22:24.624569522Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz 11:24:02 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 11:24:02 grafana | logger=provisioning.alerting t=2023-11-15T11:22:24.646814345Z level=info msg="starting to provision alerting" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=provisioning.alerting t=2023-11-15T11:22:24.646831975Z level=info msg="finished to provision alerting" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=ngalert.state.manager t=2023-11-15T11:22:24.647132769Z level=info msg="Warming state cache for startup" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=grafanaStorageLogger t=2023-11-15T11:22:24.647133059Z level=info msg="Storage starting" 11:24:02 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 11:24:02 grafana | logger=ngalert.state.manager t=2023-11-15T11:22:24.64840057Z level=info msg="State cache has been initialized" states=0 duration=1.266321ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=ngalert.scheduler t=2023-11-15T11:22:24.64845552Z level=info msg="Starting scheduler" tickInterval=10s 11:24:02 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 11:24:02 grafana | logger=ticker t=2023-11-15T11:22:24.648752885Z level=info msg=starting first_tick=2023-11-15T11:22:30Z 11:24:02 policy-db-migrator | JOIN pdpstatistics b 11:24:02 grafana | logger=ngalert.multiorg.alertmanager t=2023-11-15T11:22:24.649940364Z level=info msg="Starting MultiOrg Alertmanager" 11:24:02 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 11:24:02 grafana | logger=http.server t=2023-11-15T11:22:24.653178425Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 11:24:02 policy-db-migrator | SET a.id = b.id 11:24:02 grafana | logger=ngalert.migration t=2023-11-15T11:22:24.677545702Z level=info msg=Starting 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=ngalert.migration t=2023-11-15T11:22:24.678257473Z level=info msg="Starting legacy migration" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=ngalert.migration orgID=1 t=2023-11-15T11:22:24.678596468Z level=info msg="Migrating alerts for organisation" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=ngalert.migration orgID=1 t=2023-11-15T11:22:24.679298819Z level=info msg="Alerts found to migrate" alerts=0 11:24:02 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 11:24:02 grafana | logger=ngalert.migration orgID=1 t=2023-11-15T11:22:24.680080961Z level=warn msg="No available receivers" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=ngalert.migration t=2023-11-15T11:22:24.683991323Z level=info msg="Completed legacy migration" 11:24:02 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 11:24:02 grafana | logger=grafana.update.checker t=2023-11-15T11:22:24.686014506Z level=info msg="Update check succeeded" duration=35.29663ms 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=sqlstore.transactions t=2023-11-15T11:22:24.693950131Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=plugins.update.checker t=2023-11-15T11:22:24.725632464Z level=info msg="Update check succeeded" duration=77.915836ms 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 11:24:02 grafana | logger=sqlstore.transactions t=2023-11-15T11:22:24.730924118Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=sqlstore.transactions t=2023-11-15T11:22:24.737116906Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:24:02 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:24:02 grafana | logger=sqlstore.transactions t=2023-11-15T11:22:24.749573944Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=dashboard-service t=2023-11-15T11:22:24.806632779Z level=error msg="Could not make user admin" dashboard="Spring Boot Statistics & Endpoint Metrics" namespaceID=user userID=0 error="identifier is not initialized" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=dashboard-service t=2023-11-15T11:22:24.818394645Z level=error msg="Could not make user admin" dashboard="Policy PAP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=sqlstore.transactions t=2023-11-15T11:22:24.820445118Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 11:24:02 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 11:24:02 grafana | logger=dashboard-service t=2023-11-15T11:22:24.866519578Z level=error msg="Could not make user admin" dashboard="Policy XACML-PDP" namespaceID=user userID=0 error="identifier is not initialized" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=dashboard-service t=2023-11-15T11:22:24.888292793Z level=error msg="Could not make user admin" dashboard="SLA's Metrics" namespaceID=user userID=0 error="identifier is not initialized" 11:24:02 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 11:24:02 grafana | logger=dashboard-service t=2023-11-15T11:22:24.903639916Z level=error msg="Could not make user admin" dashboard="Policy APEX-PDP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" 11:24:02 policy-db-migrator | -------------- 11:24:02 grafana | logger=dashboard-service t=2023-11-15T11:22:24.918413281Z level=error msg="Could not make user admin" dashboard="Policy API Jakarta" namespaceID=user userID=0 error="identifier is not initialized" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=dashboard-service t=2023-11-15T11:22:24.938234975Z level=error msg="Could not make user admin" dashboard="Policy Distribution" namespaceID=user userID=0 error="identifier is not initialized" 11:24:02 policy-db-migrator | 11:24:02 grafana | logger=dashboard-service t=2023-11-15T11:22:24.953815982Z level=error msg="Could not make user admin" dashboard="Policy Drools-PDP" namespaceID=user userID=0 error="identifier is not initialized" 11:24:02 policy-db-migrator | > upgrade 0210-sequence.sql 11:24:02 grafana | logger=dashboard-service t=2023-11-15T11:22:24.971567294Z level=error msg="Could not make user admin" dashboard="JVM Basic Metrics" namespaceID=user userID=0 error="identifier is not initialized" 11:24:02 policy-db-migrator | -------------- 11:24:02 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:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0220-sequence.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 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:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 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:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0120-toscatrigger.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0140-toscaparameter.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0150-toscaproperty.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0100-upgrade.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | select 'upgrade to 1100 completed' as msg 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | msg 11:24:02 policy-db-migrator | upgrade to 1100 completed 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0120-audit_sequence.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 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:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 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:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | TRUNCATE TABLE sequence 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP TABLE pdpstatistics 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | DROP TABLE statistics_sequence 11:24:02 policy-db-migrator | -------------- 11:24:02 policy-db-migrator | 11:24:02 policy-db-migrator | policyadmin: OK: upgrade (1300) 11:24:02 policy-db-migrator | name version 11:24:02 policy-db-migrator | policyadmin 1300 11:24:02 policy-db-migrator | ID script operation from_version to_version tag success atTime 11:24:02 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:26 11:24:02 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:27 11:24:02 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:28 11:24:02 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:29 11:24:02 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1511231122260800u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1511231122260900u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1511231122261000u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1511231122261000u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1511231122261000u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1511231122261000u 1 2023-11-15 11:22:30 11:24:02 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1511231122261000u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1511231122261000u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1511231122261000u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1511231122261000u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1511231122261000u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1511231122261100u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1511231122261200u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1511231122261200u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1511231122261200u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1511231122261200u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1511231122261300u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1511231122261300u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1511231122261300u 1 2023-11-15 11:22:31 11:24:02 policy-db-migrator | policyadmin: OK @ 1300 11:24:02 ++ echo 'Tearing down containers...' 11:24:02 Tearing down containers... 11:24:02 ++ docker-compose down -v --remove-orphans 11:24:03 Stopping policy-api ... 11:24:03 Stopping grafana ... 11:24:03 Stopping mariadb ... 11:24:03 Stopping prometheus ... 11:24:04 Stopping grafana ... done 11:24:04 Stopping prometheus ... done 11:24:04 Stopping mariadb ... done 11:24:13 Stopping policy-api ... done 11:24:13 Removing policy-api ... 11:24:13 Removing policy-db-migrator ... 11:24:13 Removing grafana ... 11:24:13 Removing mariadb ... 11:24:13 Removing prometheus ... 11:24:13 Removing policy-api ... done 11:24:13 Removing policy-db-migrator ... done 11:24:13 Removing mariadb ... done 11:24:13 Removing prometheus ... done 11:24:13 Removing grafana ... done 11:24:13 Removing network compose_default 11:24:13 ++ cd /w/workspace/policy-api-master-project-csit-api 11:24:13 + load_set 11:24:13 + _setopts=hxB 11:24:13 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:24:13 ++ tr : ' ' 11:24:13 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:24:13 + set +o braceexpand 11:24:13 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:24:13 + set +o hashall 11:24:13 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:24:13 + set +o interactive-comments 11:24:13 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:24:13 + set +o xtrace 11:24:13 ++ echo hxB 11:24:13 ++ sed 's/./& /g' 11:24:13 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:24:13 + set +h 11:24:13 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:24:13 + set +x 11:24:13 + [[ -n /tmp/tmp.nYsJFgT4d9 ]] 11:24:13 + rsync -av /tmp/tmp.nYsJFgT4d9/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:24:13 sending incremental file list 11:24:13 ./ 11:24:13 log.html 11:24:14 output.xml 11:24:14 report.html 11:24:14 testplan.txt 11:24:14 11:24:14 sent 1,344,564 bytes received 95 bytes 2,689,318.00 bytes/sec 11:24:14 total size is 1,343,915 speedup is 1.00 11:24:14 + rm -rf /w/workspace/policy-api-master-project-csit-api/models 11:24:14 + exit 0 11:24:14 $ ssh-agent -k 11:24:14 unset SSH_AUTH_SOCK; 11:24:14 unset SSH_AGENT_PID; 11:24:14 echo Agent pid 2200 killed; 11:24:14 [ssh-agent] Stopped. 11:24:14 Robot results publisher started... 11:24:14 -Parsing output xml: 11:24:14 Done! 11:24:14 -Copying log files to build dir: 11:24:14 Done! 11:24:14 -Assigning results to build: 11:24:14 Done! 11:24:14 -Checking thresholds: 11:24:14 Done! 11:24:14 Done publishing Robot results. 11:24:14 [PostBuildScript] - [INFO] Executing post build scripts. 11:24:14 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins7893132321233129923.sh 11:24:14 ---> sysstat.sh 11:24:15 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6114781536140395349.sh 11:24:15 ---> package-listing.sh 11:24:15 ++ tr '[:upper:]' '[:lower:]' 11:24:15 ++ facter osfamily 11:24:15 + OS_FAMILY=debian 11:24:15 + workspace=/w/workspace/policy-api-master-project-csit-api 11:24:15 + START_PACKAGES=/tmp/packages_start.txt 11:24:15 + END_PACKAGES=/tmp/packages_end.txt 11:24:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:24:15 + PACKAGES=/tmp/packages_start.txt 11:24:15 + '[' /w/workspace/policy-api-master-project-csit-api ']' 11:24:15 + PACKAGES=/tmp/packages_end.txt 11:24:15 + case "${OS_FAMILY}" in 11:24:15 + dpkg -l 11:24:15 + grep '^ii' 11:24:15 + '[' -f /tmp/packages_start.txt ']' 11:24:15 + '[' -f /tmp/packages_end.txt ']' 11:24:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:24:15 + '[' /w/workspace/policy-api-master-project-csit-api ']' 11:24:15 + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ 11:24:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ 11:24:15 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15704580934759339038.sh 11:24:15 ---> capture-instance-metadata.sh 11:24:15 Setup pyenv: 11:24:15 system 11:24:15 3.8.13 11:24:15 3.9.13 11:24:15 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:24:15 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DcKB from file:/tmp/.os_lf_venv 11:24:17 lf-activate-venv(): INFO: Installing: lftools 11:24:27 lf-activate-venv(): INFO: Adding /tmp/venv-DcKB/bin to PATH 11:24:27 INFO: Running in OpenStack, capturing instance metadata 11:24:27 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8535827895921216114.sh 11:24:27 provisioning config files... 11:24:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config3898916290056628767tmp 11:24:27 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:24:27 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:24:27 [EnvInject] - Injecting environment variables from a build step. 11:24:27 [EnvInject] - Injecting as environment variables the properties content 11:24:27 SERVER_ID=logs 11:24:27 11:24:27 [EnvInject] - Variables injected successfully. 11:24:27 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins11996796954082050821.sh 11:24:27 ---> create-netrc.sh 11:24:27 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8151282454759700898.sh 11:24:27 ---> python-tools-install.sh 11:24:27 Setup pyenv: 11:24:27 system 11:24:27 3.8.13 11:24:27 3.9.13 11:24:27 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:24:27 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DcKB from file:/tmp/.os_lf_venv 11:24:29 lf-activate-venv(): INFO: Installing: lftools 11:24:36 lf-activate-venv(): INFO: Adding /tmp/venv-DcKB/bin to PATH 11:24:36 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15683969207260829424.sh 11:24:36 ---> sudo-logs.sh 11:24:36 Archiving 'sudo' log.. 11:24:36 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8332870337492710232.sh 11:24:36 ---> job-cost.sh 11:24:36 Setup pyenv: 11:24:36 system 11:24:36 3.8.13 11:24:36 3.9.13 11:24:36 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:24:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DcKB from file:/tmp/.os_lf_venv 11:24:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:24:45 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:24:45 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 11:24:45 virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. 11:24:45 lf-activate-venv(): INFO: Adding /tmp/venv-DcKB/bin to PATH 11:24:45 INFO: No Stack... 11:24:45 INFO: Retrieving Pricing Info for: v3-standard-8 11:24:45 INFO: Archiving Costs 11:24:46 [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins12413231538836748937.sh 11:24:46 ---> logs-deploy.sh 11:24:46 Setup pyenv: 11:24:46 system 11:24:46 3.8.13 11:24:46 3.9.13 11:24:46 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:24:46 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DcKB from file:/tmp/.os_lf_venv 11:24:47 lf-activate-venv(): INFO: Installing: lftools 11:24:56 lf-activate-venv(): INFO: Adding /tmp/venv-DcKB/bin to PATH 11:24:56 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1419 11:24:56 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:24:57 Archives upload complete. 11:24:57 INFO: archiving logs to Nexus 11:24:58 ---> uname -a: 11:24:58 Linux prd-ubuntu1804-docker-8c-8g-76099 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:24:58 11:24:58 11:24:58 ---> lscpu: 11:24:58 Architecture: x86_64 11:24:58 CPU op-mode(s): 32-bit, 64-bit 11:24:58 Byte Order: Little Endian 11:24:58 CPU(s): 8 11:24:58 On-line CPU(s) list: 0-7 11:24:58 Thread(s) per core: 1 11:24:58 Core(s) per socket: 1 11:24:58 Socket(s): 8 11:24:58 NUMA node(s): 1 11:24:58 Vendor ID: AuthenticAMD 11:24:58 CPU family: 23 11:24:58 Model: 49 11:24:58 Model name: AMD EPYC-Rome Processor 11:24:58 Stepping: 0 11:24:58 CPU MHz: 2799.998 11:24:58 BogoMIPS: 5599.99 11:24:58 Virtualization: AMD-V 11:24:58 Hypervisor vendor: KVM 11:24:58 Virtualization type: full 11:24:58 L1d cache: 32K 11:24:58 L1i cache: 32K 11:24:58 L2 cache: 512K 11:24:58 L3 cache: 16384K 11:24:58 NUMA node0 CPU(s): 0-7 11:24:58 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:24:58 11:24:58 11:24:58 ---> nproc: 11:24:58 8 11:24:58 11:24:58 11:24:58 ---> df -h: 11:24:58 Filesystem Size Used Avail Use% Mounted on 11:24:58 udev 16G 0 16G 0% /dev 11:24:58 tmpfs 3.2G 708K 3.2G 1% /run 11:24:58 /dev/vda1 155G 12G 144G 8% / 11:24:58 tmpfs 16G 0 16G 0% /dev/shm 11:24:58 tmpfs 5.0M 0 5.0M 0% /run/lock 11:24:58 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:24:58 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:24:58 tmpfs 3.2G 0 3.2G 0% /run/user/1001 11:24:58 11:24:58 11:24:58 ---> free -m: 11:24:58 total used free shared buff/cache available 11:24:58 Mem: 32167 839 27247 0 4080 30871 11:24:58 Swap: 1023 0 1023 11:24:58 11:24:58 11:24:58 ---> ip addr: 11:24:58 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:24:58 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:24:58 inet 127.0.0.1/8 scope host lo 11:24:58 valid_lft forever preferred_lft forever 11:24:58 inet6 ::1/128 scope host 11:24:58 valid_lft forever preferred_lft forever 11:24:58 2: ens3: mtu 1458 qdisc fq_codel state UP group default qlen 1000 11:24:58 link/ether fa:16:3e:cd:6d:23 brd ff:ff:ff:ff:ff:ff 11:24:58 inet 10.30.106.34/23 brd 10.30.107.255 scope global dynamic ens3 11:24:58 valid_lft 85658sec preferred_lft 85658sec 11:24:58 inet6 fe80::f816:3eff:fecd:6d23/64 scope link 11:24:58 valid_lft forever preferred_lft forever 11:24:58 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 11:24:58 link/ether 02:42:6e:b3:b5:24 brd ff:ff:ff:ff:ff:ff 11:24:58 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:24:58 valid_lft forever preferred_lft forever 11:24:58 11:24:58 11:24:58 ---> sar -b -r -n DEV: 11:24:58 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-76099) 11/15/23 _x86_64_ (8 CPU) 11:24:58 11:24:58 11:12:41 LINUX RESTART (8 CPU) 11:24:58 11:24:58 11:13:01 tps rtps wtps bread/s bwrtn/s 11:24:58 11:14:01 82.52 43.59 38.93 3880.02 56131.18 11:24:58 11:15:01 15.33 0.00 15.33 0.00 22465.46 11:24:58 11:16:01 15.11 0.00 15.11 0.00 22185.00 11:24:58 11:17:01 14.25 0.02 14.23 0.13 20845.33 11:24:58 11:18:01 14.59 0.00 14.59 0.00 21065.18 11:24:58 11:19:01 14.15 0.20 13.95 23.33 20584.04 11:24:58 11:20:01 100.03 39.46 60.57 1813.56 24966.24 11:24:58 11:21:01 79.88 13.53 66.35 1106.51 11005.16 11:24:58 11:22:01 118.03 10.43 107.60 1697.45 19236.26 11:24:58 11:23:01 317.51 13.25 304.27 798.03 52124.88 11:24:58 11:24:01 2.88 0.05 2.83 9.87 90.52 11:24:58 Average: 70.47 10.97 59.50 849.36 24613.95 11:24:58 11:24:58 11:13:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:24:58 11:14:01 30662584 31906304 2276636 6.91 38592 1533416 1315716 3.87 617128 1415796 424 11:24:58 11:15:01 30657164 31901016 2282056 6.93 38680 1533420 1315716 3.87 622232 1415764 240 11:24:58 11:16:01 30651776 31895744 2287444 6.94 38768 1533420 1315716 3.87 627808 1415764 176 11:24:58 11:17:01 30649348 31893384 2289872 6.95 38860 1533424 1315716 3.87 628972 1415776 232 11:24:58 11:18:01 30649120 31893336 2290100 6.95 38960 1533424 1315716 3.87 629292 1415780 40 11:24:58 11:19:01 30633036 31878460 2306184 7.00 39064 1534492 1315716 3.87 643844 1416352 348 11:24:58 11:20:01 30158288 31683440 2780932 8.44 58844 1782360 1494720 4.40 906876 1599880 100856 11:24:58 11:21:01 29908276 31731120 3030944 9.20 78468 2044748 1419092 4.18 847192 1877384 144348 11:24:58 11:22:01 27965664 31665028 4973556 15.10 114136 3813376 1460004 4.30 1005384 3551592 1337712 11:24:58 11:23:01 26945420 30688020 5993800 18.20 127916 3833828 4198704 12.35 2062336 3477824 1324 11:24:58 11:24:01 26961492 30705328 5977728 18.15 127960 3834816 4141832 12.19 2046916 3477180 20 11:24:58 Average: 29622015 31621925 3317205 10.07 67295 2228248 1873513 5.51 967089 2043554 144156 11:24:58 11:24:58 11:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:24:58 11:14:01 ens3 183.22 127.88 567.96 29.21 0.00 0.00 0.00 0.00 11:24:58 11:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:14:01 lo 0.80 0.80 0.08 0.08 0.00 0.00 0.00 0.00 11:24:58 11:15:01 ens3 3.25 1.15 2.55 0.62 0.00 0.00 0.00 0.00 11:24:58 11:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:24:58 11:16:01 ens3 0.75 0.62 0.32 1.09 0.00 0.00 0.00 0.00 11:24:58 11:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:17:01 ens3 0.33 0.23 0.07 0.17 0.00 0.00 0.00 0.00 11:24:58 11:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:24:58 11:18:01 ens3 0.15 0.14 0.06 0.17 0.00 0.00 0.00 0.00 11:24:58 11:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:19:01 ens3 8.35 6.20 12.22 2.54 0.00 0.00 0.00 0.00 11:24:58 11:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:24:58 11:20:01 ens3 135.34 91.35 900.73 38.55 0.00 0.00 0.00 0.00 11:24:58 11:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:20:01 lo 0.87 0.87 0.09 0.09 0.00 0.00 0.00 0.00 11:24:58 11:21:01 ens3 39.50 28.20 558.38 5.70 0.00 0.00 0.00 0.00 11:24:58 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:21:01 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 11:24:58 11:22:01 ens3 337.74 200.17 9773.84 21.95 0.00 0.00 0.00 0.00 11:24:58 11:22:01 br-63348b3ba1ab 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:22:01 lo 7.87 7.87 0.73 0.73 0.00 0.00 0.00 0.00 11:24:58 11:23:01 ens3 8.63 6.38 2.00 1.52 0.00 0.00 0.00 0.00 11:24:58 11:23:01 br-63348b3ba1ab 3.53 4.00 6.17 2.51 0.00 0.00 0.00 0.00 11:24:58 11:23:01 vethe2d82b1 130.61 160.02 114.57 38.97 0.00 0.00 0.00 0.01 11:24:58 11:23:01 veth90a039b 124.80 105.45 40.63 113.91 0.00 0.00 0.00 0.01 11:24:58 11:24:01 ens3 11.75 10.36 5.08 2.35 0.00 0.00 0.00 0.00 11:24:58 11:24:01 br-63348b3ba1ab 1.68 2.00 0.13 0.19 0.00 0.00 0.00 0.00 11:24:58 11:24:01 vethe2d82b1 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 11:24:58 11:24:01 veth90a039b 1.02 1.17 0.82 0.08 0.00 0.00 0.00 0.00 11:24:58 Average: ens3 66.37 43.03 1076.44 9.46 0.00 0.00 0.00 0.00 11:24:58 Average: br-63348b3ba1ab 0.47 0.55 0.57 0.25 0.00 0.00 0.00 0.00 11:24:58 Average: vethe2d82b1 11.89 14.57 10.43 3.55 0.00 0.00 0.00 0.00 11:24:58 Average: veth90a039b 11.45 9.71 3.77 10.38 0.00 0.00 0.00 0.00 11:24:58 11:24:58 11:24:58 ---> sar -P ALL: 11:24:58 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-76099) 11/15/23 _x86_64_ (8 CPU) 11:24:58 11:24:58 11:12:41 LINUX RESTART (8 CPU) 11:24:58 11:24:58 11:13:01 CPU %user %nice %system %iowait %steal %idle 11:24:58 11:14:01 all 2.22 0.00 0.60 4.58 0.02 92.58 11:24:58 11:14:01 0 1.46 0.00 0.49 25.07 0.03 72.95 11:24:58 11:14:01 1 3.64 0.00 0.33 2.25 0.02 93.76 11:24:58 11:14:01 2 1.72 0.00 0.58 0.23 0.02 97.45 11:24:58 11:14:01 3 2.10 0.00 0.18 0.07 0.02 97.63 11:24:58 11:14:01 4 2.51 0.00 1.84 6.07 0.05 89.54 11:24:58 11:14:01 5 1.79 0.00 0.43 0.53 0.02 97.23 11:24:58 11:14:01 6 1.95 0.00 0.48 2.34 0.02 95.21 11:24:58 11:14:01 7 2.57 0.00 0.45 0.15 0.00 96.83 11:24:58 11:15:01 all 0.07 0.00 0.01 0.99 0.01 98.93 11:24:58 11:15:01 0 0.02 0.00 0.02 7.89 0.02 92.06 11:24:58 11:15:01 1 0.00 0.00 0.00 0.00 0.00 100.00 11:24:58 11:15:01 2 0.03 0.00 0.00 0.00 0.00 99.97 11:24:58 11:15:01 3 0.03 0.00 0.02 0.00 0.00 99.95 11:24:58 11:15:01 4 0.20 0.00 0.02 0.00 0.02 99.77 11:24:58 11:15:01 5 0.08 0.00 0.02 0.00 0.02 99.88 11:24:58 11:15:01 6 0.08 0.00 0.02 0.00 0.00 99.90 11:24:58 11:15:01 7 0.10 0.00 0.02 0.00 0.02 99.87 11:24:58 11:16:01 all 0.05 0.00 0.01 0.91 0.01 99.02 11:24:58 11:16:01 0 0.02 0.00 0.02 7.27 0.00 92.69 11:24:58 11:16:01 1 0.02 0.00 0.00 0.00 0.00 99.98 11:24:58 11:16:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:24:58 11:16:01 3 0.10 0.00 0.00 0.00 0.00 99.90 11:24:58 11:16:01 4 0.03 0.00 0.02 0.00 0.02 99.93 11:24:58 11:16:01 5 0.13 0.00 0.00 0.00 0.02 99.85 11:24:58 11:16:01 6 0.03 0.00 0.02 0.00 0.00 99.95 11:24:58 11:16:01 7 0.03 0.00 0.00 0.00 0.00 99.97 11:24:58 11:17:01 all 0.02 0.00 0.01 1.62 0.00 98.34 11:24:58 11:17:01 0 0.02 0.00 0.02 13.01 0.02 86.94 11:24:58 11:17:01 1 0.00 0.00 0.00 0.00 0.00 100.00 11:24:58 11:17:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:24:58 11:17:01 3 0.00 0.00 0.00 0.00 0.00 100.00 11:24:58 11:17:01 4 0.03 0.00 0.02 0.00 0.02 99.93 11:24:58 11:17:01 5 0.07 0.00 0.02 0.00 0.00 99.92 11:24:58 11:17:01 6 0.03 0.00 0.02 0.00 0.00 99.95 11:24:58 11:17:01 7 0.02 0.00 0.00 0.00 0.00 99.98 11:24:58 11:18:01 all 0.02 0.00 0.01 1.52 0.01 98.44 11:24:58 11:18:01 0 0.03 0.00 0.02 12.11 0.00 87.84 11:24:58 11:18:01 1 0.00 0.00 0.00 0.00 0.00 100.00 11:24:58 11:18:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:24:58 11:18:01 3 0.02 0.00 0.00 0.00 0.00 99.98 11:24:58 11:18:01 4 0.02 0.00 0.03 0.00 0.02 99.93 11:24:58 11:18:01 5 0.05 0.00 0.02 0.00 0.02 99.92 11:24:58 11:18:01 6 0.03 0.00 0.00 0.00 0.00 99.97 11:24:58 11:18:01 7 0.05 0.00 0.02 0.00 0.00 99.93 11:24:58 11:19:01 all 0.16 0.00 0.01 1.82 0.00 98.00 11:24:58 11:19:01 0 0.17 0.00 0.02 14.50 0.02 85.30 11:24:58 11:19:01 1 0.02 0.00 0.00 0.00 0.00 99.98 11:24:58 11:19:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:24:58 11:19:01 3 0.35 0.00 0.00 0.00 0.00 99.65 11:24:58 11:19:01 4 0.48 0.00 0.05 0.00 0.02 99.45 11:24:58 11:19:01 5 0.15 0.00 0.02 0.00 0.00 99.83 11:24:58 11:19:01 6 0.13 0.00 0.02 0.00 0.00 99.85 11:24:58 11:19:01 7 0.03 0.00 0.02 0.05 0.00 99.90 11:24:58 11:20:01 all 7.20 0.00 0.57 6.42 0.04 85.77 11:24:58 11:20:01 0 20.95 0.00 1.00 40.99 0.10 36.96 11:24:58 11:20:01 1 16.13 0.00 1.07 4.24 0.03 78.52 11:24:58 11:20:01 2 3.44 0.00 0.20 0.47 0.05 95.84 11:24:58 11:20:01 3 4.77 0.00 0.33 0.23 0.02 94.64 11:24:58 11:20:01 4 6.30 0.00 0.79 2.74 0.03 90.14 11:24:58 11:20:01 5 2.76 0.00 0.50 1.20 0.02 95.52 11:24:58 11:20:01 6 1.90 0.00 0.28 0.70 0.02 97.10 11:24:58 11:20:01 7 1.37 0.00 0.35 0.85 0.02 97.41 11:24:58 11:21:01 all 7.54 0.00 0.57 4.79 0.03 87.07 11:24:58 11:21:01 0 3.37 0.00 0.30 4.17 0.03 92.13 11:24:58 11:21:01 1 0.60 0.00 0.20 1.35 0.03 97.81 11:24:58 11:21:01 2 3.50 0.00 0.35 0.65 0.02 95.48 11:24:58 11:21:01 3 0.45 0.00 0.05 0.40 0.02 99.08 11:24:58 11:21:01 4 23.95 0.00 1.44 5.14 0.05 69.42 11:24:58 11:21:01 5 14.61 0.00 0.79 2.61 0.03 81.97 11:24:58 11:21:01 6 6.40 0.00 0.50 0.13 0.00 92.97 11:24:58 11:21:01 7 7.58 0.00 0.94 23.94 0.03 67.51 11:24:58 11:22:01 all 10.22 0.00 2.61 4.28 0.05 82.84 11:24:58 11:22:01 0 25.23 0.00 2.52 5.69 0.05 66.51 11:24:58 11:22:01 1 13.13 0.00 3.75 7.91 0.07 75.14 11:24:58 11:22:01 2 6.14 0.00 2.83 1.43 0.07 89.54 11:24:58 11:22:01 3 5.79 0.00 2.89 0.30 0.03 90.98 11:24:58 11:22:01 4 6.36 0.00 1.51 0.29 0.05 91.80 11:24:58 11:22:01 5 8.65 0.00 1.92 0.45 0.03 88.94 11:24:58 11:22:01 6 5.94 0.00 2.10 13.42 0.05 78.49 11:24:58 11:22:01 7 10.48 0.00 3.41 4.74 0.05 81.32 11:24:58 11:23:01 all 15.14 0.00 2.01 4.80 0.05 77.99 11:24:58 11:23:01 0 19.03 0.00 2.23 4.72 0.05 73.97 11:24:58 11:23:01 1 12.30 0.00 2.01 24.38 0.07 61.25 11:24:58 11:23:01 2 14.05 0.00 1.79 0.35 0.05 83.76 11:24:58 11:23:01 3 15.07 0.00 1.78 0.64 0.05 82.47 11:24:58 11:23:01 4 17.63 0.00 2.11 1.61 0.03 78.62 11:24:58 11:23:01 5 13.03 0.00 1.76 2.61 0.07 82.53 11:24:58 11:23:01 6 19.36 0.00 2.53 1.05 0.07 77.00 11:24:58 11:23:01 7 10.66 0.00 1.87 3.06 0.03 84.38 11:24:58 11:24:01 all 0.48 0.00 0.10 0.01 0.02 99.39 11:24:58 11:24:01 0 0.22 0.00 0.05 0.00 0.00 99.73 11:24:58 11:24:01 1 0.03 0.00 0.08 0.00 0.00 99.88 11:24:58 11:24:01 2 0.30 0.00 0.07 0.00 0.00 99.63 11:24:58 11:24:01 3 1.94 0.00 0.08 0.00 0.02 97.96 11:24:58 11:24:01 4 0.12 0.00 0.05 0.00 0.02 99.82 11:24:58 11:24:01 5 0.63 0.00 0.17 0.07 0.05 99.08 11:24:58 11:24:01 6 0.37 0.00 0.18 0.00 0.07 99.38 11:24:58 11:24:01 7 0.20 0.00 0.10 0.05 0.02 99.63 11:24:58 11:24:58 Average: CPU %user %nice %system %iowait %steal %idle 11:24:58 Average: all 3.92 0.00 0.59 2.88 0.02 92.59 11:24:58 Average: 0 6.41 0.00 0.61 12.30 0.03 80.66 11:24:58 Average: 1 4.16 0.00 0.67 3.64 0.02 91.50 11:24:58 Average: 2 2.65 0.00 0.53 0.28 0.02 96.52 11:24:58 Average: 3 2.78 0.00 0.48 0.15 0.01 96.58 11:24:58 Average: 4 5.24 0.00 0.72 1.44 0.03 92.58 11:24:58 Average: 5 3.81 0.00 0.51 0.68 0.02 94.97 11:24:58 Average: 6 3.29 0.00 0.56 1.60 0.02 94.53 11:24:58 Average: 7 3.01 0.00 0.65 2.98 0.02 93.34 11:24:58 11:24:58 11:24:58