18:11:54 Started by timer 18:11:54 Running as SYSTEM 18:11:54 [EnvInject] - Loading node environment variables. 18:11:54 Building remotely on prd-ubuntu1804-docker-8c-8g-13020 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:11:54 [ssh-agent] Looking for ssh-agent implementation... 18:11:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:54 $ ssh-agent 18:11:54 SSH_AUTH_SOCK=/tmp/ssh-S3IC0vYUaU8K/agent.2228 18:11:54 SSH_AGENT_PID=2230 18:11:54 [ssh-agent] Started. 18:11:54 Running ssh-add (command line suppressed) 18:11:54 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_11352068613024877265.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_11352068613024877265.key) 18:11:54 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:11:54 The recommended git tool is: NONE 18:11:56 using credential onap-jenkins-ssh 18:11:56 Wiping out workspace first. 18:11:56 Cloning the remote Git repository 18:11:56 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:11:56 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:11:56 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:11:56 > git --version # timeout=10 18:11:56 > git --version # 'git version 2.17.1' 18:11:56 using GIT_SSH to set credentials Gerrit user 18:11:56 Verifying host key using manually-configured host key entries 18:11:56 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:11:57 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:11:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:11:57 Avoid second fetch 18:11:57 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:11:57 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:11:57 > git config core.sparsecheckout # timeout=10 18:11:57 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:11:57 Commit message: "Set Montreal default branch" 18:11:57 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:11:57 provisioning config files... 18:11:57 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:11:57 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:11:57 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6728241531766155436.sh 18:11:57 ---> python-tools-install.sh 18:11:57 Setup pyenv: 18:11:58 * system (set by /opt/pyenv/version) 18:11:58 * 3.8.13 (set by /opt/pyenv/version) 18:11:58 * 3.9.13 (set by /opt/pyenv/version) 18:11:58 * 3.10.6 (set by /opt/pyenv/version) 18:12:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jY5h 18:12:02 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:06 lf-activate-venv(): INFO: Installing: lftools 18:12:39 lf-activate-venv(): INFO: Adding /tmp/venv-jY5h/bin to PATH 18:12:39 Generating Requirements File 18:13:10 Python 3.10.6 18:13:11 pip 23.3.2 from /tmp/venv-jY5h/lib/python3.10/site-packages/pip (python 3.10) 18:13:11 appdirs==1.4.4 18:13:11 argcomplete==3.2.1 18:13:11 aspy.yaml==1.3.0 18:13:11 attrs==23.2.0 18:13:11 autopage==0.5.2 18:13:11 beautifulsoup4==4.12.3 18:13:11 boto3==1.34.20 18:13:11 botocore==1.34.20 18:13:11 bs4==0.0.1 18:13:11 cachetools==5.3.2 18:13:11 certifi==2023.11.17 18:13:11 cffi==1.16.0 18:13:11 cfgv==3.4.0 18:13:11 chardet==5.2.0 18:13:11 charset-normalizer==3.3.2 18:13:11 click==8.1.7 18:13:11 cliff==4.5.0 18:13:11 cmd2==2.4.3 18:13:11 cryptography==3.3.2 18:13:11 debtcollector==2.5.0 18:13:11 decorator==5.1.1 18:13:11 defusedxml==0.7.1 18:13:11 Deprecated==1.2.14 18:13:11 distlib==0.3.8 18:13:11 dnspython==2.4.2 18:13:11 docker==4.2.2 18:13:11 dogpile.cache==1.3.0 18:13:11 email-validator==2.1.0.post1 18:13:11 filelock==3.13.1 18:13:11 future==0.18.3 18:13:11 gitdb==4.0.11 18:13:11 GitPython==3.1.41 18:13:11 google-auth==2.26.2 18:13:11 httplib2==0.22.0 18:13:11 identify==2.5.33 18:13:11 idna==3.6 18:13:11 importlib-resources==1.5.0 18:13:11 iso8601==2.1.0 18:13:11 Jinja2==3.1.3 18:13:11 jmespath==1.0.1 18:13:11 jsonpatch==1.33 18:13:11 jsonpointer==2.4 18:13:11 jsonschema==4.21.0 18:13:11 jsonschema-specifications==2023.12.1 18:13:11 keystoneauth1==5.5.0 18:13:11 kubernetes==29.0.0 18:13:11 lftools==0.37.8 18:13:11 lxml==5.1.0 18:13:11 MarkupSafe==2.1.3 18:13:11 msgpack==1.0.7 18:13:11 multi_key_dict==2.0.3 18:13:11 munch==4.0.0 18:13:11 netaddr==0.10.1 18:13:11 netifaces==0.11.0 18:13:11 niet==1.4.2 18:13:11 nodeenv==1.8.0 18:13:11 oauth2client==4.1.3 18:13:11 oauthlib==3.2.2 18:13:11 openstacksdk==0.62.0 18:13:11 os-client-config==2.1.0 18:13:11 os-service-types==1.7.0 18:13:11 osc-lib==3.0.0 18:13:11 oslo.config==9.3.0 18:13:11 oslo.context==5.3.0 18:13:11 oslo.i18n==6.2.0 18:13:11 oslo.log==5.4.0 18:13:11 oslo.serialization==5.3.0 18:13:11 oslo.utils==7.0.0 18:13:11 packaging==23.2 18:13:11 pbr==6.0.0 18:13:11 platformdirs==4.1.0 18:13:11 prettytable==3.9.0 18:13:11 pyasn1==0.5.1 18:13:11 pyasn1-modules==0.3.0 18:13:11 pycparser==2.21 18:13:11 pygerrit2==2.0.15 18:13:11 PyGithub==2.1.1 18:13:11 pyinotify==0.9.6 18:13:11 PyJWT==2.8.0 18:13:11 PyNaCl==1.5.0 18:13:11 pyparsing==2.4.7 18:13:11 pyperclip==1.8.2 18:13:11 pyrsistent==0.20.0 18:13:11 python-cinderclient==9.4.0 18:13:11 python-dateutil==2.8.2 18:13:11 python-heatclient==3.4.0 18:13:11 python-jenkins==1.8.2 18:13:11 python-keystoneclient==5.3.0 18:13:11 python-magnumclient==4.3.0 18:13:11 python-novaclient==18.4.0 18:13:11 python-openstackclient==6.0.0 18:13:11 python-swiftclient==4.4.0 18:13:11 pytz==2023.3.post1 18:13:11 PyYAML==6.0.1 18:13:11 referencing==0.32.1 18:13:11 requests==2.31.0 18:13:11 requests-oauthlib==1.3.1 18:13:11 requestsexceptions==1.4.0 18:13:11 rfc3986==2.0.0 18:13:11 rpds-py==0.17.1 18:13:11 rsa==4.9 18:13:11 ruamel.yaml==0.18.5 18:13:11 ruamel.yaml.clib==0.2.8 18:13:11 s3transfer==0.10.0 18:13:11 simplejson==3.19.2 18:13:11 six==1.16.0 18:13:11 smmap==5.0.1 18:13:11 soupsieve==2.5 18:13:11 stevedore==5.1.0 18:13:11 tabulate==0.9.0 18:13:11 toml==0.10.2 18:13:11 tomlkit==0.12.3 18:13:11 tqdm==4.66.1 18:13:11 typing_extensions==4.9.0 18:13:11 tzdata==2023.4 18:13:11 urllib3==1.26.18 18:13:11 virtualenv==20.25.0 18:13:11 wcwidth==0.2.13 18:13:11 websocket-client==1.7.0 18:13:11 wrapt==1.16.0 18:13:11 xdg==6.0.0 18:13:11 xmltodict==0.13.0 18:13:11 yq==3.2.3 18:13:11 [EnvInject] - Injecting environment variables from a build step. 18:13:11 [EnvInject] - Injecting as environment variables the properties content 18:13:11 SET_JDK_VERSION=openjdk17 18:13:11 GIT_URL="git://cloud.onap.org/mirror" 18:13:11 18:13:11 [EnvInject] - Variables injected successfully. 18:13:11 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins18018966303795137927.sh 18:13:11 ---> update-java-alternatives.sh 18:13:11 ---> Updating Java version 18:13:11 ---> Ubuntu/Debian system detected 18:13:11 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:11 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:11 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 18:13:12 openjdk version "17.0.4" 2022-07-19 18:13:12 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:12 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:12 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:12 [EnvInject] - Injecting environment variables from a build step. 18:13:12 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:12 [EnvInject] - Variables injected successfully. 18:13:12 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins8290716160601742052.sh 18:13:12 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:12 + set +u 18:13:12 + save_set 18:13:12 + RUN_CSIT_SAVE_SET=ehxB 18:13:12 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:12 + '[' 1 -eq 0 ']' 18:13:12 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:12 + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:12 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:12 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:12 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:12 + export ROBOT_VARIABLES= 18:13:12 + ROBOT_VARIABLES= 18:13:12 + export PROJECT=api 18:13:12 + PROJECT=api 18:13:12 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:12 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:12 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:12 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:12 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:12 + relax_set 18:13:12 + set +e 18:13:12 + set +o pipefail 18:13:12 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:12 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:12 +++ mktemp -d 18:13:12 ++ ROBOT_VENV=/tmp/tmp.7meXtHLOb5 18:13:12 ++ echo ROBOT_VENV=/tmp/tmp.7meXtHLOb5 18:13:12 +++ python3 --version 18:13:12 ++ echo 'Python version is: Python 3.6.9' 18:13:12 Python version is: Python 3.6.9 18:13:12 ++ python3 -m venv --clear /tmp/tmp.7meXtHLOb5 18:13:13 ++ source /tmp/tmp.7meXtHLOb5/bin/activate 18:13:13 +++ deactivate nondestructive 18:13:13 +++ '[' -n '' ']' 18:13:13 +++ '[' -n '' ']' 18:13:13 +++ '[' -n /bin/bash -o -n '' ']' 18:13:13 +++ hash -r 18:13:13 +++ '[' -n '' ']' 18:13:13 +++ unset VIRTUAL_ENV 18:13:13 +++ '[' '!' nondestructive = nondestructive ']' 18:13:13 +++ VIRTUAL_ENV=/tmp/tmp.7meXtHLOb5 18:13:13 +++ export VIRTUAL_ENV 18:13:13 +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:13 +++ PATH=/tmp/tmp.7meXtHLOb5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:13 +++ export PATH 18:13:13 +++ '[' -n '' ']' 18:13:13 +++ '[' -z '' ']' 18:13:13 +++ _OLD_VIRTUAL_PS1= 18:13:13 +++ '[' 'x(tmp.7meXtHLOb5) ' '!=' x ']' 18:13:13 +++ PS1='(tmp.7meXtHLOb5) ' 18:13:13 +++ export PS1 18:13:13 +++ '[' -n /bin/bash -o -n '' ']' 18:13:13 +++ hash -r 18:13:13 ++ set -exu 18:13:13 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:16 ++ echo 'Installing Python Requirements' 18:13:16 Installing Python Requirements 18:13:16 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:34 ++ python3 -m pip -qq freeze 18:13:35 bcrypt==4.0.1 18:13:35 beautifulsoup4==4.12.3 18:13:35 bitarray==2.9.2 18:13:35 certifi==2023.11.17 18:13:35 cffi==1.15.1 18:13:35 charset-normalizer==2.0.12 18:13:35 cryptography==40.0.2 18:13:35 decorator==5.1.1 18:13:35 elasticsearch==7.17.9 18:13:35 elasticsearch-dsl==7.4.1 18:13:35 enum34==1.1.10 18:13:35 idna==3.6 18:13:35 importlib-resources==5.4.0 18:13:35 ipaddr==2.2.0 18:13:35 isodate==0.6.1 18:13:35 jmespath==0.10.0 18:13:35 jsonpatch==1.32 18:13:35 jsonpath-rw==1.4.0 18:13:35 jsonpointer==2.3 18:13:35 lxml==5.1.0 18:13:35 netaddr==0.8.0 18:13:35 netifaces==0.11.0 18:13:35 odltools==0.1.28 18:13:35 paramiko==3.4.0 18:13:35 pkg_resources==0.0.0 18:13:35 ply==3.11 18:13:35 pyang==2.6.0 18:13:35 pyangbind==0.8.1 18:13:35 pycparser==2.21 18:13:35 pyhocon==0.3.60 18:13:35 PyNaCl==1.5.0 18:13:35 pyparsing==3.1.1 18:13:35 python-dateutil==2.8.2 18:13:35 regex==2023.8.8 18:13:35 requests==2.27.1 18:13:35 robotframework==6.1.1 18:13:35 robotframework-httplibrary==0.4.2 18:13:35 robotframework-pythonlibcore==3.0.0 18:13:35 robotframework-requests==0.9.4 18:13:35 robotframework-selenium2library==3.0.0 18:13:35 robotframework-seleniumlibrary==5.1.3 18:13:35 robotframework-sshlibrary==3.8.0 18:13:35 scapy==2.5.0 18:13:35 scp==0.14.5 18:13:35 selenium==3.141.0 18:13:35 six==1.16.0 18:13:35 soupsieve==2.3.2.post1 18:13:35 urllib3==1.26.18 18:13:35 waitress==2.0.0 18:13:35 WebOb==1.8.7 18:13:35 WebTest==3.0.0 18:13:35 zipp==3.6.0 18:13:35 ++ mkdir -p /tmp/tmp.7meXtHLOb5/src/onap 18:13:35 ++ rm -rf /tmp/tmp.7meXtHLOb5/src/onap/testsuite 18:13:35 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 18:13:42 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:42 Uninstall docker-py and reinstall docker. 18:13:42 ++ python3 -m pip uninstall -y -qq docker 18:13:42 ++ python3 -m pip install -U -qq docker 18:13:44 ++ python3 -m pip -qq freeze 18:13:44 bcrypt==4.0.1 18:13:44 beautifulsoup4==4.12.3 18:13:44 bitarray==2.9.2 18:13:44 certifi==2023.11.17 18:13:44 cffi==1.15.1 18:13:44 charset-normalizer==2.0.12 18:13:44 cryptography==40.0.2 18:13:44 decorator==5.1.1 18:13:44 deepdiff==5.7.0 18:13:44 dnspython==2.2.1 18:13:44 docker==5.0.3 18:13:44 elasticsearch==7.17.9 18:13:44 elasticsearch-dsl==7.4.1 18:13:44 enum34==1.1.10 18:13:44 future==0.18.3 18:13:44 idna==3.6 18:13:44 importlib-resources==5.4.0 18:13:44 ipaddr==2.2.0 18:13:44 isodate==0.6.1 18:13:44 Jinja2==3.0.3 18:13:44 jmespath==0.10.0 18:13:44 jsonpatch==1.32 18:13:44 jsonpath-rw==1.4.0 18:13:44 jsonpointer==2.3 18:13:44 kafka-python==2.0.2 18:13:44 lxml==5.1.0 18:13:44 MarkupSafe==2.0.1 18:13:44 more-itertools==5.0.0 18:13:44 netaddr==0.8.0 18:13:44 netifaces==0.11.0 18:13:44 odltools==0.1.28 18:13:44 ordered-set==4.0.2 18:13:44 paramiko==3.4.0 18:13:44 pbr==6.0.0 18:13:44 pkg_resources==0.0.0 18:13:44 ply==3.11 18:13:44 protobuf==3.19.6 18:13:44 pyang==2.6.0 18:13:44 pyangbind==0.8.1 18:13:44 pycparser==2.21 18:13:44 pyhocon==0.3.60 18:13:44 PyNaCl==1.5.0 18:13:44 pyparsing==3.1.1 18:13:44 python-dateutil==2.8.2 18:13:44 PyYAML==6.0.1 18:13:44 regex==2023.8.8 18:13:44 requests==2.27.1 18:13:44 robotframework==6.1.1 18:13:44 robotframework-httplibrary==0.4.2 18:13:44 robotframework-onap==0.6.0.dev105 18:13:44 robotframework-pythonlibcore==3.0.0 18:13:44 robotframework-requests==0.9.4 18:13:44 robotframework-selenium2library==3.0.0 18:13:44 robotframework-seleniumlibrary==5.1.3 18:13:44 robotframework-sshlibrary==3.8.0 18:13:44 robotlibcore-temp==1.0.2 18:13:44 scapy==2.5.0 18:13:44 scp==0.14.5 18:13:44 selenium==3.141.0 18:13:44 six==1.16.0 18:13:44 soupsieve==2.3.2.post1 18:13:44 urllib3==1.26.18 18:13:44 waitress==2.0.0 18:13:44 WebOb==1.8.7 18:13:44 websocket-client==1.3.1 18:13:44 WebTest==3.0.0 18:13:44 zipp==3.6.0 18:13:44 ++ uname 18:13:44 ++ grep -q Linux 18:13:44 ++ sudo apt-get -y -qq install libxml2-utils 18:13:44 + load_set 18:13:44 + _setopts=ehuxB 18:13:44 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:44 ++ tr : ' ' 18:13:44 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:44 + set +o braceexpand 18:13:44 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:44 + set +o hashall 18:13:44 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:44 + set +o interactive-comments 18:13:44 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:44 + set +o nounset 18:13:44 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:44 + set +o xtrace 18:13:44 ++ echo ehuxB 18:13:44 ++ sed 's/./& /g' 18:13:44 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:44 + set +e 18:13:44 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:44 + set +h 18:13:44 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:44 + set +u 18:13:44 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:44 + set +x 18:13:44 + source_safely /tmp/tmp.7meXtHLOb5/bin/activate 18:13:44 + '[' -z /tmp/tmp.7meXtHLOb5/bin/activate ']' 18:13:44 + relax_set 18:13:44 + set +e 18:13:44 + set +o pipefail 18:13:44 + . /tmp/tmp.7meXtHLOb5/bin/activate 18:13:44 ++ deactivate nondestructive 18:13:44 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ']' 18:13:44 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:44 ++ export PATH 18:13:44 ++ unset _OLD_VIRTUAL_PATH 18:13:44 ++ '[' -n '' ']' 18:13:44 ++ '[' -n /bin/bash -o -n '' ']' 18:13:44 ++ hash -r 18:13:44 ++ '[' -n '' ']' 18:13:44 ++ unset VIRTUAL_ENV 18:13:44 ++ '[' '!' nondestructive = nondestructive ']' 18:13:44 ++ VIRTUAL_ENV=/tmp/tmp.7meXtHLOb5 18:13:44 ++ export VIRTUAL_ENV 18:13:44 ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:44 ++ PATH=/tmp/tmp.7meXtHLOb5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin 18:13:44 ++ export PATH 18:13:44 ++ '[' -n '' ']' 18:13:44 ++ '[' -z '' ']' 18:13:44 ++ _OLD_VIRTUAL_PS1='(tmp.7meXtHLOb5) ' 18:13:44 ++ '[' 'x(tmp.7meXtHLOb5) ' '!=' x ']' 18:13:44 ++ PS1='(tmp.7meXtHLOb5) (tmp.7meXtHLOb5) ' 18:13:44 ++ export PS1 18:13:44 ++ '[' -n /bin/bash -o -n '' ']' 18:13:44 ++ hash -r 18:13:44 + load_set 18:13:44 + _setopts=hxB 18:13:44 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:44 ++ tr : ' ' 18:13:44 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:44 + set +o braceexpand 18:13:44 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:44 + set +o hashall 18:13:44 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:44 + set +o interactive-comments 18:13:44 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:44 + set +o xtrace 18:13:44 ++ echo hxB 18:13:44 ++ sed 's/./& /g' 18:13:44 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:44 + set +h 18:13:44 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:44 + set +x 18:13:44 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:44 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:44 + export TEST_OPTIONS= 18:13:44 + TEST_OPTIONS= 18:13:44 ++ mktemp -d 18:13:44 + WORKDIR=/tmp/tmp.McLplFjCRl 18:13:44 + cd /tmp/tmp.McLplFjCRl 18:13:44 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:45 Configure a credential helper to remove this warning. See 18:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:45 18:13:45 Login Succeeded 18:13:45 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:45 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:45 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:45 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:45 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:45 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:45 + relax_set 18:13:45 + set +e 18:13:45 + set +o pipefail 18:13:45 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:45 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:45 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:45 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:45 +++ GERRIT_BRANCH=montreal 18:13:45 +++ echo GERRIT_BRANCH=montreal 18:13:45 GERRIT_BRANCH=montreal 18:13:45 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:45 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:45 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:45 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:46 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:46 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:46 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:46 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:46 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:46 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 18:13:46 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:46 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:46 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:46 +++ grafana=false 18:13:46 +++ gui=false 18:13:46 +++ [[ 2 -gt 0 ]] 18:13:46 +++ key=api 18:13:46 +++ case $key in 18:13:46 +++ echo api 18:13:46 api 18:13:46 +++ component=api 18:13:46 +++ shift 18:13:46 +++ [[ 1 -gt 0 ]] 18:13:46 +++ key=--grafana 18:13:46 +++ case $key in 18:13:46 +++ grafana=true 18:13:46 +++ shift 18:13:46 +++ [[ 0 -gt 0 ]] 18:13:46 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:46 +++ echo 'Configuring docker compose...' 18:13:46 Configuring docker compose... 18:13:46 +++ source export-ports.sh 18:13:46 +++ source get-versions.sh 18:13:48 +++ '[' -z api ']' 18:13:48 +++ '[' -n api ']' 18:13:48 +++ '[' api == logs ']' 18:13:48 +++ '[' true = true ']' 18:13:48 +++ echo 'Starting api application with Grafana' 18:13:48 Starting api application with Grafana 18:13:48 +++ docker-compose up -d api grafana 18:13:49 Creating network "compose_default" with the default driver 18:13:49 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:13:49 10.10.2: Pulling from mariadb 18:13:54 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:13:54 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:13:54 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:13:54 3.0.2: Pulling from onap/policy-db-migrator 18:13:59 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:13:59 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:13:59 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:13:59 3.0.2: Pulling from onap/policy-api 18:14:01 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:14:01 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:14:01 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:01 latest: Pulling from prom/prometheus 18:14:05 Digest: sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 18:14:05 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:06 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:06 latest: Pulling from grafana/grafana 18:14:11 Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 18:14:12 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:12 Creating mariadb ... 18:14:12 Creating prometheus ... 18:14:32 Creating prometheus ... done 18:14:32 Creating grafana ... 18:14:33 Creating grafana ... done 18:14:34 Creating mariadb ... done 18:14:34 Creating policy-db-migrator ... 18:14:35 Creating policy-db-migrator ... done 18:14:35 Creating policy-api ... 18:14:36 Creating policy-api ... done 18:14:36 +++ echo 'Prometheus server: http://localhost:30259' 18:14:36 Prometheus server: http://localhost:30259 18:14:36 +++ echo 'Grafana server: http://localhost:30269' 18:14:36 Grafana server: http://localhost:30269 18:14:36 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:36 ++ sleep 10 18:14:47 ++ unset http_proxy https_proxy 18:14:47 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:47 Waiting for REST to come up on localhost port 30002... 18:14:47 NAMES STATUS 18:14:47 policy-api Up 10 seconds 18:14:47 policy-db-migrator Up 11 seconds 18:14:47 grafana Up 13 seconds 18:14:47 prometheus Up 14 seconds 18:14:47 mariadb Up 12 seconds 18:14:51 NAMES STATUS 18:14:51 policy-api Up 15 seconds 18:14:51 policy-db-migrator Up 16 seconds 18:14:51 grafana Up 18 seconds 18:14:51 prometheus Up 19 seconds 18:14:51 mariadb Up 17 seconds 18:14:56 NAMES STATUS 18:14:56 policy-api Up 20 seconds 18:14:56 grafana Up 23 seconds 18:14:56 prometheus Up 24 seconds 18:14:56 mariadb Up 22 seconds 18:15:01 NAMES STATUS 18:15:01 policy-api Up 25 seconds 18:15:01 grafana Up 28 seconds 18:15:01 prometheus Up 29 seconds 18:15:01 mariadb Up 27 seconds 18:15:06 NAMES STATUS 18:15:06 policy-api Up 30 seconds 18:15:06 grafana Up 33 seconds 18:15:06 prometheus Up 34 seconds 18:15:06 mariadb Up 32 seconds 18:15:06 ++ export 'SUITES=api-test.robot 18:15:06 api-slas.robot' 18:15:06 ++ SUITES='api-test.robot 18:15:06 api-slas.robot' 18:15:06 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:06 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:15:06 + load_set 18:15:06 + _setopts=hxB 18:15:06 ++ tr : ' ' 18:15:06 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:15:06 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:06 + set +o braceexpand 18:15:06 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:06 + set +o hashall 18:15:06 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:06 + set +o interactive-comments 18:15:06 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:06 + set +o xtrace 18:15:06 ++ echo hxB 18:15:06 ++ sed 's/./& /g' 18:15:06 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:06 + set +h 18:15:06 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:06 + set +x 18:15:06 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:15:06 + docker_stats 18:15:06 ++ uname -s 18:15:06 + '[' Linux == Darwin ']' 18:15:06 + sh -c 'top -bn1 | head -3' 18:15:06 top - 18:15:06 up 3 min, 0 users, load average: 2.25, 1.03, 0.41 18:15:06 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 18:15:06 %Cpu(s): 10.0 us, 2.0 sy, 0.0 ni, 83.4 id, 4.5 wa, 0.0 hi, 0.0 si, 0.0 st 18:15:06 + echo 18:15:06 + sh -c 'free -h' 18:15:06 18:15:06 total used free shared buff/cache available 18:15:06 Mem: 31G 1.4G 26G 1.0M 3.9G 29G 18:15:06 Swap: 1.0G 0B 1.0G 18:15:06 + echo 18:15:06 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:15:06 18:15:06 NAMES STATUS 18:15:06 policy-api Up 30 seconds 18:15:06 grafana Up 33 seconds 18:15:06 prometheus Up 34 seconds 18:15:06 mariadb Up 32 seconds 18:15:06 + echo 18:15:06 + docker stats --no-stream 18:15:06 18:15:09 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:15:09 db10ac31d275 policy-api 1.37% 501MiB / 31.41GiB 1.56% 1MB / 711kB 0B / 0B 55 18:15:09 651c3a94b328 grafana 0.03% 53.47MiB / 31.41GiB 0.17% 20.2kB / 3.25kB 0B / 23.7MB 17 18:15:09 a0ec91e7b1d0 prometheus 0.00% 18.38MiB / 31.41GiB 0.06% 1.52kB / 158B 4.1kB / 0B 13 18:15:09 ba63e4e0da06 mariadb 0.02% 101MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.2MB / 67.9MB 30 18:15:09 + echo 18:15:09 18:15:09 + cd /tmp/tmp.McLplFjCRl 18:15:09 + echo 'Reading the testplan:' 18:15:09 Reading the testplan: 18:15:09 + echo 'api-test.robot 18:15:09 api-slas.robot' 18:15:09 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:15:09 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:15:09 + cat testplan.txt 18:15:09 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:15:09 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:09 ++ xargs 18:15:09 + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' 18:15:09 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:09 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 18:15:09 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:09 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:15:09 + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' 18:15:09 Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... 18:15:09 + relax_set 18:15:09 + set +e 18:15:09 + set +o pipefail 18:15:09 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:09 ============================================================================== 18:15:09 api 18:15:09 ============================================================================== 18:15:09 api.Api-Test 18:15:09 ============================================================================== 18:15:10 Healthcheck :: Verify policy api health check | PASS | 18:15:10 ------------------------------------------------------------------------------ 18:15:12 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:15:12 ------------------------------------------------------------------------------ 18:15:12 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:15:12 ------------------------------------------------------------------------------ 18:15:12 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:15:12 ------------------------------------------------------------------------------ 18:15:13 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:15:13 ------------------------------------------------------------------------------ 18:15:13 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:15:13 ------------------------------------------------------------------------------ 18:15:13 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:15:13 ------------------------------------------------------------------------------ 18:15:13 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:15:13 ------------------------------------------------------------------------------ 18:15:14 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:15:14 ------------------------------------------------------------------------------ 18:15:14 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:15:14 ------------------------------------------------------------------------------ 18:15:14 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:15:14 ------------------------------------------------------------------------------ 18:15:15 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:15:15 ------------------------------------------------------------------------------ 18:15:15 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:15:15 ------------------------------------------------------------------------------ 18:15:15 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:15:15 ------------------------------------------------------------------------------ 18:15:15 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:15:15 ------------------------------------------------------------------------------ 18:15:15 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:15:15 ------------------------------------------------------------------------------ 18:15:16 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:15:16 ------------------------------------------------------------------------------ 18:15:16 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:15:16 ------------------------------------------------------------------------------ 18:15:16 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:15:16 ------------------------------------------------------------------------------ 18:15:16 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:15:16 ------------------------------------------------------------------------------ 18:15:17 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:15:17 ------------------------------------------------------------------------------ 18:15:17 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:15:17 ------------------------------------------------------------------------------ 18:15:17 api.Api-Test | PASS | 18:15:17 22 tests, 22 passed, 0 failed 18:15:17 ============================================================================== 18:15:17 api.Api-Slas 18:15:17 ============================================================================== 18:16:17 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:16:17 ------------------------------------------------------------------------------ 18:16:17 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:16:17 ------------------------------------------------------------------------------ 18:16:17 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:16:17 ------------------------------------------------------------------------------ 18:16:17 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:16:17 ------------------------------------------------------------------------------ 18:16:17 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:16:17 ------------------------------------------------------------------------------ 18:16:17 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:16:17 ------------------------------------------------------------------------------ 18:16:17 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:16:17 ------------------------------------------------------------------------------ 18:16:17 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:16:17 ------------------------------------------------------------------------------ 18:16:17 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:16:17 ------------------------------------------------------------------------------ 18:16:17 api.Api-Slas | PASS | 18:16:17 9 tests, 9 passed, 0 failed 18:16:17 ============================================================================== 18:16:17 api | PASS | 18:16:17 31 tests, 31 passed, 0 failed 18:16:17 ============================================================================== 18:16:17 Output: /tmp/tmp.McLplFjCRl/output.xml 18:16:17 Log: /tmp/tmp.McLplFjCRl/log.html 18:16:17 Report: /tmp/tmp.McLplFjCRl/report.html 18:16:17 + RESULT=0 18:16:17 + load_set 18:16:17 + _setopts=hxB 18:16:17 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:17 ++ tr : ' ' 18:16:17 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:17 + set +o braceexpand 18:16:17 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:17 + set +o hashall 18:16:17 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:17 + set +o interactive-comments 18:16:17 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:17 + set +o xtrace 18:16:17 ++ echo hxB 18:16:17 ++ sed 's/./& /g' 18:16:17 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:17 + set +h 18:16:17 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:17 + set +x 18:16:17 + echo 'RESULT: 0' 18:16:17 RESULT: 0 18:16:17 + exit 0 18:16:17 + on_exit 18:16:17 + rc=0 18:16:17 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:16:17 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:17 NAMES STATUS 18:16:17 policy-api Up About a minute 18:16:17 grafana Up About a minute 18:16:17 prometheus Up About a minute 18:16:17 mariadb Up About a minute 18:16:17 + docker_stats 18:16:17 ++ uname -s 18:16:17 + '[' Linux == Darwin ']' 18:16:17 + sh -c 'top -bn1 | head -3' 18:16:17 top - 18:16:17 up 5 min, 0 users, load average: 0.95, 0.89, 0.40 18:16:17 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 18:16:17 %Cpu(s): 8.6 us, 1.6 sy, 0.0 ni, 86.0 id, 3.8 wa, 0.0 hi, 0.0 si, 0.0 st 18:16:17 + echo 18:16:17 18:16:17 + sh -c 'free -h' 18:16:17 total used free shared buff/cache available 18:16:17 Mem: 31G 1.7G 25G 1.0M 3.9G 29G 18:16:17 Swap: 1.0G 0B 1.0G 18:16:17 + echo 18:16:17 18:16:17 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:17 NAMES STATUS 18:16:17 policy-api Up About a minute 18:16:17 grafana Up About a minute 18:16:17 prometheus Up About a minute 18:16:17 mariadb Up About a minute 18:16:17 + echo 18:16:17 18:16:17 + docker stats --no-stream 18:16:20 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:16:20 db10ac31d275 policy-api 0.11% 759.6MiB / 31.41GiB 2.36% 7.01MB / 2.55MB 0B / 0B 54 18:16:20 651c3a94b328 grafana 0.01% 58.81MiB / 31.41GiB 0.18% 21.2kB / 4.48kB 0B / 23.7MB 17 18:16:20 a0ec91e7b1d0 prometheus 0.00% 24.59MiB / 31.41GiB 0.08% 55.6kB / 6.66kB 4.1kB / 0B 13 18:16:20 ba63e4e0da06 mariadb 0.02% 101.9MiB / 31.41GiB 0.32% 2.39MB / 7.05MB 11.2MB / 68.3MB 18 18:16:20 + echo 18:16:20 18:16:20 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:20 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:16:20 + relax_set 18:16:20 + set +e 18:16:20 + set +o pipefail 18:16:20 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:20 ++ echo 'Shut down started!' 18:16:20 Shut down started! 18:16:20 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:20 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:16:20 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:16:20 ++ source export-ports.sh 18:16:20 ++ source get-versions.sh 18:16:22 ++ echo 'Collecting logs from docker compose containers...' 18:16:22 Collecting logs from docker compose containers... 18:16:22 ++ docker-compose logs 18:16:23 ++ cat docker_compose.log 18:16:23 Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157312039Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157597405Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157612225Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157616015Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157619456Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157653316Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157661106Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157664847Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157668417Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157671537Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157703427Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157708007Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157711928Z level=info msg=Target target=[all] 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157718538Z level=info msg="Path Home" path=/usr/share/grafana 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157722518Z level=info msg="Path Data" path=/var/lib/grafana 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157725938Z level=info msg="Path Logs" path=/var/log/grafana 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157730078Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157734318Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:23 grafana | logger=settings t=2024-01-17T18:14:33.157737788Z level=info msg="App mode production" 18:16:23 grafana | logger=sqlstore t=2024-01-17T18:14:33.158027004Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:23 grafana | logger=sqlstore t=2024-01-17T18:14:33.158056215Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.158701879Z level=info msg="Starting DB migrations" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.159602469Z level=info msg="Executing migration" id="create migration_log table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.160386795Z level=info msg="Migration successfully executed" id="create migration_log table" duration=785.096µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.163607755Z level=info msg="Executing migration" id="create user table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.164136016Z level=info msg="Migration successfully executed" id="create user table" duration=528.001µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.167599121Z level=info msg="Executing migration" id="add unique index user.login" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.168433739Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=833.488µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.173718113Z level=info msg="Executing migration" id="add unique index user.email" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.175247066Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.528723ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.178624439Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.179717362Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.093033ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.183400332Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.184077226Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=676.884µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.189588375Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.193398758Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.811773ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.197203059Z level=info msg="Executing migration" id="create user table v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.198518978Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.315439ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.202048854Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.202918113Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=869.479µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.2065143Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.207945721Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.434051ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.213255166Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.213886559Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=632.083µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.217036037Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.217659481Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=622.913µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.220783119Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.222119557Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.332958ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.227973283Z level=info msg="Executing migration" id="Update user table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.228001154Z level=info msg="Migration successfully executed" id="Update user table charset" duration=28.871µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.231160992Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.232297067Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.135595ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.235406854Z level=info msg="Executing migration" id="Add missing user data" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.23569087Z level=info msg="Migration successfully executed" id="Add missing user data" duration=283.956µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.238142173Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:23 prometheus | ts=2024-01-17T18:14:32.256Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:23 prometheus | ts=2024-01-17T18:14:32.256Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" 18:16:23 prometheus | ts=2024-01-17T18:14:32.256Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" 18:16:23 prometheus | ts=2024-01-17T18:14:32.256Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 18:16:23 prometheus | ts=2024-01-17T18:14:32.256Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:23 prometheus | ts=2024-01-17T18:14:32.256Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:23 prometheus | ts=2024-01-17T18:14:32.259Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:23 prometheus | ts=2024-01-17T18:14:32.259Z caller=main.go:1039 level=info msg="Starting TSDB ..." 18:16:23 prometheus | ts=2024-01-17T18:14:32.263Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 18:16:23 prometheus | ts=2024-01-17T18:14:32.263Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:23 prometheus | ts=2024-01-17T18:14:32.266Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:23 prometheus | ts=2024-01-17T18:14:32.266Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.98µs 18:16:23 prometheus | ts=2024-01-17T18:14:32.266Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:23 prometheus | ts=2024-01-17T18:14:32.267Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:23 prometheus | ts=2024-01-17T18:14:32.267Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=52.831µs wal_replay_duration=362.014µs wbl_replay_duration=230ns total_replay_duration=540.936µs 18:16:23 prometheus | ts=2024-01-17T18:14:32.269Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC 18:16:23 prometheus | ts=2024-01-17T18:14:32.269Z caller=main.go:1063 level=info msg="TSDB started" 18:16:23 prometheus | ts=2024-01-17T18:14:32.269Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:23 prometheus | ts=2024-01-17T18:14:32.270Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=924.17µs db_storage=1.33µs remote_storage=1.88µs web_handler=470ns query_engine=990ns scrape=222.933µs scrape_sd=132.031µs notify=22.99µs notify_sd=11.88µs rules=2.29µs tracing=6.891µs 18:16:23 prometheus | ts=2024-01-17T18:14:32.270Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." 18:16:23 prometheus | ts=2024-01-17T18:14:32.270Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.239295338Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.147434ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.244553971Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.245323538Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=769.766µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.248727592Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.25098043Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=2.256707ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.254613499Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.263707365Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.095266ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.266855452Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.267617909Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=762.037µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.273015985Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.273919775Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=901.73µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.277463712Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.278434142Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=970.241µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.281642861Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.282446189Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=803.098µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.287199531Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.287969478Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=769.877µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.290908982Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.290934642Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=31.92µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.294254954Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.295402868Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.148304ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.302190955Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.303868131Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.677356ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.307895818Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.309025622Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.133394ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.312428145Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.313135581Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=707.456µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.318402964Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.325351175Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=6.94233ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.329002713Z level=info msg="Executing migration" id="create temp_user v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.33024435Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.237017ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.333862458Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.334641925Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=779.147µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.339922219Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.341109335Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.186136ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.344300814Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.345497089Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.195645ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.349062536Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.349888534Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=829.018µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.355138018Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.355543346Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=405.118µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.358374607Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.358899958Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=516.761µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.362381463Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.362773292Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=398.689µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.365858478Z level=info msg="Executing migration" id="create star table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.366759298Z level=info msg="Migration successfully executed" id="create star table" duration=900.37µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.372444101Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.373791749Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.346758ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.377149972Z level=info msg="Executing migration" id="create org table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.377873348Z level=info msg="Migration successfully executed" id="create org table v1" duration=722.926µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.38263163Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.383888068Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.256168ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.38722603Z level=info msg="Executing migration" id="create org_user table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.388266002Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.039323ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.393880583Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.394685761Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=808.058µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.397901751Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.398718788Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=816.497µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.402186723Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.403014432Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=827.449µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.406937976Z level=info msg="Executing migration" id="Update org table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.406962067Z level=info msg="Migration successfully executed" id="Update org table charset" duration=24.851µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.413237433Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.413308814Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=68.611µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.417793262Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.418082268Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=293.956µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.424556728Z level=info msg="Executing migration" id="create dashboard table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.425771105Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.207137ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.429294051Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.430566328Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.271417ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.434025614Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.434805261Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=779.116µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.437694333Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.438380118Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=685.585µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.443575041Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.444774057Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.198246ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.44815754Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.449235823Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.078173ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.452820971Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.461292994Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.472903ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.466720242Z level=info msg="Executing migration" id="create dashboard v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.467370477Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=648.805µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.47076414Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.471457695Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=693.375µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.474774217Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.475475592Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=700.775µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.481590295Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.482138187Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=547.462µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.485226254Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.48602076Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=794.097µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.48923197Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.489300361Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=68.421µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.494689548Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.497452938Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.721299ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.500975406Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.503379067Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.404672ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.506752961Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.508474398Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.720696ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.513700781Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.514486648Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=785.407µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.591080738Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.594007931Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.926653ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.597803513Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.59858358Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=779.777µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.603617729Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.604385496Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=767.577µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.607900783Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.607946234Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=46.721µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.611507341Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.611547511Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=42.09µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.617237105Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.619351201Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.114076ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.624059973Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.626101207Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.033894ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.629070321Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.631039814Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.968863ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.634140242Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.636056293Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.915711ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.641223986Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.64142748Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=203.814µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.644508407Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.645287333Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=778.216µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.649430054Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.650567238Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.137354ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.65710926Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.657155111Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=47.421µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.661779861Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.663094489Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.308418ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.668209301Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.668888146Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=678.456µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.674578669Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.684424052Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.842273ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.687913498Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.688395788Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=482.161µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.69169199Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.692412175Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=716.655µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.697947806Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.698743313Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=797.887µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.702353001Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.702929184Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=577.184µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.706088232Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.706997491Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=909.219µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.712390138Z level=info msg="Executing migration" id="Add check_sum column" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.714420833Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.030565ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.717765585Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.719290339Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.517243ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.723186403Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.72351163Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=324.447µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.72677576Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.726961474Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=179.674µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.731699837Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.732528515Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=828.418µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.736238586Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.739990027Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.750581ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.743418781Z level=info msg="Executing migration" id="create data_source table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.744283049Z level=info msg="Migration successfully executed" id="create data_source table" duration=865.168µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.74890857Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.749727688Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=819.277µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.75303711Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.753938249Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=900.769µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.757300702Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.75812878Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=828.108µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.762911274Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.76366008Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=750.146µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.767400541Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.779127725Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.726694ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.78349304Z level=info msg="Executing migration" id="create data_source table v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.784119704Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=624.964µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.787396875Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.788235313Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=835.478µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.791560935Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.792396004Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=835.018µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.797101605Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.798044486Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=943.241µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.801787126Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.805510207Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.728371ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.808789758Z level=info msg="Executing migration" id="Add secure json data column" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.811113028Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.31526ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.815628397Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.815652507Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=30.68µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.818449478Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.818650872Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=194.344µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.821914483Z level=info msg="Executing migration" id="Add read_only data column" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.824224213Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.30938ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.827357521Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.827561635Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=204.074µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.8319366Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.832123614Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=186.504µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.835738582Z level=info msg="Executing migration" id="Add uid column" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.839413952Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.67463ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.842908848Z level=info msg="Executing migration" id="Update uid value" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.843103733Z level=info msg="Migration successfully executed" id="Update uid value" duration=194.165µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.847382945Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.848204873Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=818.428µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.851547206Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.852825723Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.277807ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.856754079Z level=info msg="Executing migration" id="create api_key table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.85821272Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.458121ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.863055245Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.864392193Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.336748ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.868075294Z level=info msg="Executing migration" id="add index api_key.key" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.868895981Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=820.467µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.872810406Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.873934391Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.122045ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.880882031Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.88219454Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.309819ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.885916781Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.887097216Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.184116ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.890768486Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.891542162Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=792.416µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.896091481Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.904858561Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.7666ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.908422248Z level=info msg="Executing migration" id="create api_key table v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.909108813Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=686.215µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.913824306Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.914593282Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=768.986µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.918290473Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.919459228Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.166965ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.9232899Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.92465379Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.36335ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.929530126Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.929907774Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=377.608µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.933259177Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.933850299Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=591.072µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.937147471Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.937175671Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=29.02µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.940612317Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.94495514Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.341823ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.949584221Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.952005884Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.421063ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.955346806Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.955516999Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=169.803µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.958143906Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:33.960582879Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.438663ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.006132522Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.01036441Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.230528ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.014098666Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.014781954Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=683.098µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.017803012Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.018375049Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=572.467µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.023027427Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.024190461Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.161894ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.028246882Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.0296987Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.450348ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.033372686Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.034197966Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=824.87µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.038516689Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.03935858Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=841.481µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.042826903Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.042887993Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=61.61µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.046218785Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.046241715Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=27.61µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.050335016Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.054350715Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.017799ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.059113395Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.061750338Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.636563ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.067122884Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.067191965Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=69.881µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.070737339Z level=info msg="Executing migration" id="create quota table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.071404767Z level=info msg="Migration successfully executed" id="create quota table v1" duration=667.488µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.075839782Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.077442352Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.600759ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.081216139Z level=info msg="Executing migration" id="Update quota table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.081255519Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=40.89µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.086055218Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.087380185Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.320137ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.094310481Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.095123451Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=813.03µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.098461473Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.101364159Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.902366ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.104510117Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.104534508Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=25.101µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.107753097Z level=info msg="Executing migration" id="create session table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.109114485Z level=info msg="Migration successfully executed" id="create session table" duration=1.361298ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.114928097Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.115063538Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=136.631µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.118307379Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.11844184Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=134.422µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.121722781Z level=info msg="Executing migration" id="create playlist table v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.122668383Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=947.192µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.128410314Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.129489577Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.078663ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.132791038Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.132831288Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=47.11µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.136263171Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.136299941Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=38.54µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.142532509Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.146870472Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.342143ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.15235328Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.155332357Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.979127ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.1587727Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.158859381Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=86.881µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.161889829Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.16197094Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=83.031µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.16756136Z level=info msg="Executing migration" id="create preferences table v3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.168658213Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.096513ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.173713306Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.173752496Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=39.87µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.177112788Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.18211906Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.005122ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.185494401Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.185676074Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=182.063µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.190734827Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.193878085Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.143188ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.197047275Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.200154273Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.106698ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.203218521Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.203289182Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=67.331µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.209002712Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.209960015Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=956.433µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.214211927Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.215543234Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.327217ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.219458742Z level=info msg="Executing migration" id="create alert table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.221129634Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.670611ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.226644132Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.227614704Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=967.432µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.230851704Z level=info msg="Executing migration" id="add index alert state" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.231692784Z level=info msg="Migration successfully executed" id="add index alert state" duration=840.97µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.238921534Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.239792684Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=871.23µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.244160439Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.244830847Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=670.538µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.248175138Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.24908394Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=908.472µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.252426451Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.254101291Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.6746ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.261345682Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.274354433Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.014321ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.277649344Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.278232621Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=579.547µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.284925574Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.285828365Z 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=902.771µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.290945029Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.291255823Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=314.374µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.295290972Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.296035881Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=744.289µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.301259106Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.302591753Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.335747ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.308271724Z level=info msg="Executing migration" id="Add column is_default" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.311898738Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.621914ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.319515383Z level=info msg="Executing migration" id="Add column frequency" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.324018758Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.501215ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.33054943Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.334079243Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.529713ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.339565321Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.343084085Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.518424ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.346489927Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.347356238Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=866.011µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.35160743Z level=info msg="Executing migration" id="Update alert table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.351635051Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=28.681µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.356877146Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.356914356Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=37.88µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.362380944Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.363571739Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.190314ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.369451332Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.371049092Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.602109ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.376705992Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.37813969Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.434758ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.442956833Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.444414671Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.459948ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.455155474Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.456617473Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.461069ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.469851166Z level=info msg="Executing migration" id="Add for to alert table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.47415064Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.301994ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.481558582Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.48785899Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=6.322108ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.492378075Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.492532028Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=153.693µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.495378063Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.495986631Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=608.498µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.500197712Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.500999093Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=801.241µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.507110359Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.510763614Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.652895ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.515576304Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.515735896Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=163.122µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.52015385Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.521078762Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=928.952µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.524113849Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.525034491Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=917.141µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.52983659Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:23 mariadb | 2024-01-17 18:14:34+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:23 mariadb | 2024-01-17 18:14:34+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:23 mariadb | 2024-01-17 18:14:34+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:23 mariadb | 2024-01-17 18:14:34+00:00 [Note] [Entrypoint]: Initializing database files 18:16:23 mariadb | 2024-01-17 18:14:34 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:23 mariadb | 2024-01-17 18:14:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:23 mariadb | 2024-01-17 18:14:34 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:23 mariadb | 18:16:23 mariadb | 18:16:23 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:23 mariadb | To do so, start the server, then issue the following command: 18:16:23 mariadb | 18:16:23 mariadb | '/usr/bin/mysql_secure_installation' 18:16:23 mariadb | 18:16:23 mariadb | which will also give you the option of removing the test 18:16:23 mariadb | databases and anonymous user created by default. This is 18:16:23 mariadb | strongly recommended for production servers. 18:16:23 mariadb | 18:16:23 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:23 mariadb | 18:16:23 mariadb | Please report any problems at https://mariadb.org/jira 18:16:23 mariadb | 18:16:23 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:23 mariadb | 18:16:23 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:23 mariadb | https://mariadb.org/get-involved/ 18:16:23 mariadb | 18:16:23 mariadb | 2024-01-17 18:14:36+00:00 [Note] [Entrypoint]: Database files initialized 18:16:23 mariadb | 2024-01-17 18:14:36+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:23 mariadb | 2024-01-17 18:14:36+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: Number of transaction pools: 1 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: 128 rollback segments are active. 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:23 mariadb | 2024-01-17 18:14:36 0 [Note] mariadbd: ready for connections. 18:16:23 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 18:16:23 mariadb | 2024-01-17 18:14:37+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:23 mariadb | 2024-01-17 18:14:39+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:23 mariadb | 2024-01-17 18:14:39+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:23 mariadb | 18:16:23 mariadb | 2024-01-17 18:14:39+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:23 mariadb | 18:16:23 mariadb | 2024-01-17 18:14:39+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:23 mariadb | #!/bin/bash -xv 18:16:23 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:23 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:23 mariadb | # 18:16:23 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:23 mariadb | # you may not use this file except in compliance with the License. 18:16:23 mariadb | # You may obtain a copy of the License at 18:16:23 mariadb | # 18:16:23 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:23 mariadb | # 18:16:23 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:23 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:23 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:23 mariadb | # See the License for the specific language governing permissions and 18:16:23 mariadb | # limitations under the License. 18:16:23 mariadb | 18:16:23 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:23 mariadb | do 18:16:23 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:23 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:23 mariadb | done 18:16:23 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:23 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:23 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:23 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:23 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:23 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:23 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:23 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:23 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:23 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:23 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:23 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:23 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.529963232Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=127.072µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.533305313Z level=info msg="Executing migration" id="create annotation table v5" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.534501829Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.197675ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.537787259Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.538614019Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=826.09µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.546290584Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.547843993Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.561539ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.551075833Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.551771192Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=695.459µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.554851401Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.555591119Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=737.839µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.560596752Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.561792726Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.195674ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.56609958Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.56612279Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=23.87µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.571539597Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.574559375Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.019718ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.577663193Z level=info msg="Executing migration" id="Drop category_id index" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.578469163Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=804.68µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.581616672Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.58545166Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.834998ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.592483877Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.593138774Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=654.807µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.596857741Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.597751002Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=893.221µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.600587207Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.603112259Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=2.524902ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.609120033Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.626307716Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.185203ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.630225595Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.630738111Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=510.996µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.633782239Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.634394396Z 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=612.217µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.639274947Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.63956664Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=298.653µs 18:16:23 policy-db-migrator | Waiting for mariadb port 3306... 18:16:23 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:23 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:23 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:23 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:23 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:23 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:23 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 18:16:23 policy-db-migrator | 321 blocks 18:16:23 policy-db-migrator | Preparing upgrade release version: 0800 18:16:23 policy-db-migrator | Preparing upgrade release version: 0900 18:16:23 policy-db-migrator | Preparing upgrade release version: 1000 18:16:23 policy-db-migrator | Preparing upgrade release version: 1100 18:16:23 policy-db-migrator | Preparing upgrade release version: 1200 18:16:23 policy-db-migrator | Preparing upgrade release version: 1300 18:16:23 policy-db-migrator | Done 18:16:23 policy-db-migrator | name version 18:16:23 policy-db-migrator | policyadmin 0 18:16:23 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:23 policy-db-migrator | upgrade: 0 -> 1300 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.643806394Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.64436584Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=559.117µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.647518949Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.647731492Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=213.973µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.651769161Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.660383578Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=8.611507ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.667530377Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.670536844Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.007327ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.678938009Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.680340926Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.402878ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.686114548Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.687721567Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.606709ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.694677904Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.694968068Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=287.443µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.698500051Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.702749004Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.248903ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.709298905Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.710992796Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.692661ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.717002061Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.717172753Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=171.392µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.720247661Z level=info msg="Executing migration" id="Move region to single row" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.720632976Z level=info msg="Migration successfully executed" id="Move region to single row" duration=385.244µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.724937728Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.726315986Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.372138ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.734629689Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.736135187Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.504728ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.74039403Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.741658306Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.263016ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.745451253Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.746690468Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.238795ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.752299878Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.75319161Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=891.101µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.756895105Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.758041319Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.144144ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.762170111Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.762272622Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=103.411µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.769080916Z level=info msg="Executing migration" id="create test_data table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.769840476Z level=info msg="Migration successfully executed" id="create test_data table" duration=759.41µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.77341233Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.774810917Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.403907ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.77908264Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.780462557Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.379287ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.785253357Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.786150087Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=896.3µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.794172677Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.794491001Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=329.404µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.839567999Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.840243459Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=675.62µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.844931106Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.845039227Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=109.221µs 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.848806665Z level=info msg="Executing migration" id="create team table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.85008677Z level=info msg="Migration successfully executed" id="create team table" duration=1.271345ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.856259696Z level=info msg="Executing migration" id="add index team.org_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.858253461Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.988125ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.863426616Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.864294316Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=867.43µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.871513896Z level=info msg="Executing migration" id="Add column uid in team" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.875964901Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.450615ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.880457967Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.880661689Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=203.882µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.884409535Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.885488779Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.078754ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.8903842Z level=info msg="Executing migration" id="create team member table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.891516694Z level=info msg="Migration successfully executed" id="create team member table" duration=1.132164ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.89681357Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.89770079Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=890.32µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.901539959Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.90245913Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=918.501µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.909265934Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.910621991Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.360767ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.915607993Z level=info msg="Executing migration" id="Add column email to team table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.920076258Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.467885ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.923757743Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.928829696Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.069553ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.933317432Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.937848838Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.531196ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.943955454Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.945463492Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.507668ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.95010195Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.951510667Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.408797ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.955953653Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.957005205Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.045382ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.962372922Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.963889881Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.515059ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.969810895Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.971208691Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.406797ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.977987176Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.978886627Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=892.681µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.984553337Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.986127637Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.57381ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.992316754Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.993228395Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=915.041µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.998654822Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:34.999566324Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=911.222µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.004357433Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.004758131Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=400.608µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.008595837Z level=info msg="Executing migration" id="create tag table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.009686904Z level=info msg="Migration successfully executed" id="create tag table" duration=1.090798ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.014155687Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.015055881Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=899.934µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.020738453Z level=info msg="Executing migration" id="create login attempt table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.021947344Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.20888ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.027944141Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.029416514Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.484624ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.037666148Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.039550929Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.884581ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.043929019Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.064246449Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.31424ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.068101341Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.068692011Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=590.11µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.074871431Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.075795416Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=926.855µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.080422391Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.081038411Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=613.79µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.085244189Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.08591684Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=673.001µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.091938798Z level=info msg="Executing migration" id="create user auth table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.093112017Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.176739ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.096291868Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.097846244Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.553996ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.101178438Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.101250049Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=64.961µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.106120798Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.111379342Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.257954ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.114336311Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.119597836Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.261056ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.123628982Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.128884967Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.255445ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.135670127Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.14390319Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=8.228203ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.14946181Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.150234762Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=772.542µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.155798823Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.164614445Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.815252ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.171943395Z level=info msg="Executing migration" id="create server_lock table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.172746697Z level=info msg="Migration successfully executed" id="create server_lock table" duration=802.872µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.176825434Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.178410819Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.584545ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.182204081Z level=info msg="Executing migration" id="create user auth token table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.183091185Z level=info msg="Migration successfully executed" id="create user auth token table" duration=885.554µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.188177758Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.189422918Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.24493ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.1969205Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.198087348Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.168948ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.202849486Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.203934413Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.084647ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.210227416Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.218548061Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.321875ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.257114095Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.258670831Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.557166ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.263881635Z level=info msg="Executing migration" id="create cache_data table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.265153115Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.26478ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.272620817Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.275384132Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=2.772005ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.279737513Z level=info msg="Executing migration" id="create short_url table v1" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.280927382Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.189609ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.287821363Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.288951432Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.130559ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.294704865Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.294859737Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=166.262µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.298944803Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.299077365Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=133.262µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.303740121Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.305221026Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.481425ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.311635569Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.312697856Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.061897ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.350359617Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.351959603Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.602606ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.357845318Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.35799504Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=151.132µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.362451293Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.364605208Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=2.157005ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.37209778Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.372904583Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=807.283µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.387274897Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.38930267Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=2.032073ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.401890564Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.403232297Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.344543ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.409042471Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.415425135Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.382314ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.422246195Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.423652479Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.405294ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.428819143Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.429308461Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=488.778µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.436865774Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.438634082Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.774988ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.445321722Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.447301473Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.982861ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.453036526Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.454130705Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.093779ms 18:16:23 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.459778597Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.459936509Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=157.682µs 18:16:23 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 policy-api | Waiting for mariadb port 3306... 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.46616819Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:23 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:23 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.468088202Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.919432ms 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-api | mariadb (172.17.0.3:3306) open 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.472842929Z level=info msg="Executing migration" id="create alert_instance table" 18:16:23 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:23 policy-db-migrator | 18:16:23 policy-api | Waiting for policy-db-migrator port 6824... 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.475490982Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=2.647964ms 18:16:23 mariadb | 18:16:23 policy-db-migrator | 18:16:23 policy-api | policy-db-migrator (172.17.0.5:6824) open 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.48209521Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:23 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:23 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:23 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.483068925Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=973.565µs 18:16:23 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-api | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.489814716Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:23 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.49131738Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.502564ms 18:16:23 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:23 mariadb | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.495905775Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:23 policy-api | . ____ _ __ _ _ 18:16:23 policy-db-migrator | -------------- 18:16:23 mariadb | 2024-01-17 18:14:39+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:23 mariadb | 2024-01-17 18:14:39 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.504347942Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.440407ms 18:16:23 mariadb | 2024-01-17 18:14:39 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:23 mariadb | 2024-01-17 18:14:39 0 [Note] InnoDB: Starting shutdown... 18:16:23 policy-db-migrator | 18:16:23 mariadb | 2024-01-17 18:14:39 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:23 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:23 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.510637594Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.511566969Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=929.515µs 18:16:23 mariadb | 2024-01-17 18:14:39 0 [Note] InnoDB: Buffer pool(s) dump completed at 240117 18:14:39 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Shutdown completed; log sequence number 332590; transaction id 298 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] mariadbd: Shutdown complete 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.515608345Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:23 policy-db-migrator | -------------- 18:16:23 mariadb | 18:16:23 mariadb | 2024-01-17 18:14:40+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.51654429Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=939.245µs 18:16:23 policy-db-migrator | 18:16:23 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.523010965Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:23 mariadb | 18:16:23 mariadb | 2024-01-17 18:14:40+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.559876296Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.862261ms 18:16:23 policy-db-migrator | 18:16:23 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.565527638Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:23 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.603407024Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=37.888416ms 18:16:23 mariadb | 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:23 policy-db-migrator | -------------- 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Number of transaction pools: 1 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.607762765Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.608503207Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=742.342µs 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.612841487Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:23 policy-db-migrator | 18:16:23 policy-api | :: Spring Boot :: (v3.1.4) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.614609966Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.767099ms 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.618726194Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:23 policy-db-migrator | 18:16:23 policy-api | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.62531663Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.591306ms 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.665181639Z level=info msg="Executing migration" id="create alert_rule table" 18:16:23 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: 128 rollback segments are active. 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.667394355Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=2.215696ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.675135842Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:23 policy-api | [2024-01-17T18:14:54.504+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 26 (/app/api.jar started by policy in /opt/app/policy/api/bin) 18:16:23 policy-api | [2024-01-17T18:14:54.505+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.677133263Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.996711ms 18:16:23 policy-api | [2024-01-17T18:14:56.141+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:23 policy-api | [2024-01-17T18:14:56.232+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 81 ms. Found 6 JPA repository interfaces. 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.681546346Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:23 policy-db-migrator | 18:16:23 policy-api | [2024-01-17T18:14:56.618+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 18:16:23 policy-api | [2024-01-17T18:14:56.619+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.683255424Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.708898ms 18:16:23 policy-api | [2024-01-17T18:14:57.251+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:23 policy-api | [2024-01-17T18:14:57.260+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:23 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.691774882Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:23 policy-api | [2024-01-17T18:14:57.261+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:23 policy-api | [2024-01-17T18:14:57.262+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-api | [2024-01-17T18:14:57.346+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:23 policy-api | [2024-01-17T18:14:57.346+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2777 ms 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.692975991Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.195599ms 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: log sequence number 332590; transaction id 299 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.697203191Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:23 policy-api | [2024-01-17T18:14:57.770+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:23 policy-api | [2024-01-17T18:14:57.852+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.697276612Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=73.921µs 18:16:23 policy-api | [2024-01-17T18:14:57.855+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:23 policy-api | [2024-01-17T18:14:57.900+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.700358142Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:23 policy-api | [2024-01-17T18:14:58.311+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:23 policy-api | [2024-01-17T18:14:58.329+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:23 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:23 policy-api | [2024-01-17T18:14:58.454+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 18:16:23 policy-api | [2024-01-17T18:14:58.456+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.707362156Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.001174ms 18:16:23 policy-api | [2024-01-17T18:14:58.481+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.714455802Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:23 policy-api | [2024-01-17T18:14:58.484+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.724310211Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=9.85761ms 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:23 policy-api | [2024-01-17T18:15:00.210+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.728921437Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:23 policy-api | [2024-01-17T18:15:00.213+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.733934859Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.012942ms 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:23 policy-api | [2024-01-17T18:15:01.663+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:23 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.738845718Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:23 policy-api | [2024-01-17T18:15:04.417+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.739903466Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.058048ms 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] Server socket created on IP: '::'. 18:16:23 policy-api | [2024-01-17T18:15:05.413+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.745377845Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] mariadbd: ready for connections. 18:16:23 policy-api | [2024-01-17T18:15:05.618+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@631f188a, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@285bee4e, org.springframework.security.web.context.SecurityContextHolderFilter@31829b82, org.springframework.security.web.header.HeaderWriterFilter@3005133e, org.springframework.security.web.authentication.logout.LogoutFilter@249a7ccc, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3532f633, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@fb74661, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6e04275e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@d181ca3, org.springframework.security.web.access.ExceptionTranslationFilter@6149184e, org.springframework.security.web.access.intercept.AuthorizationFilter@48adb967] 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.746426311Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.048006ms 18:16:23 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 18:16:23 mariadb | 2024-01-17 18:14:40 0 [Note] InnoDB: Buffer pool(s) load completed at 240117 18:14:40 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.751075047Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:23 mariadb | 2024-01-17 18:14:41 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:23 mariadb | 2024-01-17 18:14:41 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.760797355Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.722868ms 18:16:23 policy-api | [2024-01-17T18:15:06.469+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:23 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.765251978Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:23 policy-api | [2024-01-17T18:15:06.528+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.771645062Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.395934ms 18:16:23 policy-api | [2024-01-17T18:15:06.567+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.776603333Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:23 policy-api | [2024-01-17T18:15:06.583+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.761 seconds (process running for 13.333) 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.77764664Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.029186ms 18:16:23 policy-api | [2024-01-17T18:15:09.792+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.782281535Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:23 policy-db-migrator | 18:16:23 policy-api | [2024-01-17T18:15:09.792+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.791617967Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.335762ms 18:16:23 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:23 policy-api | [2024-01-17T18:15:09.794+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.795698904Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:23 policy-api | [2024-01-17T18:15:12.413+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.799999743Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.300339ms 18:16:23 policy-api | [] 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.806124973Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 policy-api | [2024-01-17T18:15:12.549+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.806286666Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=165.904µs 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-api | [2024-01-17T18:15:12.807+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.814198364Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:23 policy-api | [2024-01-17T18:15:13.954+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.816007584Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.80895ms 18:16:23 policy-api | [2024-01-17T18:15:15.885+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.821622475Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:23 policy-api | [2024-01-17T18:15:16.190+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.823435925Z 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.81351ms 18:16:23 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:23 policy-api | [2024-01-17T18:15:16.424+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.832301289Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-api | [2024-01-17T18:15:16.655+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.833491868Z 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.195629ms 18:16:23 policy-api | [2024-01-17T18:15:16.885+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.839992125Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:23 policy-api | [2024-01-17T18:15:17.113+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.840228918Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=188.713µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.845332771Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.854408679Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.076459ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.859543453Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:23 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.869884021Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=10.341458ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.873800495Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.880085187Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.284392ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.884352136Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.890966164Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.613598ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.897206645Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:23 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.903490217Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.278762ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.907435902Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.907500543Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.081µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.911272654Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.912016236Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=746.842µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.917340293Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:23 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.9264172Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.078167ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.934089926Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.934197497Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=108.542µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.938930245Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.947468924Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.539629ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.950854918Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:23 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.951843784Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=988.736µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.956062703Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.962286374Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.220651ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.965346934Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.966073367Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=725.682µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.969249218Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:23 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.970227774Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=979.246µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.974660486Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.980929228Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.267402ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.98415953Z level=info msg="Executing migration" id="create provenance_type table" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.984844781Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=685.301µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.987886191Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:23 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.988872178Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=982.387µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.994382117Z level=info msg="Executing migration" id="create alert_image table" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.995088079Z level=info msg="Migration successfully executed" id="create alert_image table" duration=705.652µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.998338631Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:35.999766125Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.425824ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.003525962Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:23 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.003627032Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=97.581µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.007436922Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.008311884Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=874.722µs 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.012795483Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.013774484Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=979.061µs 18:16:23 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.017008631Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.017441786Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.021485212Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.021876586Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=394.244µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.025293455Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.027030915Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.73676ms 18:16:23 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.030760217Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.037515484Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.756217ms 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.042228727Z level=info msg="Executing migration" id="create library_element table v1" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.042839414Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=610.707µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.090758196Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.092131833Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.377106ms 18:16:23 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.096107977Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.096876156Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=764.428µs 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.100057671Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.101213715Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.161434ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.106234592Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.107272414Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.037772ms 18:16:23 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.110559921Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.110627711Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=68.64µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.114722708Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.114788909Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=62.041µs 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.11935435Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.119723714Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=369.844µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.122437505Z level=info msg="Executing migration" id="create data_keys table" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.123354756Z level=info msg="Migration successfully executed" id="create data_keys table" duration=917.021µs 18:16:23 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.126662793Z level=info msg="Executing migration" id="create secrets table" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.127459122Z level=info msg="Migration successfully executed" id="create secrets table" duration=797.609µs 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.132740332Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.183896111Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=51.155899ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.200762242Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.20944184Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=8.680538ms 18:16:23 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.228452074Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.228855298Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=405.874µs 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.244881638Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.294560195Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=49.681447ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.298080885Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.34227616Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.194045ms 18:16:23 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.345421635Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.346021072Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=594.817µs 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.349272328Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.350166399Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=893.341µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.357125296Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.35744409Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=319.994µs 18:16:23 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.361067301Z level=info msg="Executing migration" id="create permission table" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.36193479Z level=info msg="Migration successfully executed" id="create permission table" duration=867.409µs 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.366921046Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.368620205Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.698719ms 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.375926577Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:23 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.377050179Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.123512ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.381971295Z level=info msg="Executing migration" id="create role table" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.383283789Z level=info msg="Migration successfully executed" id="create role table" duration=1.312804ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.388826641Z level=info msg="Executing migration" id="add column display_name" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.399546642Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.720141ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.406788123Z level=info msg="Executing migration" id="add column group_name" 18:16:23 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.417110099Z level=info msg="Migration successfully executed" id="add column group_name" duration=10.318656ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.421966583Z level=info msg="Executing migration" id="add index role.org_id" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.423662932Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.696819ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.428993702Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.430753271Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.757799ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.43595052Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:23 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.437114053Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.163313ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.440932316Z level=info msg="Executing migration" id="create team role table" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.442156999Z level=info msg="Migration successfully executed" id="create team role table" duration=1.224513ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.445868871Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.44755193Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.682348ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.452527565Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:23 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.454742501Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.214315ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.497171627Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.499297481Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=2.129384ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.503527278Z level=info msg="Executing migration" id="create user role table" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.504811073Z level=info msg="Migration successfully executed" id="create user role table" duration=1.283505ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.510286724Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:23 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.511367776Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.080882ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.515086578Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.517038839Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.951271ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.521378978Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.523222718Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.8307ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.529659601Z level=info msg="Executing migration" id="create builtin role table" 18:16:23 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.530413259Z level=info msg="Migration successfully executed" id="create builtin role table" duration=755.748µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.533787437Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.535487966Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.699929ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.540518373Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.541596225Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.104082ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.547336689Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:23 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.555083266Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.746427ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.558815717Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.55992292Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.107053ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.563197167Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.564346739Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.148962ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.568719269Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:23 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.570426447Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.701248ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.576205182Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.578170444Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.964752ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.582309521Z level=info msg="Executing migration" id="create seed assignment table" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.583042029Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=732.418µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.587228336Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:23 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.589092387Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.862891ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.594617409Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.603231735Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.614886ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.606730374Z level=info msg="Executing migration" id="permission kind migration" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.614741144Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.0104ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.619002112Z level=info msg="Executing migration" id="permission attribute migration" 18:16:23 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.626803779Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.801437ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.630960186Z level=info msg="Executing migration" id="permission identifier migration" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.63662584Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.663413ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.639986717Z level=info msg="Executing migration" id="add permission identifier index" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.6410696Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.082712ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.645375207Z level=info msg="Executing migration" id="create query_history table v1" 18:16:23 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.646272517Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=896.86µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.651478416Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.653290566Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.80693ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.657844547Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.657927129Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=82.942µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.662474869Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:23 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.662509749Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=35.49µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.666468434Z level=info msg="Executing migration" id="teams permissions migration" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.667284183Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=824.009µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.671330668Z level=info msg="Executing migration" id="dashboard permissions" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.67234327Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.013592ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.676018561Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:23 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.677006482Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=987.671µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.681733465Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.681944987Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=211.662µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.685575308Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.685937563Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=360.305µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.690598735Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.691819959Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.220895ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.695927974Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:23 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.697729895Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.800211ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.702526058Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.710404956Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.878528ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.714837126Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.714926397Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=90.091µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.718701869Z level=info msg="Executing migration" id="create correlation table v1" 18:16:23 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.71960312Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=900.851µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.72504182Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.726625698Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.582568ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.73210945Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.734014601Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.904581ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.738121527Z level=info msg="Executing migration" id="add correlation config column" 18:16:23 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.746197618Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.073451ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.752299276Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.753413629Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.115943ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.757328552Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.758419164Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.086712ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.761922094Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:23 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.791288293Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=29.364989ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.796570563Z level=info msg="Executing migration" id="create correlation v2" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.79728359Z level=info msg="Migration successfully executed" id="create correlation v2" duration=712.977µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.800637288Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.801518258Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=880.73µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.808041681Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:23 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.810000313Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.958102ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.814060408Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.815186431Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.125723ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.818997984Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.819293427Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=295.423µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.824673457Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:23 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.825931531Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.257874ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.830606574Z level=info msg="Executing migration" id="add provisioning column" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.838788006Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.176151ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.842826861Z level=info msg="Executing migration" id="create entity_events table" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.84359884Z level=info msg="Migration successfully executed" id="create entity_events table" duration=766.839µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.848751568Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:23 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.850218174Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.466535ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.854138038Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.854870946Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.858760099Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.859232084Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.863838346Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:23 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.864619745Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=779.269µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.868885773Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.870334129Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.448176ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.910576201Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.912540202Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.964431ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.919678242Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:23 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.921481583Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.803131ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.927737343Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.928854015Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.116762ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.934046023Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.935651502Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.597349ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.941397556Z level=info msg="Executing migration" id="Drop public config table" 18:16:23 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.94267496Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.276994ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.946974449Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.94799996Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.026121ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.953421861Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.955264262Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.842371ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.962003647Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:23 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.963181119Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.112102ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.966927782Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.968390108Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.460686ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:36.973549846Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.007857621Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.308925ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.012705613Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:23 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.02119022Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.484027ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.02506342Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.031189197Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.125387ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.036423933Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.036644626Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=218.933µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.040601265Z level=info msg="Executing migration" id="add share column" 18:16:23 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.052759799Z level=info msg="Migration successfully executed" id="add share column" duration=12.163314ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.057066214Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.057427048Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=361.344µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.061153265Z level=info msg="Executing migration" id="create file table" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.062513762Z level=info msg="Migration successfully executed" id="create file table" duration=1.360127ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.068046813Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:23 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.069211887Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.164554ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.074042119Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.07570282Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.658282ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.083720963Z level=info msg="Executing migration" id="create file_meta table" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.084882787Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.165315ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.09296517Z level=info msg="Executing migration" id="file table idx: path key" 18:16:23 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.095452822Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.487782ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.101672311Z level=info msg="Executing migration" id="set path collation in file table" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.101810993Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=139.512µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.106108438Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.10624854Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=149.762µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.115427907Z level=info msg="Executing migration" id="managed permissions migration" 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.116370428Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=949.442µs 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.124122177Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:23 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.124486512Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=363.135µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.129145532Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.130350707Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.210985ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.135196309Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.144225794Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.030295ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.153081436Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:23 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.153237038Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=155.812µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.157094018Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.158233972Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.139244ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.16439284Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.16508977Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=698.1µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.170447627Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:23 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.170770622Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=322.985µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.174909165Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.175692574Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=783.059µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.179785697Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.191328354Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.543007ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.197775916Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:23 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.206390936Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.61797ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.210841553Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.211940467Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.099504ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.217457347Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.337253494Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=119.734286ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.362159682Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:23 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.363249236Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.087514ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.366891723Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.368220479Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.327886ms 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.372659386Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.410116954Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.457018ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.413130692Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:23 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.413312904Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=184.842µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.415866927Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.416034559Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=166.882µs 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.421010833Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.421512029Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=501.706µs 18:16:23 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.425301716Z level=info msg="Executing migration" id="create folder table" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.426837646Z level=info msg="Migration successfully executed" id="create folder table" duration=1.53593ms 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.431205973Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.432516629Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.316247ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.43813515Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.440120426Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.998246ms 18:16:23 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.443729002Z level=info msg="Executing migration" id="Update folder title length" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.443769202Z level=info msg="Migration successfully executed" id="Update folder title length" duration=49.96µs 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.448130568Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.449428765Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.297756ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.454851354Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.456691088Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.839474ms 18:16:23 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.460942831Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.462501852Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.559311ms 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.467045379Z level=info msg="Executing migration" id="create anon_device table" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.468081193Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.031214ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.472683771Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.474017958Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.333137ms 18:16:23 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.478707708Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.480232737Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.531989ms 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.486352975Z level=info msg="Executing migration" id="create signing_key table" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.487716393Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.368098ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.493408446Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.494745652Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.336856ms 18:16:23 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.498945586Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.500242172Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.297036ms 18:16:23 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.505117885Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.505601571Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=484.936µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.510111669Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.522667618Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.557969ms 18:16:23 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.526455127Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.527006274Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=560.617µs 18:16:23 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.531291918Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.532340122Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.047344ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.536720297Z level=info msg="Executing migration" id="create sso_setting table" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.538605222Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.884645ms 18:16:23 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.545270526Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.546147098Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=877.162µs 18:16:23 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.55106713Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.551479405Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=411.465µs 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=migrator t=2024-01-17T18:14:37.556948065Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.397369617s 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=sqlstore t=2024-01-17T18:14:37.566985833Z level=info msg="Created default admin" user=admin 18:16:23 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:23 grafana | logger=sqlstore t=2024-01-17T18:14:37.567340208Z level=info msg="Created default organization" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=secrets t=2024-01-17T18:14:37.571666083Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:23 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 grafana | logger=plugin.store t=2024-01-17T18:14:37.596222836Z level=info msg="Loading plugins..." 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=local.finder t=2024-01-17T18:14:37.634638126Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=plugin.store t=2024-01-17T18:14:37.634705687Z level=info msg="Plugins loaded" count=55 duration=38.484311ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=query_data t=2024-01-17T18:14:37.63812202Z level=info msg="Query Service initialization" 18:16:23 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:23 grafana | logger=live.push_http t=2024-01-17T18:14:37.641557844Z level=info msg="Live Push Gateway initialization" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=ngalert.migration t=2024-01-17T18:14:37.646664039Z level=info msg=Starting 18:16:23 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 grafana | logger=ngalert.migration orgID=1 t=2024-01-17T18:14:37.647605921Z level=info msg="Migrating alerts for organisation" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=ngalert.migration orgID=1 t=2024-01-17T18:14:37.648101928Z level=info msg="Alerts found to migrate" alerts=0 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=ngalert.migration orgID=1 t=2024-01-17T18:14:37.648559693Z level=warn msg="No available receivers" 18:16:23 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:23 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-17T18:14:37.651314158Z level=info msg="Completed legacy migration" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=infra.usagestats.collector t=2024-01-17T18:14:37.680932377Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:23 policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 grafana | logger=provisioning.datasources t=2024-01-17T18:14:37.68281096Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=provisioning.alerting t=2024-01-17T18:14:37.697818322Z level=info msg="starting to provision alerting" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=provisioning.alerting t=2024-01-17T18:14:37.697945294Z level=info msg="finished to provision alerting" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=grafanaStorageLogger t=2024-01-17T18:14:37.698218707Z level=info msg="Storage starting" 18:16:23 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:23 grafana | logger=ngalert.state.manager t=2024-01-17T18:14:37.699465182Z level=info msg="Warming state cache for startup" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=http.server t=2024-01-17T18:14:37.703476974Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:23 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 grafana | logger=ngalert.multiorg.alertmanager t=2024-01-17T18:14:37.70393861Z level=info msg="Starting MultiOrg Alertmanager" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=grafana.update.checker t=2024-01-17T18:14:37.741082743Z level=info msg="Update check succeeded" duration=42.801285ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=ngalert.state.manager t=2024-01-17T18:14:37.742705214Z level=info msg="State cache has been initialized" states=0 duration=43.237002ms 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=ngalert.scheduler t=2024-01-17T18:14:37.742733014Z level=info msg="Starting scheduler" tickInterval=10s 18:16:23 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:23 grafana | logger=ticker t=2024-01-17T18:14:37.742812665Z level=info msg=starting first_tick=2024-01-17T18:14:40Z 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=plugins.update.checker t=2024-01-17T18:14:37.785621341Z level=info msg="Update check succeeded" duration=86.998429ms 18:16:23 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 grafana | logger=sqlstore.transactions t=2024-01-17T18:14:37.897777351Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:23 policy-db-migrator | -------------- 18:16:23 grafana | logger=sqlstore.transactions t=2024-01-17T18:14:37.913702694Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:23 policy-db-migrator | 18:16:23 grafana | logger=infra.usagestats t=2024-01-17T18:15:30.711949656Z level=info msg="Usage stats are ready to report" 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:23 policy-db-migrator | JOIN pdpstatistics b 18:16:23 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:23 policy-db-migrator | SET a.id = b.id 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | msg 18:16:23 policy-db-migrator | upgrade to 1100 completed 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | TRUNCATE TABLE sequence 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP TABLE pdpstatistics 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | DROP TABLE statistics_sequence 18:16:23 policy-db-migrator | -------------- 18:16:23 policy-db-migrator | 18:16:23 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:23 policy-db-migrator | name version 18:16:23 policy-db-migrator | policyadmin 1300 18:16:23 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:23 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:42 18:16:23 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:43 18:16:23 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:44 18:16:23 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:44 18:16:23 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:44 18:16:23 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:44 18:16:23 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:44 18:16:23 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:44 18:16:23 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:45 18:16:23 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:45 18:16:23 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:45 18:16:23 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:45 18:16:23 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:45 18:16:23 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:45 18:16:23 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:46 18:16:23 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:47 18:16:23 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:47 18:16:23 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:47 18:16:23 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:47 18:16:23 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:47 18:16:23 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:48 18:16:23 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:48 18:16:23 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:48 18:16:23 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:48 18:16:23 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:49 18:16:23 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1701241814420800u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:50 18:16:23 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1701241814420900u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1701241814421000u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1701241814421000u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1701241814421000u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1701241814421000u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1701241814421000u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1701241814421000u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1701241814421000u 1 2024-01-17 18:14:51 18:16:23 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1701241814421000u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1701241814421000u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1701241814421100u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1701241814421200u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1701241814421200u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1701241814421200u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1701241814421200u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1701241814421300u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1701241814421300u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1701241814421300u 1 2024-01-17 18:14:52 18:16:23 policy-db-migrator | policyadmin: OK @ 1300 18:16:23 ++ echo 'Tearing down containers...' 18:16:23 Tearing down containers... 18:16:23 ++ docker-compose down -v --remove-orphans 18:16:24 Stopping policy-api ... 18:16:24 Stopping grafana ... 18:16:24 Stopping prometheus ... 18:16:24 Stopping mariadb ... 18:16:24 Stopping grafana ... done 18:16:25 Stopping prometheus ... done 18:16:25 Stopping mariadb ... done 18:16:34 Stopping policy-api ... done 18:16:34 Removing policy-api ... 18:16:34 Removing policy-db-migrator ... 18:16:34 Removing grafana ... 18:16:34 Removing prometheus ... 18:16:34 Removing mariadb ... 18:16:34 Removing grafana ... done 18:16:34 Removing policy-api ... done 18:16:34 Removing prometheus ... done 18:16:34 Removing policy-db-migrator ... done 18:16:34 Removing mariadb ... done 18:16:34 Removing network compose_default 18:16:34 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:34 + load_set 18:16:34 + _setopts=hxB 18:16:34 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:34 ++ tr : ' ' 18:16:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:34 + set +o braceexpand 18:16:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:34 + set +o hashall 18:16:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:34 + set +o interactive-comments 18:16:34 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:34 + set +o xtrace 18:16:34 ++ echo hxB 18:16:34 ++ sed 's/./& /g' 18:16:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:34 + set +h 18:16:34 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:34 + set +x 18:16:34 + [[ -n /tmp/tmp.McLplFjCRl ]] 18:16:34 + rsync -av /tmp/tmp.McLplFjCRl/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:34 sending incremental file list 18:16:34 ./ 18:16:34 log.html 18:16:34 output.xml 18:16:34 report.html 18:16:34 testplan.txt 18:16:34 18:16:34 sent 1,344,202 bytes received 95 bytes 2,688,594.00 bytes/sec 18:16:34 total size is 1,343,552 speedup is 1.00 18:16:34 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:34 + exit 0 18:16:34 $ ssh-agent -k 18:16:34 unset SSH_AUTH_SOCK; 18:16:34 unset SSH_AGENT_PID; 18:16:34 echo Agent pid 2230 killed; 18:16:34 [ssh-agent] Stopped. 18:16:35 Robot results publisher started... 18:16:35 -Parsing output xml: 18:16:35 Done! 18:16:35 WARNING! Could not find file: **/log.html 18:16:35 WARNING! Could not find file: **/report.html 18:16:35 -Copying log files to build dir: 18:16:35 Done! 18:16:35 -Assigning results to build: 18:16:35 Done! 18:16:35 -Checking thresholds: 18:16:35 Done! 18:16:35 Done publishing Robot results. 18:16:35 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:35 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13953857202671481843.sh 18:16:35 ---> sysstat.sh 18:16:36 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4966519033637707273.sh 18:16:36 ---> package-listing.sh 18:16:36 ++ facter osfamily 18:16:36 ++ tr '[:upper:]' '[:lower:]' 18:16:36 + OS_FAMILY=debian 18:16:36 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:36 + START_PACKAGES=/tmp/packages_start.txt 18:16:36 + END_PACKAGES=/tmp/packages_end.txt 18:16:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:36 + PACKAGES=/tmp/packages_start.txt 18:16:36 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:36 + PACKAGES=/tmp/packages_end.txt 18:16:36 + case "${OS_FAMILY}" in 18:16:36 + dpkg -l 18:16:36 + grep '^ii' 18:16:36 + '[' -f /tmp/packages_start.txt ']' 18:16:36 + '[' -f /tmp/packages_end.txt ']' 18:16:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:36 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:36 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:36 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8052261391255834517.sh 18:16:36 ---> capture-instance-metadata.sh 18:16:36 Setup pyenv: 18:16:36 system 18:16:36 3.8.13 18:16:36 3.9.13 18:16:36 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jY5h from file:/tmp/.os_lf_venv 18:16:38 lf-activate-venv(): INFO: Installing: lftools 18:16:48 lf-activate-venv(): INFO: Adding /tmp/venv-jY5h/bin to PATH 18:16:48 INFO: Running in OpenStack, capturing instance metadata 18:16:48 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2170984882677429200.sh 18:16:48 provisioning config files... 18:16:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config52120075433685645tmp 18:16:49 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:49 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:49 [EnvInject] - Injecting environment variables from a build step. 18:16:49 [EnvInject] - Injecting as environment variables the properties content 18:16:49 SERVER_ID=logs 18:16:49 18:16:49 [EnvInject] - Variables injected successfully. 18:16:49 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15161623225107386068.sh 18:16:49 ---> create-netrc.sh 18:16:49 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5838624457467510108.sh 18:16:49 ---> python-tools-install.sh 18:16:49 Setup pyenv: 18:16:49 system 18:16:49 3.8.13 18:16:49 3.9.13 18:16:49 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:49 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jY5h from file:/tmp/.os_lf_venv 18:16:50 lf-activate-venv(): INFO: Installing: lftools 18:17:00 lf-activate-venv(): INFO: Adding /tmp/venv-jY5h/bin to PATH 18:17:00 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7503822297492737381.sh 18:17:00 ---> sudo-logs.sh 18:17:00 Archiving 'sudo' log.. 18:17:00 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17907827680848566804.sh 18:17:00 ---> job-cost.sh 18:17:00 Setup pyenv: 18:17:00 system 18:17:00 3.8.13 18:17:00 3.9.13 18:17:00 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:17:01 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jY5h from file:/tmp/.os_lf_venv 18:17:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:17:09 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 18:17:09 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 18:17:09 lf-activate-venv(): INFO: Adding /tmp/venv-jY5h/bin to PATH 18:17:09 INFO: No Stack... 18:17:09 INFO: Retrieving Pricing Info for: v3-standard-8 18:17:10 INFO: Archiving Costs 18:17:10 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins8289073481258971306.sh 18:17:10 ---> logs-deploy.sh 18:17:10 Setup pyenv: 18:17:10 system 18:17:10 3.8.13 18:17:10 3.9.13 18:17:10 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:17:10 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jY5h from file:/tmp/.os_lf_venv 18:17:11 lf-activate-venv(): INFO: Installing: lftools 18:17:25 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 18:17:25 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 18:17:26 lf-activate-venv(): INFO: Adding /tmp/venv-jY5h/bin to PATH 18:17:26 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/67 18:17:26 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:17:27 Archives upload complete. 18:17:27 INFO: archiving logs to Nexus 18:17:28 ---> uname -a: 18:17:28 Linux prd-ubuntu1804-docker-8c-8g-13020 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 18:17:28 18:17:28 18:17:28 ---> lscpu: 18:17:28 Architecture: x86_64 18:17:28 CPU op-mode(s): 32-bit, 64-bit 18:17:28 Byte Order: Little Endian 18:17:28 CPU(s): 8 18:17:28 On-line CPU(s) list: 0-7 18:17:28 Thread(s) per core: 1 18:17:28 Core(s) per socket: 1 18:17:28 Socket(s): 8 18:17:28 NUMA node(s): 1 18:17:28 Vendor ID: AuthenticAMD 18:17:28 CPU family: 23 18:17:28 Model: 49 18:17:28 Model name: AMD EPYC-Rome Processor 18:17:28 Stepping: 0 18:17:28 CPU MHz: 2799.998 18:17:28 BogoMIPS: 5599.99 18:17:28 Virtualization: AMD-V 18:17:28 Hypervisor vendor: KVM 18:17:28 Virtualization type: full 18:17:28 L1d cache: 32K 18:17:28 L1i cache: 32K 18:17:28 L2 cache: 512K 18:17:28 L3 cache: 16384K 18:17:28 NUMA node0 CPU(s): 0-7 18:17:28 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 18:17:28 18:17:28 18:17:28 ---> nproc: 18:17:28 8 18:17:28 18:17:28 18:17:28 ---> df -h: 18:17:28 Filesystem Size Used Avail Use% Mounted on 18:17:28 udev 16G 0 16G 0% /dev 18:17:28 tmpfs 3.2G 708K 3.2G 1% /run 18:17:28 /dev/vda1 155G 12G 144G 8% / 18:17:28 tmpfs 16G 0 16G 0% /dev/shm 18:17:28 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:28 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:28 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:28 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:28 18:17:28 18:17:28 ---> free -m: 18:17:28 total used free shared buff/cache available 18:17:28 Mem: 32167 832 27344 0 3989 30878 18:17:28 Swap: 1023 0 1023 18:17:28 18:17:28 18:17:28 ---> ip addr: 18:17:28 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:28 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:28 inet 127.0.0.1/8 scope host lo 18:17:28 valid_lft forever preferred_lft forever 18:17:28 inet6 ::1/128 scope host 18:17:28 valid_lft forever preferred_lft forever 18:17:28 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:17:28 link/ether fa:16:3e:4b:5d:52 brd ff:ff:ff:ff:ff:ff 18:17:28 inet 10.30.107.248/23 brd 10.30.107.255 scope global dynamic ens3 18:17:28 valid_lft 86031sec preferred_lft 86031sec 18:17:28 inet6 fe80::f816:3eff:fe4b:5d52/64 scope link 18:17:28 valid_lft forever preferred_lft forever 18:17:28 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:28 link/ether 02:42:46:a4:d8:4a brd ff:ff:ff:ff:ff:ff 18:17:28 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:28 valid_lft forever preferred_lft forever 18:17:28 18:17:28 18:17:28 ---> sar -b -r -n DEV: 18:17:28 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-13020) 01/17/24 _x86_64_ (8 CPU) 18:17:28 18:17:28 18:11:22 LINUX RESTART (8 CPU) 18:17:28 18:17:28 18:12:02 tps rtps wtps bread/s bwrtn/s 18:17:28 18:13:01 97.42 18.03 79.40 1038.97 26511.96 18:17:28 18:14:01 128.43 23.08 105.35 2760.74 32044.93 18:17:28 18:15:01 368.66 13.68 354.97 796.50 79607.05 18:17:28 18:16:01 18.78 0.35 18.43 31.99 19509.20 18:17:28 18:17:01 66.47 1.47 65.01 113.05 23131.04 18:17:28 Average: 136.08 11.30 124.78 947.95 36192.78 18:17:28 18:17:28 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:28 18:13:01 30089884 31712632 2849328 8.65 71012 1860656 1424272 4.19 861444 1693888 180432 18:17:28 18:14:01 28666756 31662268 4272456 12.97 103432 3159640 1549512 4.56 990028 2899500 1125724 18:17:28 18:15:01 27375304 31022324 5563908 16.89 127492 3744160 3788104 11.15 1720624 3395056 220 18:17:28 18:16:01 27046724 30696376 5892488 17.89 127840 3745844 4137768 12.17 2047736 3390852 152 18:17:28 18:17:01 28066696 31677608 4872516 14.79 130160 3714920 1403648 4.13 1102152 3344908 224 18:17:28 Average: 28249073 31354242 4690139 14.24 111987 3245044 2460661 7.24 1344397 2944841 261350 18:17:28 18:17:28 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:28 18:13:01 ens3 62.30 43.48 1015.27 7.70 0.00 0.00 0.00 0.00 18:17:28 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:28 18:13:01 lo 1.49 1.49 0.16 0.16 0.00 0.00 0.00 0.00 18:17:28 18:14:01 ens3 232.59 144.63 6517.68 14.77 0.00 0.00 0.00 0.00 18:17:28 18:14:01 br-d0486b12767c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:28 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:28 18:14:01 lo 7.13 7.13 0.66 0.66 0.00 0.00 0.00 0.00 18:17:28 18:15:01 ens3 112.50 69.86 3443.73 5.65 0.00 0.00 0.00 0.00 18:17:28 18:15:01 veth4168e66 31.38 39.49 3.08 4.62 0.00 0.00 0.00 0.00 18:17:28 18:15:01 br-d0486b12767c 0.60 0.58 0.05 0.32 0.00 0.00 0.00 0.00 18:17:28 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:28 18:16:01 ens3 7.15 5.38 1.83 1.82 0.00 0.00 0.00 0.00 18:17:28 18:16:01 veth4168e66 100.90 120.45 111.60 34.34 0.00 0.00 0.00 0.01 18:17:28 18:16:01 br-d0486b12767c 3.07 3.55 6.12 2.22 0.00 0.00 0.00 0.00 18:17:28 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:28 18:17:01 ens3 59.09 49.41 74.91 24.92 0.00 0.00 0.00 0.00 18:17:28 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:28 18:17:01 lo 33.83 33.83 10.62 10.62 0.00 0.00 0.00 0.00 18:17:28 Average: ens3 94.83 62.61 2214.64 10.98 0.00 0.00 0.00 0.00 18:17:28 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:28 Average: lo 6.00 6.00 2.06 2.06 0.00 0.00 0.00 0.00 18:17:28 18:17:28 18:17:28 ---> sar -P ALL: 18:17:28 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-13020) 01/17/24 _x86_64_ (8 CPU) 18:17:28 18:17:28 18:11:22 LINUX RESTART (8 CPU) 18:17:28 18:17:28 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:17:28 18:13:01 all 10.06 0.00 0.81 2.37 0.03 86.74 18:17:28 18:13:01 0 0.34 0.00 0.15 0.08 0.00 99.42 18:17:28 18:13:01 1 2.59 0.00 0.84 9.53 0.03 87.01 18:17:28 18:13:01 2 41.25 0.00 2.30 2.28 0.07 54.10 18:17:28 18:13:01 3 12.67 0.00 0.90 5.88 0.05 80.50 18:17:28 18:13:01 4 14.70 0.00 0.97 0.15 0.02 84.16 18:17:28 18:13:01 5 2.60 0.00 0.58 0.39 0.03 96.40 18:17:28 18:13:01 6 4.59 0.00 0.25 0.07 0.07 95.02 18:17:28 18:13:01 7 1.75 0.00 0.47 0.61 0.00 97.17 18:17:28 18:14:01 all 10.75 0.00 2.07 3.13 0.04 84.00 18:17:28 18:14:01 0 7.42 0.00 1.78 9.80 0.03 80.97 18:17:28 18:14:01 1 12.09 0.00 1.73 3.63 0.05 82.50 18:17:28 18:14:01 2 38.74 0.00 3.78 3.08 0.08 54.31 18:17:28 18:14:01 3 3.18 0.00 1.42 0.13 0.05 95.21 18:17:28 18:14:01 4 10.31 0.00 2.64 0.07 0.03 86.95 18:17:28 18:14:01 5 6.08 0.00 1.36 0.45 0.03 92.08 18:17:28 18:14:01 6 3.05 0.00 1.96 0.13 0.02 94.85 18:17:28 18:14:01 7 5.24 0.00 1.93 7.75 0.03 85.05 18:17:28 18:15:01 all 9.67 0.00 2.54 8.08 0.06 79.65 18:17:28 18:15:01 0 12.40 0.00 2.96 10.34 0.07 74.23 18:17:28 18:15:01 1 12.40 0.00 2.18 0.99 0.05 84.37 18:17:28 18:15:01 2 7.95 0.00 3.02 1.76 0.05 87.22 18:17:28 18:15:01 3 5.28 0.00 2.85 38.32 0.08 53.47 18:17:28 18:15:01 4 10.80 0.00 2.42 0.57 0.07 86.14 18:17:28 18:15:01 5 4.91 0.00 1.46 0.39 0.05 93.19 18:17:28 18:15:01 6 12.85 0.00 2.95 3.32 0.05 80.84 18:17:28 18:15:01 7 10.82 0.00 2.46 9.08 0.07 77.57 18:17:28 18:16:01 all 7.53 0.00 0.75 1.64 0.03 90.04 18:17:28 18:16:01 0 5.55 0.00 0.50 0.00 0.02 93.93 18:17:28 18:16:01 1 7.77 0.00 0.70 0.00 0.02 91.52 18:17:28 18:16:01 2 4.87 0.00 0.47 0.03 0.02 94.62 18:17:28 18:16:01 3 5.71 0.00 0.83 13.05 0.03 80.38 18:17:28 18:16:01 4 7.04 0.00 0.64 0.02 0.08 92.22 18:17:28 18:16:01 5 9.82 0.00 0.73 0.00 0.03 89.41 18:17:28 18:16:01 6 10.30 0.00 0.93 0.00 0.03 88.73 18:17:28 18:16:01 7 9.17 0.00 1.17 0.03 0.02 89.61 18:17:28 18:17:01 all 5.10 0.00 0.58 2.09 0.03 92.19 18:17:28 18:17:01 0 4.10 0.00 0.65 0.37 0.02 94.86 18:17:28 18:17:01 1 1.27 0.00 0.45 0.52 0.02 97.75 18:17:28 18:17:01 2 16.62 0.00 1.12 2.51 0.05 79.71 18:17:28 18:17:01 3 10.16 0.00 0.53 12.71 0.03 76.57 18:17:28 18:17:01 4 2.78 0.00 0.50 0.07 0.05 96.60 18:17:28 18:17:01 5 1.04 0.00 0.37 0.08 0.02 98.50 18:17:28 18:17:01 6 0.62 0.00 0.28 0.18 0.02 98.90 18:17:28 18:17:01 7 4.24 0.00 0.75 0.32 0.03 94.66 18:17:28 Average: all 8.61 0.00 1.35 3.46 0.04 86.54 18:17:28 Average: 0 5.97 0.00 1.21 4.12 0.03 88.68 18:17:28 Average: 1 7.24 0.00 1.18 2.90 0.03 88.65 18:17:28 Average: 2 21.79 0.00 2.13 1.93 0.05 74.09 18:17:28 Average: 3 7.39 0.00 1.31 14.01 0.05 77.25 18:17:28 Average: 4 9.11 0.00 1.43 0.17 0.05 89.23 18:17:28 Average: 5 4.90 0.00 0.90 0.26 0.03 93.91 18:17:28 Average: 6 6.28 0.00 1.28 0.74 0.04 91.66 18:17:28 Average: 7 6.25 0.00 1.36 3.55 0.03 88.81 18:17:28 18:17:28 18:17:28