18:11:56 Started by timer 18:11:56 Running as SYSTEM 18:11:56 [EnvInject] - Loading node environment variables. 18:11:56 Building remotely on prd-ubuntu1804-docker-8c-8g-24988 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:11:56 [ssh-agent] Looking for ssh-agent implementation... 18:11:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:56 $ ssh-agent 18:11:56 SSH_AUTH_SOCK=/tmp/ssh-Hyse99vUtmfv/agent.2099 18:11:56 SSH_AGENT_PID=2101 18:11:56 [ssh-agent] Started. 18:11:56 Running ssh-add (command line suppressed) 18:11:56 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_14422981139464241980.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_14422981139464241980.key) 18:11:56 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:11:56 The recommended git tool is: NONE 18:11:58 using credential onap-jenkins-ssh 18:11:58 Wiping out workspace first. 18:11:58 Cloning the remote Git repository 18:11:58 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:11:58 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:11:58 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:11:58 > git --version # timeout=10 18:11:58 > git --version # 'git version 2.17.1' 18:11:58 using GIT_SSH to set credentials Gerrit user 18:11:58 Verifying host key using manually-configured host key entries 18:11:58 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:11:59 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:11:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:11:59 Avoid second fetch 18:11:59 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:11:59 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:11:59 > git config core.sparsecheckout # timeout=10 18:11:59 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:11:59 Commit message: "Set Montreal default branch" 18:11:59 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:11:59 provisioning config files... 18:11:59 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:11:59 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:11:59 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1323188689410188272.sh 18:11:59 ---> python-tools-install.sh 18:11:59 Setup pyenv: 18:11:59 * system (set by /opt/pyenv/version) 18:11:59 * 3.8.13 (set by /opt/pyenv/version) 18:11:59 * 3.9.13 (set by /opt/pyenv/version) 18:11:59 * 3.10.6 (set by /opt/pyenv/version) 18:12:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CXuL 18:12:04 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:07 lf-activate-venv(): INFO: Installing: lftools 18:12:43 lf-activate-venv(): INFO: Adding /tmp/venv-CXuL/bin to PATH 18:12:43 Generating Requirements File 18:13:11 Python 3.10.6 18:13:11 pip 24.0 from /tmp/venv-CXuL/lib/python3.10/site-packages/pip (python 3.10) 18:13:11 appdirs==1.4.4 18:13:11 argcomplete==3.3.0 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.88 18:13:11 botocore==1.34.88 18:13:11 bs4==0.0.2 18:13:11 cachetools==5.3.3 18:13:11 certifi==2024.2.2 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.6.0 18:13:11 cmd2==2.4.3 18:13:11 cryptography==3.3.2 18:13:11 debtcollector==3.0.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.6.1 18:13:11 docker==4.2.2 18:13:11 dogpile.cache==1.3.2 18:13:11 email_validator==2.1.1 18:13:11 filelock==3.13.4 18:13:11 future==1.0.0 18:13:11 gitdb==4.0.11 18:13:11 GitPython==3.1.43 18:13:11 google-auth==2.29.0 18:13:11 httplib2==0.22.0 18:13:11 identify==2.5.36 18:13:11 idna==3.7 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.1 18:13:11 jsonschema-specifications==2023.12.1 18:13:11 keystoneauth1==5.6.0 18:13:11 kubernetes==29.0.0 18:13:11 lftools==0.37.10 18:13:11 lxml==5.2.1 18:13:11 MarkupSafe==2.1.5 18:13:11 msgpack==1.0.8 18:13:11 multi_key_dict==2.0.3 18:13:11 munch==4.0.0 18:13:11 netaddr==1.2.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==3.1.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.1 18:13:11 oslo.config==9.4.0 18:13:11 oslo.context==5.5.0 18:13:11 oslo.i18n==6.3.0 18:13:11 oslo.log==5.5.1 18:13:11 oslo.serialization==5.4.0 18:13:11 oslo.utils==7.1.0 18:13:11 packaging==24.0 18:13:11 pbr==6.0.0 18:13:11 platformdirs==4.2.0 18:13:11 prettytable==3.10.0 18:13:11 pyasn1==0.6.0 18:13:11 pyasn1_modules==0.4.0 18:13:11 pycparser==2.22 18:13:11 pygerrit2==2.0.15 18:13:11 PyGithub==2.3.0 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.5.0 18:13:11 python-dateutil==2.9.0.post0 18:13:11 python-heatclient==3.5.0 18:13:11 python-jenkins==1.8.2 18:13:11 python-keystoneclient==5.4.0 18:13:11 python-magnumclient==4.4.0 18:13:11 python-novaclient==18.6.0 18:13:11 python-openstackclient==6.6.0 18:13:11 python-swiftclient==4.5.0 18:13:11 PyYAML==6.0.1 18:13:11 referencing==0.34.0 18:13:11 requests==2.31.0 18:13:11 requests-oauthlib==2.0.0 18:13:11 requestsexceptions==1.4.0 18:13:11 rfc3986==2.0.0 18:13:11 rpds-py==0.18.0 18:13:11 rsa==4.9 18:13:11 ruamel.yaml==0.18.6 18:13:11 ruamel.yaml.clib==0.2.8 18:13:11 s3transfer==0.10.1 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.2.0 18:13:11 tabulate==0.9.0 18:13:11 toml==0.10.2 18:13:11 tomlkit==0.12.4 18:13:11 tqdm==4.66.2 18:13:11 typing_extensions==4.11.0 18:13:11 tzdata==2024.1 18:13:11 urllib3==1.26.18 18:13:11 virtualenv==20.25.3 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.4.1 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/jenkins14964567422886123125.sh 18:13:11 ---> update-java-alternatives.sh 18:13:11 ---> Updating Java version 18:13:12 ---> Ubuntu/Debian system detected 18:13:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:12 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/jenkins15141653143697423559.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.kApkQW7f9Z 18:13:12 ++ echo ROBOT_VENV=/tmp/tmp.kApkQW7f9Z 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.kApkQW7f9Z 18:13:14 ++ source /tmp/tmp.kApkQW7f9Z/bin/activate 18:13:14 +++ deactivate nondestructive 18:13:14 +++ '[' -n '' ']' 18:13:14 +++ '[' -n '' ']' 18:13:14 +++ '[' -n /bin/bash -o -n '' ']' 18:13:14 +++ hash -r 18:13:14 +++ '[' -n '' ']' 18:13:14 +++ unset VIRTUAL_ENV 18:13:14 +++ '[' '!' nondestructive = nondestructive ']' 18:13:14 +++ VIRTUAL_ENV=/tmp/tmp.kApkQW7f9Z 18:13:14 +++ export VIRTUAL_ENV 18:13:14 +++ _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:14 +++ PATH=/tmp/tmp.kApkQW7f9Z/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:14 +++ export PATH 18:13:14 +++ '[' -n '' ']' 18:13:14 +++ '[' -z '' ']' 18:13:14 +++ _OLD_VIRTUAL_PS1= 18:13:14 +++ '[' 'x(tmp.kApkQW7f9Z) ' '!=' x ']' 18:13:14 +++ PS1='(tmp.kApkQW7f9Z) ' 18:13:14 +++ export PS1 18:13:14 +++ '[' -n /bin/bash -o -n '' ']' 18:13:14 +++ hash -r 18:13:14 ++ set -exu 18:13:14 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:20 ++ echo 'Installing Python Requirements' 18:13:20 Installing Python Requirements 18:13:20 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:40 ++ python3 -m pip -qq freeze 18:13:40 bcrypt==4.0.1 18:13:40 beautifulsoup4==4.12.3 18:13:40 bitarray==2.9.2 18:13:40 certifi==2024.2.2 18:13:40 cffi==1.15.1 18:13:40 charset-normalizer==2.0.12 18:13:40 cryptography==40.0.2 18:13:40 decorator==5.1.1 18:13:40 elasticsearch==7.17.9 18:13:40 elasticsearch-dsl==7.4.1 18:13:40 enum34==1.1.10 18:13:40 idna==3.7 18:13:40 importlib-resources==5.4.0 18:13:40 ipaddr==2.2.0 18:13:40 isodate==0.6.1 18:13:40 jmespath==0.10.0 18:13:40 jsonpatch==1.32 18:13:40 jsonpath-rw==1.4.0 18:13:40 jsonpointer==2.3 18:13:40 lxml==5.2.1 18:13:40 netaddr==0.8.0 18:13:40 netifaces==0.11.0 18:13:40 odltools==0.1.28 18:13:40 paramiko==3.4.0 18:13:40 pkg_resources==0.0.0 18:13:40 ply==3.11 18:13:40 pyang==2.6.0 18:13:40 pyangbind==0.8.1 18:13:40 pycparser==2.21 18:13:40 pyhocon==0.3.60 18:13:40 PyNaCl==1.5.0 18:13:40 pyparsing==3.1.2 18:13:40 python-dateutil==2.9.0.post0 18:13:40 regex==2023.8.8 18:13:40 requests==2.27.1 18:13:40 robotframework==6.1.1 18:13:40 robotframework-httplibrary==0.4.2 18:13:40 robotframework-pythonlibcore==3.0.0 18:13:40 robotframework-requests==0.9.4 18:13:40 robotframework-selenium2library==3.0.0 18:13:40 robotframework-seleniumlibrary==5.1.3 18:13:40 robotframework-sshlibrary==3.8.0 18:13:40 scapy==2.5.0 18:13:40 scp==0.14.5 18:13:40 selenium==3.141.0 18:13:40 six==1.16.0 18:13:40 soupsieve==2.3.2.post1 18:13:40 urllib3==1.26.18 18:13:40 waitress==2.0.0 18:13:40 WebOb==1.8.7 18:13:40 WebTest==3.0.0 18:13:40 zipp==3.6.0 18:13:40 ++ mkdir -p /tmp/tmp.kApkQW7f9Z/src/onap 18:13:40 ++ rm -rf /tmp/tmp.kApkQW7f9Z/src/onap/testsuite 18:13:40 ++ 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:46 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:46 Uninstall docker-py and reinstall docker. 18:13:46 ++ python3 -m pip uninstall -y -qq docker 18:13:47 ++ python3 -m pip install -U -qq docker 18:13:48 ++ python3 -m pip -qq freeze 18:13:48 bcrypt==4.0.1 18:13:48 beautifulsoup4==4.12.3 18:13:48 bitarray==2.9.2 18:13:48 certifi==2024.2.2 18:13:48 cffi==1.15.1 18:13:48 charset-normalizer==2.0.12 18:13:48 cryptography==40.0.2 18:13:48 decorator==5.1.1 18:13:48 deepdiff==5.7.0 18:13:48 dnspython==2.2.1 18:13:48 docker==5.0.3 18:13:48 elasticsearch==7.17.9 18:13:48 elasticsearch-dsl==7.4.1 18:13:48 enum34==1.1.10 18:13:48 future==1.0.0 18:13:48 idna==3.7 18:13:48 importlib-resources==5.4.0 18:13:48 ipaddr==2.2.0 18:13:48 isodate==0.6.1 18:13:48 Jinja2==3.0.3 18:13:48 jmespath==0.10.0 18:13:48 jsonpatch==1.32 18:13:48 jsonpath-rw==1.4.0 18:13:48 jsonpointer==2.3 18:13:48 kafka-python==2.0.2 18:13:48 lxml==5.2.1 18:13:48 MarkupSafe==2.0.1 18:13:48 more-itertools==5.0.0 18:13:48 netaddr==0.8.0 18:13:48 netifaces==0.11.0 18:13:48 odltools==0.1.28 18:13:48 ordered-set==4.0.2 18:13:48 paramiko==3.4.0 18:13:48 pbr==6.0.0 18:13:48 pkg_resources==0.0.0 18:13:48 ply==3.11 18:13:48 protobuf==3.19.6 18:13:48 pyang==2.6.0 18:13:48 pyangbind==0.8.1 18:13:48 pycparser==2.21 18:13:48 pyhocon==0.3.60 18:13:48 PyNaCl==1.5.0 18:13:48 pyparsing==3.1.2 18:13:48 python-dateutil==2.9.0.post0 18:13:48 PyYAML==6.0.1 18:13:48 regex==2023.8.8 18:13:48 requests==2.27.1 18:13:48 robotframework==6.1.1 18:13:48 robotframework-httplibrary==0.4.2 18:13:48 robotframework-onap==0.6.0.dev105 18:13:48 robotframework-pythonlibcore==3.0.0 18:13:48 robotframework-requests==0.9.4 18:13:48 robotframework-selenium2library==3.0.0 18:13:48 robotframework-seleniumlibrary==5.1.3 18:13:48 robotframework-sshlibrary==3.8.0 18:13:48 robotlibcore-temp==1.0.2 18:13:48 scapy==2.5.0 18:13:48 scp==0.14.5 18:13:48 selenium==3.141.0 18:13:48 six==1.16.0 18:13:48 soupsieve==2.3.2.post1 18:13:48 urllib3==1.26.18 18:13:48 waitress==2.0.0 18:13:48 WebOb==1.8.7 18:13:48 websocket-client==1.3.1 18:13:48 WebTest==3.0.0 18:13:48 zipp==3.6.0 18:13:48 ++ uname 18:13:48 ++ grep -q Linux 18:13:48 ++ sudo apt-get -y -qq install libxml2-utils 18:13:49 + load_set 18:13:49 + _setopts=ehuxB 18:13:49 ++ tr : ' ' 18:13:49 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:49 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:49 + set +o braceexpand 18:13:49 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:49 + set +o hashall 18:13:49 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:49 + set +o interactive-comments 18:13:49 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:49 + set +o nounset 18:13:49 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:49 + set +o xtrace 18:13:49 ++ echo ehuxB 18:13:49 ++ sed 's/./& /g' 18:13:49 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:49 + set +e 18:13:49 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:49 + set +h 18:13:49 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:49 + set +u 18:13:49 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:49 + set +x 18:13:49 + source_safely /tmp/tmp.kApkQW7f9Z/bin/activate 18:13:49 + '[' -z /tmp/tmp.kApkQW7f9Z/bin/activate ']' 18:13:49 + relax_set 18:13:49 + set +e 18:13:49 + set +o pipefail 18:13:49 + . /tmp/tmp.kApkQW7f9Z/bin/activate 18:13:49 ++ deactivate nondestructive 18:13:49 ++ '[' -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:49 ++ 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:49 ++ export PATH 18:13:49 ++ unset _OLD_VIRTUAL_PATH 18:13:49 ++ '[' -n '' ']' 18:13:49 ++ '[' -n /bin/bash -o -n '' ']' 18:13:49 ++ hash -r 18:13:49 ++ '[' -n '' ']' 18:13:49 ++ unset VIRTUAL_ENV 18:13:49 ++ '[' '!' nondestructive = nondestructive ']' 18:13:49 ++ VIRTUAL_ENV=/tmp/tmp.kApkQW7f9Z 18:13:49 ++ export VIRTUAL_ENV 18:13:49 ++ _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:49 ++ PATH=/tmp/tmp.kApkQW7f9Z/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:49 ++ export PATH 18:13:49 ++ '[' -n '' ']' 18:13:49 ++ '[' -z '' ']' 18:13:49 ++ _OLD_VIRTUAL_PS1='(tmp.kApkQW7f9Z) ' 18:13:49 ++ '[' 'x(tmp.kApkQW7f9Z) ' '!=' x ']' 18:13:49 ++ PS1='(tmp.kApkQW7f9Z) (tmp.kApkQW7f9Z) ' 18:13:49 ++ export PS1 18:13:49 ++ '[' -n /bin/bash -o -n '' ']' 18:13:49 ++ hash -r 18:13:49 + load_set 18:13:49 + _setopts=hxB 18:13:49 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:49 ++ tr : ' ' 18:13:49 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:49 + set +o braceexpand 18:13:49 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:49 + set +o hashall 18:13:49 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:49 + set +o interactive-comments 18:13:49 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:49 + set +o xtrace 18:13:49 ++ echo hxB 18:13:49 ++ sed 's/./& /g' 18:13:49 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:49 + set +h 18:13:49 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:49 + set +x 18:13:49 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:49 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:49 + export TEST_OPTIONS= 18:13:49 + TEST_OPTIONS= 18:13:49 ++ mktemp -d 18:13:49 + WORKDIR=/tmp/tmp.JgC29c2bKZ 18:13:49 + cd /tmp/tmp.JgC29c2bKZ 18:13:49 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:49 Configure a credential helper to remove this warning. See 18:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:49 18:13:49 Login Succeeded 18:13:49 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:49 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:49 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:49 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:49 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:49 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:49 + relax_set 18:13:49 + set +e 18:13:49 + set +o pipefail 18:13:49 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:49 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:49 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:49 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:49 +++ GERRIT_BRANCH=montreal 18:13:49 +++ echo GERRIT_BRANCH=montreal 18:13:49 GERRIT_BRANCH=montreal 18:13:49 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:49 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:49 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:49 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:50 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:50 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:50 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:50 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:50 +++ 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:50 +++ 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:50 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:50 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:50 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:50 +++ grafana=false 18:13:50 +++ gui=false 18:13:50 +++ [[ 2 -gt 0 ]] 18:13:50 +++ key=api 18:13:50 +++ case $key in 18:13:50 +++ echo api 18:13:50 api 18:13:50 +++ component=api 18:13:50 +++ shift 18:13:50 +++ [[ 1 -gt 0 ]] 18:13:50 +++ key=--grafana 18:13:50 +++ case $key in 18:13:50 +++ grafana=true 18:13:50 +++ shift 18:13:50 +++ [[ 0 -gt 0 ]] 18:13:50 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:50 +++ echo 'Configuring docker compose...' 18:13:50 Configuring docker compose... 18:13:50 +++ source export-ports.sh 18:13:50 +++ source get-versions.sh 18:13:54 +++ '[' -z api ']' 18:13:54 +++ '[' -n api ']' 18:13:54 +++ '[' api == logs ']' 18:13:54 +++ '[' true = true ']' 18:13:54 +++ echo 'Starting api application with Grafana' 18:13:54 Starting api application with Grafana 18:13:54 +++ docker-compose up -d api grafana 18:13:55 Creating network "compose_default" with the default driver 18:13:55 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:13:55 10.10.2: Pulling from mariadb 18:13:59 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:13:59 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:13:59 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:13:59 3.0.2: Pulling from onap/policy-db-migrator 18:14:03 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:14:03 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:14:03 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:14:03 3.0.2: Pulling from onap/policy-api 18:14:05 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:14:05 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:14:05 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:05 latest: Pulling from prom/prometheus 18:14:08 Digest: sha256:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 18:14:08 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:08 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:08 latest: Pulling from grafana/grafana 18:14:13 Digest: sha256:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e 18:14:13 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:13 Creating mariadb ... 18:14:13 Creating prometheus ... 18:14:21 Creating mariadb ... done 18:14:21 Creating policy-db-migrator ... 18:14:22 Creating policy-db-migrator ... done 18:14:22 Creating policy-api ... 18:14:23 Creating policy-api ... done 18:14:24 Creating prometheus ... done 18:14:24 Creating grafana ... 18:14:25 Creating grafana ... done 18:14:25 +++ echo 'Prometheus server: http://localhost:30259' 18:14:25 Prometheus server: http://localhost:30259 18:14:25 +++ echo 'Grafana server: http://localhost:30269' 18:14:25 Grafana server: http://localhost:30269 18:14:25 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:25 ++ sleep 10 18:14:35 ++ unset http_proxy https_proxy 18:14:35 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:35 Waiting for REST to come up on localhost port 30002... 18:14:35 NAMES STATUS 18:14:35 grafana Up 10 seconds 18:14:35 policy-api Up 12 seconds 18:14:35 prometheus Up 11 seconds 18:14:35 mariadb Up 14 seconds 18:14:40 NAMES STATUS 18:14:40 grafana Up 15 seconds 18:14:40 policy-api Up 17 seconds 18:14:40 prometheus Up 16 seconds 18:14:40 mariadb Up 19 seconds 18:14:45 NAMES STATUS 18:14:45 grafana Up 20 seconds 18:14:45 policy-api Up 22 seconds 18:14:45 prometheus Up 21 seconds 18:14:45 mariadb Up 24 seconds 18:14:45 ++ export 'SUITES=api-test.robot 18:14:45 api-slas.robot' 18:14:45 ++ SUITES='api-test.robot 18:14:45 api-slas.robot' 18:14:45 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:45 -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:14:45 + load_set 18:14:45 + _setopts=hxB 18:14:45 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:14:45 ++ tr : ' ' 18:14:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:45 + set +o braceexpand 18:14:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:45 + set +o hashall 18:14:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:45 + set +o interactive-comments 18:14:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:14:45 + set +o xtrace 18:14:45 ++ echo hxB 18:14:45 ++ sed 's/./& /g' 18:14:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:45 + set +h 18:14:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:14:45 + set +x 18:14:45 + docker_stats 18:14:45 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:14:45 ++ uname -s 18:14:45 + '[' Linux == Darwin ']' 18:14:45 + sh -c 'top -bn1 | head -3' 18:14:46 top - 18:14:46 up 3 min, 0 users, load average: 1.94, 0.83, 0.33 18:14:46 Tasks: 178 total, 1 running, 101 sleeping, 0 stopped, 0 zombie 18:14:46 %Cpu(s): 11.1 us, 2.1 sy, 0.0 ni, 82.7 id, 3.9 wa, 0.0 hi, 0.1 si, 0.1 st 18:14:46 + echo 18:14:46 18:14:46 + sh -c 'free -h' 18:14:46 total used free shared buff/cache available 18:14:46 Mem: 31G 1.5G 25G 1.0M 3.9G 29G 18:14:46 Swap: 1.0G 0B 1.0G 18:14:46 + echo 18:14:46 18:14:46 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:14:46 NAMES STATUS 18:14:46 grafana Up 20 seconds 18:14:46 policy-api Up 22 seconds 18:14:46 prometheus Up 21 seconds 18:14:46 mariadb Up 24 seconds 18:14:46 + echo 18:14:46 + docker stats --no-stream 18:14:46 18:14:48 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:14:48 d00c211ef250 grafana 0.04% 52.61MiB / 31.41GiB 0.16% 18.5kB / 3.38kB 0B / 24.8MB 18 18:14:48 a5fb8cdc8c93 policy-api 0.32% 599.5MiB / 31.41GiB 1.86% 998kB / 710kB 0B / 0B 55 18:14:48 3392b81065c9 prometheus 0.00% 17.69MiB / 31.41GiB 0.05% 920B / 158B 217kB / 0B 12 18:14:48 a8d14ee4b8e2 mariadb 0.02% 100.8MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.9MB / 58.3MB 25 18:14:48 + echo 18:14:48 18:14:48 + cd /tmp/tmp.JgC29c2bKZ 18:14:48 + echo 'Reading the testplan:' 18:14:48 Reading the testplan: 18:14:48 + echo 'api-test.robot 18:14:48 api-slas.robot' 18:14:48 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:14:48 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:14:48 + cat testplan.txt 18:14:48 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:14:48 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:14:48 ++ xargs 18:14:48 + 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:14:48 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:48 -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:14:48 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:14:48 -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:14:48 + 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:14:48 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:14:48 + relax_set 18:14:48 + set +e 18:14:48 + set +o pipefail 18:14:48 + 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:14:48 ============================================================================== 18:14:48 api 18:14:48 ============================================================================== 18:14:48 api.Api-Test 18:14:48 ============================================================================== 18:14:49 Healthcheck :: Verify policy api health check | PASS | 18:14:49 ------------------------------------------------------------------------------ 18:14:51 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:14:51 ------------------------------------------------------------------------------ 18:14:51 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:14:51 ------------------------------------------------------------------------------ 18:14:51 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:14:51 ------------------------------------------------------------------------------ 18:14:52 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:14:52 ------------------------------------------------------------------------------ 18:14:52 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:14:52 ------------------------------------------------------------------------------ 18:14:52 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:14:52 ------------------------------------------------------------------------------ 18:14:53 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:14:53 ------------------------------------------------------------------------------ 18:14:53 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:14:53 ------------------------------------------------------------------------------ 18:14:53 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:14:53 ------------------------------------------------------------------------------ 18:14:54 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:14:54 ------------------------------------------------------------------------------ 18:14:54 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:14:54 ------------------------------------------------------------------------------ 18:14:54 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:14:54 ------------------------------------------------------------------------------ 18:14:54 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:14:54 ------------------------------------------------------------------------------ 18:14:54 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:14:54 ------------------------------------------------------------------------------ 18:14:55 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:14:55 ------------------------------------------------------------------------------ 18:14:55 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:14:55 ------------------------------------------------------------------------------ 18:14:55 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:14:55 ------------------------------------------------------------------------------ 18:14:55 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:14:55 ------------------------------------------------------------------------------ 18:14:56 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:14:56 ------------------------------------------------------------------------------ 18:14:56 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:14:56 ------------------------------------------------------------------------------ 18:14:56 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:14:56 ------------------------------------------------------------------------------ 18:14:56 api.Api-Test | PASS | 18:14:56 22 tests, 22 passed, 0 failed 18:14:56 ============================================================================== 18:14:56 api.Api-Slas 18:14:56 ============================================================================== 18:15:56 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:15:56 ------------------------------------------------------------------------------ 18:15:56 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:15:56 ------------------------------------------------------------------------------ 18:15:56 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:15:56 ------------------------------------------------------------------------------ 18:15:56 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:15:56 ------------------------------------------------------------------------------ 18:15:56 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:15:56 ------------------------------------------------------------------------------ 18:15:56 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:15:56 ------------------------------------------------------------------------------ 18:15:56 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:15:56 ------------------------------------------------------------------------------ 18:15:56 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:15:56 ------------------------------------------------------------------------------ 18:15:56 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:15:56 ------------------------------------------------------------------------------ 18:15:56 api.Api-Slas | PASS | 18:15:56 9 tests, 9 passed, 0 failed 18:15:56 ============================================================================== 18:15:56 api | PASS | 18:15:56 31 tests, 31 passed, 0 failed 18:15:56 ============================================================================== 18:15:56 Output: /tmp/tmp.JgC29c2bKZ/output.xml 18:15:56 Log: /tmp/tmp.JgC29c2bKZ/log.html 18:15:56 Report: /tmp/tmp.JgC29c2bKZ/report.html 18:15:56 + RESULT=0 18:15:56 + load_set 18:15:56 + _setopts=hxB 18:15:56 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:15:56 ++ tr : ' ' 18:15:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:56 + set +o braceexpand 18:15:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:56 + set +o hashall 18:15:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:56 + set +o interactive-comments 18:15:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:56 + set +o xtrace 18:15:56 ++ echo hxB 18:15:56 ++ sed 's/./& /g' 18:15:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:56 + set +h 18:15:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:56 + set +x 18:15:56 + echo 'RESULT: 0' 18:15:56 RESULT: 0 18:15:56 + exit 0 18:15:56 + on_exit 18:15:56 + rc=0 18:15:56 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:15:56 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:15:56 NAMES STATUS 18:15:56 grafana Up About a minute 18:15:56 policy-api Up About a minute 18:15:56 prometheus Up About a minute 18:15:56 mariadb Up About a minute 18:15:56 + docker_stats 18:15:56 ++ uname -s 18:15:56 + '[' Linux == Darwin ']' 18:15:56 + sh -c 'top -bn1 | head -3' 18:15:56 top - 18:15:56 up 4 min, 0 users, load average: 0.75, 0.72, 0.33 18:15:56 Tasks: 176 total, 1 running, 99 sleeping, 0 stopped, 0 zombie 18:15:56 %Cpu(s): 9.4 us, 1.7 sy, 0.0 ni, 85.9 id, 2.9 wa, 0.0 hi, 0.1 si, 0.0 st 18:15:56 + echo 18:15:56 18:15:56 + sh -c 'free -h' 18:15:56 total used free shared buff/cache available 18:15:56 Mem: 31G 1.8G 25G 1.0M 3.9G 29G 18:15:56 Swap: 1.0G 0B 1.0G 18:15:56 + echo 18:15:56 18:15:56 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:15:56 NAMES STATUS 18:15:56 grafana Up About a minute 18:15:56 policy-api Up About a minute 18:15:56 prometheus Up About a minute 18:15:56 mariadb Up About a minute 18:15:56 + echo 18:15:56 18:15:56 + docker stats --no-stream 18:15:59 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:15:59 d00c211ef250 grafana 0.04% 58.2MiB / 31.41GiB 0.18% 19.1kB / 3.86kB 0B / 24.8MB 18 18:15:59 a5fb8cdc8c93 policy-api 0.23% 845.6MiB / 31.41GiB 2.63% 7MB / 2.55MB 0B / 0B 55 18:15:59 3392b81065c9 prometheus 0.00% 23.72MiB / 31.41GiB 0.07% 55kB / 6.57kB 217kB / 0B 13 18:15:59 a8d14ee4b8e2 mariadb 0.01% 101.8MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 10.9MB / 58.6MB 18 18:15:59 + echo 18:15:59 18:15:59 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:15:59 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:15:59 + relax_set 18:15:59 + set +e 18:15:59 + set +o pipefail 18:15:59 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:15:59 ++ echo 'Shut down started!' 18:15:59 Shut down started! 18:15:59 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:15:59 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:15:59 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:15:59 ++ source export-ports.sh 18:15:59 ++ source get-versions.sh 18:16:02 ++ echo 'Collecting logs from docker compose containers...' 18:16:02 Collecting logs from docker compose containers... 18:16:02 ++ docker-compose logs 18:16:03 ++ cat docker_compose.log 18:16:03 Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.68653931Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-21T18:14:25Z 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686755734Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686768691Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.68677323Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.68677644Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686779559Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686782808Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686785668Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686788687Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686792186Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686794976Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686797835Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686802094Z level=info msg=Target target=[all] 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686815162Z level=info msg="Path Home" path=/usr/share/grafana 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686819741Z level=info msg="Path Data" path=/var/lib/grafana 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.68682396Z level=info msg="Path Logs" path=/var/log/grafana 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686827529Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686830888Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:03 grafana | logger=settings t=2024-04-21T18:14:25.686834228Z level=info msg="App mode production" 18:16:03 grafana | logger=sqlstore t=2024-04-21T18:14:25.687136514Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:03 grafana | logger=sqlstore t=2024-04-21T18:14:25.68715592Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.68776707Z level=info msg="Starting DB migrations" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.688654173Z level=info msg="Executing migration" id="create migration_log table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.689468041Z level=info msg="Migration successfully executed" id="create migration_log table" duration=813.468µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.692526494Z level=info msg="Executing migration" id="create user table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.693074328Z level=info msg="Migration successfully executed" id="create user table" duration=548.194µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.69628501Z level=info msg="Executing migration" id="add unique index user.login" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.696966196Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=681.896µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.70077562Z level=info msg="Executing migration" id="add unique index user.email" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.701417145Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=641.174µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.706895766Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.707546289Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=650.452µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.711312333Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.711982591Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=671.128µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.724468971Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.726527896Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.062094ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.730823498Z level=info msg="Executing migration" id="create user table v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.731446956Z level=info msg="Migration successfully executed" id="create user table v2" duration=623.069µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.736355189Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.737266406Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=909.378µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.748503221Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.749355Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=851.62µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.753841762Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.754384947Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=542.266µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.757353979Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.758121537Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=764.428µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.761333698Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.762616067Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.281819ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.766118787Z level=info msg="Executing migration" id="Update user table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.766170486Z level=info msg="Migration successfully executed" id="Update user table charset" duration=52.239µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.771129647Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.772281054Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.150396ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.776079521Z level=info msg="Executing migration" id="Add missing user data" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.776591953Z level=info msg="Migration successfully executed" id="Add missing user data" duration=509.782µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.780583799Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.782683965Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.098887ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.787015639Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.787795174Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=779.156µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.792416587Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.793779309Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.362112ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.797343546Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.808353568Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.008993ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.811862656Z level=info msg="Executing migration" id="Add uid column to user" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.812793919Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=931.023µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.816062028Z level=info msg="Executing migration" id="Update uid column values for users" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.816355646Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=293.148µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.82073856Z level=info msg="Executing migration" id="Add unique index user_uid" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.821571034Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=831.814µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.825808058Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.826406352Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=594.244µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.831154368Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.832479448Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.32661ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.837775738Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.838598694Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=819.956µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.843768171Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.844968837Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.200796ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.849225108Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.850768151Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.542044ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.857027388Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.857831958Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=804.64µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.866178974Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.866228183Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=51.859µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.87371591Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.874927784Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.211814ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.881963217Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.883137259Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.174172ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.888640095Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.889858488Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.217483ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.895924465Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.89703529Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.110615ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.903494905Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.906618645Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.12304ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.910523859Z level=info msg="Executing migration" id="create temp_user v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.911441515Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=916.847µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.916929585Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.917800661Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=870.186µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.925758208Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.927098565Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.340017ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.932401464Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.933917933Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.516559ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.939654841Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.941086748Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.434337ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.948516897Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.949055913Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=538.276µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.953877694Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.954566738Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=688.605µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.959220994Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.95995263Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=731.295µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.964121308Z level=info msg="Executing migration" id="create star table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.965302569Z level=info msg="Migration successfully executed" id="create star table" duration=1.182999ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.973160577Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.974534637Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.37134ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.981558772Z level=info msg="Executing migration" id="create org table v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.982960876Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.398464ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.986944683Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.988261895Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.316422ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.994709642Z level=info msg="Executing migration" id="create org_user table v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:25.995971225Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.260793ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.003958949Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.005301896Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.342808ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.010682941Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.012067049Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.383888ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.01827489Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.019946787Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.669827ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.025388679Z level=info msg="Executing migration" id="Update org table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.025429181Z level=info msg="Migration successfully executed" id="Update org table charset" duration=42.191µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.030985709Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.031009944Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=24.855µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.037734255Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.038202277Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=467.412µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.043882319Z level=info msg="Executing migration" id="create dashboard table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.045196212Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.312684ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.055052113Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.056498348Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.445905ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.062362671Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.063377817Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.012926ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.067352968Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.068183133Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=830.535µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.078387051Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.079736666Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.349696ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.08754302Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.088787667Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.245628ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.09384699Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.102536817Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.688267ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.114768937Z level=info msg="Executing migration" id="create dashboard v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.116153995Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.384888ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.124320142Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.125910057Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.588415ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.132454337Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.133798503Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.341377ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.14462341Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.144990022Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=365.753µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.154779048Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.156178343Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.399184ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.161515807Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.161763974Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=246.928µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.169878563Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.172565196Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.686033ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.179347796Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.181163802Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.813587ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.185409267Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.188707591Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.295475ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.192541713Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.193919122Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.37685ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.199593695Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.201487386Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.890531ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.207958841Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.208932865Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=970.885µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.213378538Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.214573036Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.193958ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.220843463Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.220869687Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.045µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.224453961Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.224477087Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=24.455µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.230854991Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.233926144Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.070652ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.242078334Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.244015445Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.936991ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.247630603Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.249772801Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.141539ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.255144198Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.257150695Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.005666ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.263996141Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.264455344Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=458.353µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.270309599Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.271640409Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.330719ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.276731585Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.278017584Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.289898ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.284400667Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.28443482Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=35.732µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.296866158Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.298300255Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.431489ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.30292629Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.304258879Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.33151ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.309391286Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.315153921Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.761435ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.325864751Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.327304448Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.441736ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.332987589Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.334048775Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.061247ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.34156545Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.343426377Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.860217ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.350568761Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.350994371Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=425.12µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.356756645Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.35740098Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=643.694µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.364426658Z level=info msg="Executing migration" id="Add check_sum column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.368557906Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=4.130859ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.373313043Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.374733174Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.419631ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.384640474Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:03 mariadb | 2024-04-21 18:14:21+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:03 mariadb | 2024-04-21 18:14:21+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:03 mariadb | 2024-04-21 18:14:21+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:03 mariadb | 2024-04-21 18:14:21+00:00 [Note] [Entrypoint]: Initializing database files 18:16:03 mariadb | 2024-04-21 18:14:21 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:03 mariadb | 2024-04-21 18:14:21 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:03 mariadb | 2024-04-21 18:14:21 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:03 mariadb | 18:16:03 mariadb | 18:16:03 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:03 mariadb | To do so, start the server, then issue the following command: 18:16:03 mariadb | 18:16:03 mariadb | '/usr/bin/mysql_secure_installation' 18:16:03 mariadb | 18:16:03 mariadb | which will also give you the option of removing the test 18:16:03 mariadb | databases and anonymous user created by default. This is 18:16:03 mariadb | strongly recommended for production servers. 18:16:03 mariadb | 18:16:03 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:03 mariadb | 18:16:03 mariadb | Please report any problems at https://mariadb.org/jira 18:16:03 mariadb | 18:16:03 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:03 mariadb | 18:16:03 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:03 mariadb | https://mariadb.org/get-involved/ 18:16:03 mariadb | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.385043089Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=397.686µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.395560751Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.395994089Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=434.978µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.400355799Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.402441249Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=2.08663ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.410661875Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.414222634Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.55621ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.423349039Z level=info msg="Executing migration" id="create data_source table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.424446248Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.096339ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.429896058Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.431409709Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.514551ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.435965828Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.436894372Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=928.394µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.442269179Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.443396741Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.126673ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.450979981Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.452163922Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.18437ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.459105727Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.468933714Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.827407ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.481024264Z level=info msg="Executing migration" id="create data_source table v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.482566429Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.540875ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.490024166Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.491387968Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.365412ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.496270558Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.497199702Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=930.594µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.502848481Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.503444355Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=595.475µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.510195481Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.512527139Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.327929ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.517616876Z level=info msg="Executing migration" id="Add secure json data column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.520011271Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.390716ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.524669068Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.524691684Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=23.385µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.530572073Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.53101265Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=440.437µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.53693998Z level=info msg="Executing migration" id="Add read_only data column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.540897345Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.957395ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.548014934Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.548261612Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=245.408µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.553991534Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.554383691Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=393.147µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.560662316Z level=info msg="Executing migration" id="Add uid column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.563879788Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.218861ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.567401665Z level=info msg="Executing migration" id="Update uid value" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.567701802Z level=info msg="Migration successfully executed" id="Update uid value" duration=299.617µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.57112155Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.571959264Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=837.713µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.576369223Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.57723784Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=868.677µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.582161472Z level=info msg="Executing migration" id="create api_key table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.582986538Z level=info msg="Migration successfully executed" id="create api_key table" duration=823.157µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.58738461Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.588642215Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.254506ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.594824201Z level=info msg="Executing migration" id="add index api_key.key" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.596307158Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.483187ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.600111346Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.601523468Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.414162ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.605134046Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.605976729Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=842.632µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.610455764Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.611886132Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.429369ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.61587766Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.617235294Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.357803ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.621025714Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.628215218Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.189053ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.632980653Z level=info msg="Executing migration" id="create api_key table v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.633860227Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=878.865µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.637420446Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.638752085Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.330529ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.643408283Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.6447046Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.297386ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.648326746Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:03 mariadb | 2024-04-21 18:14:23+00:00 [Note] [Entrypoint]: Database files initialized 18:16:03 mariadb | 2024-04-21 18:14:23+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:03 mariadb | 2024-04-21 18:14:23+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: Number of transaction pools: 1 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: 128 rollback segments are active. 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:03 mariadb | 2024-04-21 18:14:23 0 [Note] mariadbd: ready for connections. 18:16:03 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:03 mariadb | 2024-04-21 18:14:24+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:03 mariadb | 2024-04-21 18:14:25+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:03 mariadb | 2024-04-21 18:14:25+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:03 mariadb | 18:16:03 mariadb | 2024-04-21 18:14:25+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:03 mariadb | 18:16:03 mariadb | 2024-04-21 18:14:25+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:03 mariadb | #!/bin/bash -xv 18:16:03 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:03 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:03 mariadb | # 18:16:03 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:03 mariadb | # you may not use this file except in compliance with the License. 18:16:03 mariadb | # You may obtain a copy of the License at 18:16:03 mariadb | # 18:16:03 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:03 mariadb | # 18:16:03 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:03 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:03 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:03 mariadb | # See the License for the specific language governing permissions and 18:16:03 mariadb | # limitations under the License. 18:16:03 mariadb | 18:16:03 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:03 mariadb | do 18:16:03 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:03 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:03 mariadb | done 18:16:03 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:03 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:03 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:03 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:03 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:03 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:03 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:03 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:03 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:03 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:03 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:03 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:03 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:03 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:03 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:03 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:03 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.649180306Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=853.8µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.652701583Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.653084142Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=382.639µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.656443064Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.657383665Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=941.121µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.662334301Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.662380132Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=46.85µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.666174481Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.67021126Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.036649ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.673581829Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.676235289Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.652781ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.680862973Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.68102063Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=157.646µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.684449007Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.686975594Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.526807ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.690145025Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.692759414Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.613688ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.696923785Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.697679196Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=755.121µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.701050195Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.701564537Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=513.762µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.704736128Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.705701024Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=963.197µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.710342265Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.711542002Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.200117ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.715320195Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.716167476Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=847.041µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.719462271Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.720266212Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=803.971µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.724782129Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.724868261Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=86.542µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.728116396Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.728142551Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=26.764µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.731445914Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.735914381Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.467267ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.740082392Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.743011514Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.928112ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.747337722Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.747427383Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=90.411µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.750058858Z level=info msg="Executing migration" id="create quota table v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.75094839Z level=info msg="Migration successfully executed" id="create quota table v1" duration=890.392µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.754366299Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.75526341Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=896.811µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.759468703Z level=info msg="Executing migration" id="Update quota table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.759543567Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=76.304µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.76332211Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.764619867Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.297956ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.768197222Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.76953285Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.338658ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.774073043Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.776845798Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.772355ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.78029662Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.780318685Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=22.746µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.783816098Z level=info msg="Executing migration" id="create session table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.784644073Z level=info msg="Migration successfully executed" id="create session table" duration=827.485µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.78906684Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.789183875Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=117.245µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.793214515Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.793331631Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=119.705µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.801719071Z level=info msg="Executing migration" id="create playlist table v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.802905071Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.18616ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.811930148Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.813069297Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.13809ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.831272438Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.831318218Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=49.55µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.838391676Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.838413112Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=22.105µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.847069056Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.852153024Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.080128ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.863414348Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.868446947Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.031479ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.878537079Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.878619311Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=82.792µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.882927412Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:03 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:03 mariadb | 18:16:03 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:03 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:03 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:03 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:03 mariadb | 18:16:03 mariadb | 2024-04-21 18:14:26+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Starting shutdown... 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Buffer pool(s) dump completed at 240421 18:14:26 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Shutdown completed; log sequence number 330730; transaction id 298 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] mariadbd: Shutdown complete 18:16:03 mariadb | 18:16:03 mariadb | 2024-04-21 18:14:26+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:03 mariadb | 18:16:03 mariadb | 2024-04-21 18:14:26+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:03 mariadb | 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Number of transaction pools: 1 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:03 mariadb | 2024-04-21 18:14:26 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Note] InnoDB: 128 rollback segments are active. 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Note] InnoDB: log sequence number 330730; transaction id 299 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Note] Server socket created on IP: '::'. 18:16:03 mariadb | 2024-04-21 18:14:27 0 [Note] mariadbd: ready for connections. 18:16:03 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:03 mariadb | 2024-04-21 18:14:27 0 [Note] InnoDB: Buffer pool(s) load completed at 240421 18:14:27 18:16:03 mariadb | 2024-04-21 18:14:27 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:03 mariadb | 2024-04-21 18:14:27 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 18:16:03 policy-db-migrator | Waiting for mariadb port 3306... 18:16:03 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:03 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:03 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:03 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:03 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:03 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 18:16:03 policy-db-migrator | 321 blocks 18:16:03 policy-db-migrator | Preparing upgrade release version: 0800 18:16:03 policy-db-migrator | Preparing upgrade release version: 0900 18:16:03 policy-db-migrator | Preparing upgrade release version: 1000 18:16:03 policy-db-migrator | Preparing upgrade release version: 1100 18:16:03 policy-db-migrator | Preparing upgrade release version: 1200 18:16:03 policy-db-migrator | Preparing upgrade release version: 1300 18:16:03 policy-db-migrator | Done 18:16:03 policy-db-migrator | name version 18:16:03 policy-db-migrator | policyadmin 0 18:16:03 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:03 policy-db-migrator | upgrade: 0 -> 1300 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.883056805Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=130.133µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.88777416Z level=info msg="Executing migration" id="create preferences table v3" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.889080335Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.306814ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.895657357Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.895700618Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=44.481µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.899688437Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.904725985Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.038258ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.909094433Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.909241222Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=147.749µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.91380283Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.916945657Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.142197ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.92152986Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.925069274Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.540693ms 18:16:03 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.928721683Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:03 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.928883479Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=128.683µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.933324272Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:26.93523317Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.908238ms 18:16:03 policy-api | Waiting for mariadb port 3306... 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.941564994Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:03 prometheus | ts=2024-04-21T18:14:24.599Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:03 policy-api | mariadb (172.17.0.3:3306) open 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.942553816Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=990.291µs 18:16:03 prometheus | ts=2024-04-21T18:14:24.599Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" 18:16:03 policy-api | Waiting for policy-db-migrator port 6824... 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.946499184Z level=info msg="Executing migration" id="create alert table v1" 18:16:03 prometheus | ts=2024-04-21T18:14:24.599Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" 18:16:03 policy-api | policy-db-migrator (172.17.0.4:6824) open 18:16:03 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:03 prometheus | ts=2024-04-21T18:14:24.599Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 18:16:03 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.947662188Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.157996ms 18:16:03 policy-db-migrator | -------------- 18:16:03 prometheus | ts=2024-04-21T18:14:24.599Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:03 policy-api | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.952753794Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:03 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:03 prometheus | ts=2024-04-21T18:14:24.599Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:03 policy-api | . ____ _ __ _ _ 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.953758672Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.004678ms 18:16:03 policy-db-migrator | -------------- 18:16:03 prometheus | ts=2024-04-21T18:14:24.602Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:03 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.957645143Z level=info msg="Executing migration" id="add index alert state" 18:16:03 policy-db-migrator | 18:16:03 prometheus | ts=2024-04-21T18:14:24.603Z caller=main.go:1129 level=info msg="Starting TSDB ..." 18:16:03 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.958580655Z level=info msg="Migration successfully executed" id="add index alert state" duration=934.963µs 18:16:03 policy-db-migrator | 18:16:03 prometheus | ts=2024-04-21T18:14:24.607Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 18:16:03 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.962767072Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:03 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:03 prometheus | ts=2024-04-21T18:14:24.607Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:03 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.963668432Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=901.19µs 18:16:03 policy-db-migrator | -------------- 18:16:03 prometheus | ts=2024-04-21T18:14:24.609Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:03 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.969164663Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:03 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:03 prometheus | ts=2024-04-21T18:14:24.609Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.81µs 18:16:03 policy-api | :: Spring Boot :: (v3.1.4) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.9699849Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=819.198µs 18:16:03 policy-db-migrator | -------------- 18:16:03 prometheus | ts=2024-04-21T18:14:24.609Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:03 policy-api | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.973694127Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:03 policy-db-migrator | 18:16:03 prometheus | ts=2024-04-21T18:14:24.609Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:03 policy-api | [2024-04-21T18:14:34.544+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.974668112Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=972.835µs 18:16:03 policy-db-migrator | 18:16:03 prometheus | ts=2024-04-21T18:14:24.609Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=29.374µs wal_replay_duration=301.276µs wbl_replay_duration=190ns total_replay_duration=353.675µs 18:16:03 policy-api | [2024-04-21T18:14:34.546+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.978310864Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:03 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:03 prometheus | ts=2024-04-21T18:14:24.611Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 18:16:03 policy-api | [2024-04-21T18:14:36.250+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.97918231Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=871.416µs 18:16:03 policy-db-migrator | -------------- 18:16:03 prometheus | ts=2024-04-21T18:14:24.611Z caller=main.go:1153 level=info msg="TSDB started" 18:16:03 policy-api | [2024-04-21T18:14:36.337+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:26.984338822Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:03 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:03 prometheus | ts=2024-04-21T18:14:24.611Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:03 policy-api | [2024-04-21T18:14:36.771+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:03 grafana | logger=migrator t=2024-04-21T18:14:26.997138162Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.80071ms 18:16:03 policy-db-migrator | -------------- 18:16:03 prometheus | ts=2024-04-21T18:14:24.612Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=715.009µs db_storage=980ns remote_storage=2.039µs web_handler=330ns query_engine=600ns scrape=188.17µs scrape_sd=100.979µs notify=24.424µs notify_sd=23.205µs rules=1.22µs tracing=6.059µs 18:16:03 policy-api | [2024-04-21T18:14:36.771+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:03 grafana | logger=migrator t=2024-04-21T18:14:27.000953148Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:03 policy-db-migrator | 18:16:03 prometheus | ts=2024-04-21T18:14:24.612Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 18:16:03 policy-api | [2024-04-21T18:14:37.367+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.001527677Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=575.049µs 18:16:03 policy-db-migrator | 18:16:03 prometheus | ts=2024-04-21T18:14:24.612Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 18:16:03 policy-api | [2024-04-21T18:14:37.376+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.004894836Z 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:03 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:03 policy-api | [2024-04-21T18:14:37.378+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.005928628Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.031833ms 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:37.378+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.011627895Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:03 policy-api | [2024-04-21T18:14:37.477+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.011988149Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=360.044µs 18:16:03 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:03 policy-api | [2024-04-21T18:14:37.477+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2863 ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.01586748Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:37.868+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.016837696Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=969.825µs 18:16:03 policy-db-migrator | 18:16:03 policy-api | [2024-04-21T18:14:37.935+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.02055989Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:03 policy-db-migrator | 18:16:03 policy-api | [2024-04-21T18:14:37.937+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.0214146Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=855.479µs 18:16:03 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:03 policy-api | [2024-04-21T18:14:37.984+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.026664822Z level=info msg="Executing migration" id="Add column is_default" 18:16:03 policy-api | [2024-04-21T18:14:38.326+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.030373579Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.708147ms 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:38.346+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.035503576Z level=info msg="Executing migration" id="Add column frequency" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.039155286Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.651289ms 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:38.447+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.044056331Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:03 policy-db-migrator | 18:16:03 policy-api | [2024-04-21T18:14:38.450+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.047623438Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.566447ms 18:16:03 policy-db-migrator | 18:16:03 policy-api | [2024-04-21T18:14:38.482+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:03 grafana | logger=migrator t=2024-04-21T18:14:27.052694968Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:03 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:03 policy-api | [2024-04-21T18:14:38.484+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.056394027Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.69824ms 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:40.324+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.060275938Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:03 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:03 policy-api | [2024-04-21T18:14:40.327+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.06121635Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=940.081µs 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:41.572+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.066155027Z level=info msg="Executing migration" id="Update alert table charset" 18:16:03 policy-db-migrator | 18:16:03 policy-api | [2024-04-21T18:14:42.364+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.066182152Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=27.824µs 18:16:03 policy-db-migrator | 18:16:03 policy-api | [2024-04-21T18:14:43.388+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:03 grafana | logger=migrator t=2024-04-21T18:14:27.070139666Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:03 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:03 policy-api | [2024-04-21T18:14:43.600+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@c0d114b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2079ce51, org.springframework.security.web.context.SecurityContextHolderFilter@5f6b6f2, org.springframework.security.web.header.HeaderWriterFilter@712ce4f1, org.springframework.security.web.authentication.logout.LogoutFilter@13e6b26c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@136cd71b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@45fa7f1a, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@44264fb6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1692d173, org.springframework.security.web.access.ExceptionTranslationFilter@6e04275e, org.springframework.security.web.access.intercept.AuthorizationFilter@46ae1e6b] 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.070180608Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=42.691µs 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:44.514+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.075205127Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:03 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:03 policy-api | [2024-04-21T18:14:44.575+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.076508572Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.302485ms 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:44.603+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.080859494Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:03 policy-db-migrator | 18:16:03 policy-api | [2024-04-21T18:14:44.631+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.781 seconds (process running for 11.337) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.082505437Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.644473ms 18:16:03 policy-db-migrator | 18:16:03 policy-api | [2024-04-21T18:14:48.945+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.088293495Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:03 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:03 policy-api | [2024-04-21T18:14:48.945+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.089080259Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=787.824µs 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:48.947+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.095022465Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:03 policy-api | [2024-04-21T18:14:51.397+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.096395535Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.37239ms 18:16:03 policy-api | [] 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.101570303Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:03 policy-api | [2024-04-21T18:14:51.504+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.103306307Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.738204ms 18:16:03 policy-api | [2024-04-21T18:14:51.764+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 18:16:03 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.108638481Z level=info msg="Executing migration" id="Add for to alert table" 18:16:03 policy-api | [2024-04-21T18:14:52.979+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.112623151Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.983789ms 18:16:03 policy-api | [2024-04-21T18:14:54.992+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:03 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.116745251Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:03 policy-api | [2024-04-21T18:14:55.339+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.120510666Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.767574ms 18:16:03 policy-api | [2024-04-21T18:14:55.568+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:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.124201667Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:03 policy-db-migrator | 18:16:03 policy-api | [2024-04-21T18:14:55.799+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.124512531Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=310.155µs 18:16:03 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:03 policy-api | [2024-04-21T18:14:56.027+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.130720021Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-api | [2024-04-21T18:14:56.251+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.131729758Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.007457ms 18:16:03 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.138714374Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.140231314Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.533347ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.145905766Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.14972613Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.819714ms 18:16:03 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.153237469Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.153364322Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=126.493µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.158177806Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.159094253Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=916.456µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.16261439Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.164238297Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.624007ms 18:16:03 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.168473584Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.168721911Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=252.887µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.173102437Z level=info msg="Executing migration" id="create annotation table v5" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.174219541Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.116544ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.178191163Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.179716381Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.524959ms 18:16:03 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.184143646Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.18564086Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.497304ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.192328029Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.193263282Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=933.623µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.196976168Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.198145012Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.168283ms 18:16:03 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.201708919Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.20284555Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.13611ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.207970988Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.207996542Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.225µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.211404673Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.2157299Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.324807ms 18:16:03 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.219825166Z level=info msg="Executing migration" id="Drop category_id index" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.220813088Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=987.691µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.225013811Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.229175143Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.160981ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.233002095Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.234092585Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.09136ms 18:16:03 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.23743443Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.238518201Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.083511ms 18:16:03 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.243763554Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.244761273Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=997.7µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.24842429Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.260164843Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.740712ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.263702836Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.264303839Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=600.294µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.268624507Z 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:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.269684314Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.061556ms 18:16:03 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.275050511Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.275560163Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=509.452µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.279155735Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.279941109Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=784.784µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.284085814Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.284356627Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=270.213µs 18:16:03 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.287656671Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.29211547Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.456659ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.300012263Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.306002649Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.995264ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.31049826Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:03 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.311510766Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.012787ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.315032823Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.315991001Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=957.868µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.320337393Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.320673193Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=334.719µs 18:16:03 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.325465511Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.330964501Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.498869ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.334955918Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.336010966Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.055157ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.340344041Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.340653526Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=308.635µs 18:16:03 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.344200667Z level=info msg="Executing migration" id="Move region to single row" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.344701971Z level=info msg="Migration successfully executed" id="Move region to single row" duration=503.444µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.349376365Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.350377204Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.001458ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.354428649Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.355404933Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=976.554µs 18:16:03 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.360184004Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.361160408Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=974.115µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.365055076Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.366108224Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.052448ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.370066508Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.37133981Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.243807ms 18:16:03 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.37735545Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.380425412Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=3.074911ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.386022741Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.386189396Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=162.666µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.391326302Z level=info msg="Executing migration" id="create test_data table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.392316373Z level=info msg="Migration successfully executed" id="create test_data table" duration=989.541µs 18:16:03 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.39825002Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.39976938Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.51861ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.404638672Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.40588246Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.245657ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.410080094Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.411135861Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.057147ms 18:16:03 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.416464966Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.416773161Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=307.445µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.420252037Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.420684006Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=431.639µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.424228578Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.424385595Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=155.057µs 18:16:03 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.428325313Z level=info msg="Executing migration" id="create team table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.429746913Z level=info msg="Migration successfully executed" id="create team table" duration=1.42075ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.43781619Z level=info msg="Executing migration" id="add index team.org_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.439060957Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.246357ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.446401558Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.447959489Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.557821ms 18:16:03 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.452900617Z level=info msg="Executing migration" id="Add column uid in team" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.457567902Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.666515ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.462649869Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.462956684Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=308.205µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.46889839Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.469923924Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.025433ms 18:16:03 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.473558337Z level=info msg="Executing migration" id="create team member table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.474461516Z level=info msg="Migration successfully executed" id="create team member table" duration=902.86µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.479218192Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.480185708Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=967.526µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.484169577Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.486533069Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=2.408232ms 18:16:03 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.490802058Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.491868293Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.066365ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.49690419Z level=info msg="Executing migration" id="Add column email to team table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.504973537Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=8.068087ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.508813926Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.512545169Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.728343ms 18:16:03 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.515773378Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.520713435Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.938558ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.526915376Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.527949998Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.034162ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.532209879Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.533855122Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.645282ms 18:16:03 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.538615527Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.540788488Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.172471ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.54760528Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.548718085Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.112415ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.552974816Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.555348376Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=2.373879ms 18:16:03 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.561099262Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.562377742Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.27875ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.566896238Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.567640171Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=744.013µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.572519192Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.573344528Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=825.826µs 18:16:03 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.577324318Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.578285895Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=958.728µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:27.583532377Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.583916936Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=384.039µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.587781961Z level=info msg="Executing migration" id="create tag table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.588625933Z level=info msg="Migration successfully executed" id="create tag table" duration=840.313µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.593806909Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.595173771Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.365431ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.599337532Z level=info msg="Executing migration" id="create login attempt table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.600254088Z level=info msg="Migration successfully executed" id="create login attempt table" duration=914.947µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.604999567Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.606270959Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.270632ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.612210615Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.613190538Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=976.843µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.616767213Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.632809198Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.041514ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.63649319Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.637057551Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=564.481µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.641446915Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.642580046Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.13378ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.646498169Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.646833778Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=334.99µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.65042409Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.651154396Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=734.245µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.655667794Z level=info msg="Executing migration" id="create user auth table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.65691925Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.248477ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.660664389Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.662143377Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.479308ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.66582728Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.665956532Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=128.883µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.670922424Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.679900609Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.976426ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.683699398Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.687417793Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.718365ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.693552338Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.700354083Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.800915ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.708396905Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.713839767Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.439882ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.718386457Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.719297775Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=903.769µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.723803604Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.72912853Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.323307ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.734138873Z level=info msg="Executing migration" id="create server_lock table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.735134173Z level=info msg="Migration successfully executed" id="create server_lock table" duration=994.64µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.739159053Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.740374797Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.214613ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.744615022Z level=info msg="Executing migration" id="create user auth token table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.745744653Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.129092ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.752816611Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.754283741Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.46663ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.759802856Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.761346451Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.541105ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.765990411Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.767877842Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.887352ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.774922276Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.781224266Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.30165ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.784841522Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.785912936Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.071464ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.792848412Z level=info msg="Executing migration" id="create cache_data table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.794463871Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.613859ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.801786416Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.803513442Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.727655ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.80759611Z level=info msg="Executing migration" id="create short_url table v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.80901638Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.42124ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.815774484Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.817306991Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.530447ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.82133854Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.821579699Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=240.31µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.825253303Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.825429816Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=176.273µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.833329799Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.834910735Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.581716ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.843872644Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.845517847Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.645232ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.849737326Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.851192409Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.456973ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.856813753Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.856986836Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=171.404µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.860650633Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.86241725Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.766107ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.865881359Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.867607415Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.726386ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.875100084Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.876183675Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.083541ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.881472999Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.882693231Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.218603ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.886427343Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.893904805Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=7.478141ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.899272122Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.901058215Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.789272ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.905004692Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.905171177Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=166.105µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.908462073Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.909484007Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.021205ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.914470745Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.91629268Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.821726ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.922539742Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.923691829Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.150957ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.932092266Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.932348352Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=256.526µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.935774938Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.937278831Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.503293ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.940769794Z level=info msg="Executing migration" id="create alert_instance table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.941860264Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.08994ms 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.947748472Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.949445553Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.696422ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.953131575Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.954821549Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.689813ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.959189257Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.964993452Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.803596ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.973801543Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.974977275Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.175802ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.978614567Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.980067781Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.453513ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:27.983754973Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.011021321Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.265009ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.016435533Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.039703325Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.269271ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.042861082Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.043596787Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=735.126µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.050562174Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.052180744Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.6183ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.061445077Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.068990092Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.544995ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.072829126Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.078650063Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.820087ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.08189729Z level=info msg="Executing migration" id="create alert_rule table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.083005488Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.108107ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.08818297Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.089224181Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.040802ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.094946879Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.095965135Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.018306ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.102897708Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.104694301Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.796323ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.110466458Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.110615717Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=149.169µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.115299273Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.121699808Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.399916ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.125124249Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.131131817Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.007018ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.139290883Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.147369985Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=8.082542ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.150843366Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.151850494Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.007148ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.154945724Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.156038204Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.093661ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.160660223Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.166985534Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.324831ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.170309516Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.176978565Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.667919ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.181335759Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.182454944Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.118775ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.187785844Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:03 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.19656362Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.778306ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.200097698Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.206645162Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.546855ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.215702079Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.216069892Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=371.762µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.223326697Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:03 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.2243635Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.037012ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.227601539Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.228458089Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=855.78µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.232185736Z 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:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.233681012Z 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.494256ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.238249792Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:03 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.238399991Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=149.968µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.24183025Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.248298631Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.465591ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.254342821Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.262315986Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.974995ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.266702655Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:03 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.272848723Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.145499ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.276127225Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.280560073Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.432329ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.284251818Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.29042671Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.174303ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.295216794Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:03 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.295374121Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=154.738µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.30099499Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.302443626Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.448216ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.306671038Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.314526597Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=7.85666ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.319881922Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:03 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.320026792Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=144.549µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.323585014Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.330196605Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.610612ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.337095736Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.338183567Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.086272ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.347329945Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:03 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.356501639Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.178511ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.361284264Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.36220889Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=924.286µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.367385912Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.368422214Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.036493ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.374403638Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:03 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.380868909Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.464682ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.385259947Z level=info msg="Executing migration" id="create provenance_type table" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.386158218Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=897.682µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.391530259Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.393176714Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.646334ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.397918517Z level=info msg="Executing migration" id="create alert_image table" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.398947431Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.030044ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.405085152Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.406801881Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.71674ms 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.412543675Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.412692853Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=149.059µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.416743612Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.418383298Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.637616ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.423662279Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.425973113Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=2.309795ms 18:16:03 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.430578696Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.431193167Z 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.435023802Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.436627005Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=1.606343ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.44498199Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.447145225Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.166565ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.45211836Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.461864353Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.746512ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.465616125Z level=info msg="Executing migration" id="create library_element table v1" 18:16:03 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.466783459Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.166085ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.471867841Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:03 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.472960382Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.09219ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.479198411Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.480942095Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.742804ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.487430302Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:03 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.488477382Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.04694ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.493271005Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:03 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.494402097Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.129943ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.498495777Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.498639657Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=143.559µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.502753023Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:03 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.502896542Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=143.2µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.507835475Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:03 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.508173714Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=337.939µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.511584317Z level=info msg="Executing migration" id="create data_keys table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.51318822Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.603973ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.519288259Z level=info msg="Executing migration" id="create secrets table" 18:16:03 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.520559382Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.271063ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.527413612Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.561288865Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=33.873913ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.566078548Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.572237403Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.157645ms 18:16:03 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.576403408Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.576628521Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=224.922µs 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.580419205Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.612136361Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.716027ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.616658561Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.649003396Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=32.343675ms 18:16:03 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.653191796Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.653973102Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=780.736µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.657991157Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:03 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.659666415Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.671978ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.670262249Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:03 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.670702967Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=440.407µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.675227586Z level=info msg="Executing migration" id="create permission table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.67620688Z level=info msg="Migration successfully executed" id="create permission table" duration=978.564µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.681736859Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:03 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.683937986Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.200158ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.688071998Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:03 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.689174966Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.102269ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.693306648Z level=info msg="Executing migration" id="create role table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.694330323Z level=info msg="Migration successfully executed" id="create role table" duration=1.021456ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.698965489Z level=info msg="Executing migration" id="add column display_name" 18:16:03 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.709369193Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.404664ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.713618941Z level=info msg="Executing migration" id="add column group_name" 18:16:03 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.71923704Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.61745ms 18:16:03 policy-db-migrator | JOIN pdpstatistics b 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.722485728Z level=info msg="Executing migration" id="add index role.org_id" 18:16:03 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.723595505Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.107218ms 18:16:03 policy-db-migrator | SET a.id = b.id 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.727487467Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.728603632Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.118065ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.735671357Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.737224851Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.552154ms 18:16:03 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.744046438Z level=info msg="Executing migration" id="create team role table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.74493978Z level=info msg="Migration successfully executed" id="create team role table" duration=892.643µs 18:16:03 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.750058195Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.751407931Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.352936ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.755136938Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.756263011Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.125754ms 18:16:03 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.761330557Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.762419398Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.088931ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.766050865Z level=info msg="Executing migration" id="create user role table" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.766971312Z level=info msg="Migration successfully executed" id="create user role table" duration=920.047µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.772349122Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.773961943Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.612632ms 18:16:03 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.778360229Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.77944905Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.088192ms 18:16:03 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.786414777Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.787437742Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.023045ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.791257779Z level=info msg="Executing migration" id="create builtin role table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.792902944Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.645665ms 18:16:03 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.799417895Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.800512305Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.09456ms 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.804022078Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.805091843Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.069805ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.808666622Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.817186952Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.518601ms 18:16:03 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.822643665Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.82366752Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.023915ms 18:16:03 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.82761889Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.828728117Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.110757ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.836241269Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.837828095Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.584708ms 18:16:03 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.843063655Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.844122353Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.064236ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.847099727Z level=info msg="Executing migration" id="create seed assignment table" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.847925134Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=824.807µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.852224131Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:03 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.853362542Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.137861ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.859303853Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:03 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:03 grafana | logger=migrator t=2024-04-21T18:14:28.867635903Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.3315ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.87074437Z level=info msg="Executing migration" id="permission kind migration" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.880029619Z level=info msg="Migration successfully executed" id="permission kind migration" duration=9.28492ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.883280976Z level=info msg="Executing migration" id="permission attribute migration" 18:16:03 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.889342913Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=6.062176ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.894142814Z level=info msg="Executing migration" id="permission identifier migration" 18:16:03 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.902519494Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.372031ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.906056571Z level=info msg="Executing migration" id="add permission identifier index" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.907382493Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.326041ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.911245071Z level=info msg="Executing migration" id="add permission action scope role_id index" 18:16:03 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.912606995Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.361644ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.91739159Z level=info msg="Executing migration" id="remove permission role_id action scope index" 18:16:03 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.918525661Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.133372ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.922004771Z level=info msg="Executing migration" id="create query_history table v1" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.923405826Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.400016ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.928835865Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:03 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.931024895Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.18809ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.9362874Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:03 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.936369273Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=82.053µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.940784675Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.940843423Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=66.306µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.944343367Z level=info msg="Executing migration" id="teams permissions migration" 18:16:03 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.945191319Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=842.203µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.950112975Z level=info msg="Executing migration" id="dashboard permissions" 18:16:03 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.951106497Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=994.761µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.95499512Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.956342207Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.33548ms 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.960452973Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:03 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.960684334Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=231.072µs 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.964088659Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.964586624Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=497.585µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.968872354Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.970124951Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.250907ms 18:16:03 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.974560189Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.976306312Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.748773ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.980384446Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.990143195Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.75899ms 18:16:03 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.995468806Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.995519946Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=50.229µs 18:16:03 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.998183776Z level=info msg="Executing migration" id="create correlation table v1" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:28.99892757Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=743.604µs 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.003949395Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.005648618Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.698793ms 18:16:03 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.011838277Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:03 policy-db-migrator | -------------- 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.013519404Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.681277ms 18:16:03 policy-db-migrator | 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.019909492Z level=info msg="Executing migration" id="add correlation config column" 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | msg 18:16:03 policy-db-migrator | upgrade to 1100 completed 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 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:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | TRUNCATE TABLE sequence 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | DROP TABLE pdpstatistics 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | DROP TABLE statistics_sequence 18:16:03 policy-db-migrator | -------------- 18:16:03 policy-db-migrator | 18:16:03 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:03 policy-db-migrator | name version 18:16:03 policy-db-migrator | policyadmin 1300 18:16:03 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:03 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:27 18:16:03 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:27 18:16:03 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:27 18:16:03 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:27 18:16:03 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:27 18:16:03 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:27 18:16:03 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:27 18:16:03 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:28 18:16:03 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.028271375Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.361673ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.032753733Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.033866609Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.112726ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.037967648Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.03900632Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.038452ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.042437079Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.064043609Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.607071ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.067393316Z level=info msg="Executing migration" id="create correlation v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.068269932Z level=info msg="Migration successfully executed" id="create correlation v2" duration=879.035µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.072317271Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.07308604Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=768.528µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.076834832Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.078012245Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.177062ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.084255363Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.085898958Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.642994ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.092564767Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.092958875Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=395.937µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.096414789Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.097715885Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.300277ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.101932009Z level=info msg="Executing migration" id="add provisioning column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.111648988Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.715809ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.115299511Z level=info msg="Executing migration" id="create entity_events table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.116796157Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.495806ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.125508356Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.127025368Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.514991ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.132278214Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.132956172Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.136845145Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.137540109Z 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:03 grafana | logger=migrator t=2024-04-21T18:14:29.142032595Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.142784277Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=752.032µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.147595146Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.149279882Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.684136ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.153149089Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.155940733Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.791124ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.162688175Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.164273552Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.584657ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.168619239Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.170333699Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.712081ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.174154826Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.175933482Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.779066ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.180477448Z level=info msg="Executing migration" id="Drop public config table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.181443135Z level=info msg="Migration successfully executed" id="Drop public config table" duration=965.577µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.185053586Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.187022873Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.967057ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.191296915Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.193062264Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.76156ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.196533994Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.197852797Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.319063ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.202541702Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:03 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:29 18:16:03 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:30 18:16:03 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2104241814270800u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:31 18:16:03 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2104241814270900u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2104241814271000u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2104241814271000u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2104241814271000u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2104241814271000u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2104241814271000u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2104241814271000u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2104241814271000u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2104241814271000u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2104241814271000u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2104241814271100u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2104241814271200u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2104241814271200u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2104241814271200u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2104241814271200u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2104241814271300u 1 2024-04-21 18:14:32 18:16:03 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2104241814271300u 1 2024-04-21 18:14:33 18:16:03 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2104241814271300u 1 2024-04-21 18:14:33 18:16:03 policy-db-migrator | policyadmin: OK @ 1300 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.203660257Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.119195ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.208498261Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.23153937Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.04098ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.236782459Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.244126536Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.342967ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.247084334Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.25562691Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.542355ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.259591417Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.259808411Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=219.283µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.263567621Z level=info msg="Executing migration" id="add share column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.271244548Z level=info msg="Migration successfully executed" id="add share column" duration=7.676327ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.274509203Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.274798702Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=289.019µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.27842349Z level=info msg="Executing migration" id="create file table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.279477959Z level=info msg="Migration successfully executed" id="create file table" duration=1.051729ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.286177791Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.287381658Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.203707ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.290925544Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.292031881Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.106088ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.29556169Z level=info msg="Executing migration" id="create file_meta table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.296424148Z level=info msg="Migration successfully executed" id="create file_meta table" duration=860.189µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.301978062Z level=info msg="Executing migration" id="file table idx: path key" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.303113123Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.135072ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.308182618Z level=info msg="Executing migration" id="set path collation in file table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.308297634Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=113.026µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.311427386Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.311527725Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=99.979µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.317813345Z level=info msg="Executing migration" id="managed permissions migration" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.31907497Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.261845ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.326099994Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.326670414Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=571.15µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.330623513Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.333280325Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.641056ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.338195853Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.347778429Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.582477ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.353102961Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.353258518Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=155.428µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.3622915Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.363523821Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.232141ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.368667701Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.369650804Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=984.563µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.37333588Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.373643295Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=306.806µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.378463733Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.379017836Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=554.404µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.383268013Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.392858968Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.590745ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.399592994Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.409365281Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.771837ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.412627445Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.413464509Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=836.784µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.416759387Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.490157447Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=73.394331ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.494530238Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.495371911Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=841.644µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.498447715Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.49937478Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=926.716µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.503450264Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.532566857Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=29.117683ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.537211891Z level=info msg="Executing migration" id="add origin column to seed_assignment" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.544776902Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.561231ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.552722602Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.553112621Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=389.778µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.560991275Z level=info msg="Executing migration" id="prevent seeding OnCall access" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.561476393Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=487.617µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.56539631Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.565855563Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=458.883µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.569708344Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.569989115Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=280.621µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.573383212Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.573721091Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=337.24µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.579171286Z level=info msg="Executing migration" id="create folder table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.58095908Z level=info msg="Migration successfully executed" id="create folder table" duration=1.786444ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.587359316Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.588783716Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.425221ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.592546106Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.593885575Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.338639ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.600894782Z level=info msg="Executing migration" id="Update folder title length" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.600926585Z level=info msg="Migration successfully executed" id="Update folder title length" duration=31.063µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.608792593Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.611225632Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.434048ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.615309324Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.61646936Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.18787ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.620865856Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.622171252Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.304576ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.627141308Z level=info msg="Executing migration" id="Sync dashboard and folder table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.627671006Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=529.609µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.631171321Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.631544583Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=375.291µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.636024751Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.638018912Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.992752ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.643427966Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.644651459Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.223483ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.648664676Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.649805056Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.140311ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.654426475Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.655676203Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.252826ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.659625433Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.661398221Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.775557ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.666244063Z level=info msg="Executing migration" id="create anon_device table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.667269217Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.024695ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.671942835Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.673213728Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.271033ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.677189453Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.678529722Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.339508ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.687373544Z level=info msg="Executing migration" id="create signing_key table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.689176715Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.800982ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.694565083Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.696381591Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.816149ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.700164866Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.701365224Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.199988ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.704624679Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.704974386Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=349.946µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.707841183Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.718015576Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.173833ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.723156896Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.723693833Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=537.577µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.728010106Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.730130661Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=2.119454ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.734056796Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.735185679Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.130262ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.738086569Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.739215772Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.129122ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.742487575Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.743850248Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.361964ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.747200244Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.748446163Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.245078ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.751755238Z level=info msg="Executing migration" id="create sso_setting table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.752871523Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.115666ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.759520186Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.760471196Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=951.05µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.76683295Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.767362079Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=530.158µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.771294473Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.771361488Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=67.376µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.774413797Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.783528832Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.115865ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.787935876Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.797371094Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.434808ms 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.800932986Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.801319075Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=385.369µs 18:16:03 grafana | logger=migrator t=2024-04-21T18:14:29.8090997Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.120507574s 18:16:03 grafana | logger=sqlstore t=2024-04-21T18:14:29.821864518Z level=info msg="Created default admin" user=admin 18:16:03 grafana | logger=sqlstore t=2024-04-21T18:14:29.822202707Z level=info msg="Created default organization" 18:16:03 grafana | logger=secrets t=2024-04-21T18:14:29.826115195Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:03 grafana | logger=plugin.store t=2024-04-21T18:14:29.846108475Z level=info msg="Loading plugins..." 18:16:03 grafana | logger=local.finder t=2024-04-21T18:14:29.896464415Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:03 grafana | logger=plugin.store t=2024-04-21T18:14:29.896493739Z level=info msg="Plugins loaded" count=55 duration=50.385644ms 18:16:03 grafana | logger=query_data t=2024-04-21T18:14:29.899150731Z level=info msg="Query Service initialization" 18:16:03 grafana | logger=live.push_http t=2024-04-21T18:14:29.903063449Z level=info msg="Live Push Gateway initialization" 18:16:03 grafana | logger=ngalert.migration t=2024-04-21T18:14:29.908448658Z level=info msg=Starting 18:16:03 grafana | logger=ngalert.migration t=2024-04-21T18:14:29.909290011Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 18:16:03 grafana | logger=ngalert.migration orgID=1 t=2024-04-21T18:14:29.910135793Z level=info msg="Migrating alerts for organisation" 18:16:03 grafana | logger=ngalert.migration orgID=1 t=2024-04-21T18:14:29.910896293Z level=info msg="Alerts found to migrate" alerts=0 18:16:03 grafana | logger=ngalert.migration t=2024-04-21T18:14:29.913092942Z level=info msg="Completed alerting migration" 18:16:03 grafana | logger=ngalert.state.manager t=2024-04-21T18:14:29.944337708Z level=info msg="Running in alternative execution of Error/NoData mode" 18:16:03 grafana | logger=infra.usagestats.collector t=2024-04-21T18:14:29.946112395Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:03 grafana | logger=provisioning.datasources t=2024-04-21T18:14:29.948273691Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:16:03 grafana | logger=provisioning.alerting t=2024-04-21T18:14:29.964048577Z level=info msg="starting to provision alerting" 18:16:03 grafana | logger=provisioning.alerting t=2024-04-21T18:14:29.964165502Z level=info msg="finished to provision alerting" 18:16:03 grafana | logger=grafanaStorageLogger t=2024-04-21T18:14:29.964535414Z level=info msg="Storage starting" 18:16:03 grafana | logger=ngalert.state.manager t=2024-04-21T18:14:29.964779583Z level=info msg="Warming state cache for startup" 18:16:03 grafana | logger=ngalert.multiorg.alertmanager t=2024-04-21T18:14:29.964908106Z level=info msg="Starting MultiOrg Alertmanager" 18:16:03 grafana | logger=ngalert.state.manager t=2024-04-21T18:14:29.965201254Z level=info msg="State cache has been initialized" states=0 duration=419.642µs 18:16:03 grafana | logger=ngalert.scheduler t=2024-04-21T18:14:29.965250864Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 18:16:03 grafana | logger=ticker t=2024-04-21T18:14:29.96926898Z level=info msg=starting first_tick=2024-04-21T18:14:30Z 18:16:03 grafana | logger=http.server t=2024-04-21T18:14:29.973685912Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:03 grafana | logger=plugins.update.checker t=2024-04-21T18:14:30.063387829Z level=info msg="Update check succeeded" duration=92.73634ms 18:16:03 grafana | logger=grafana.update.checker t=2024-04-21T18:14:30.076155925Z level=info msg="Update check succeeded" duration=105.129145ms 18:16:03 grafana | logger=provisioning.dashboard t=2024-04-21T18:14:30.094871101Z level=info msg="starting to provision dashboards" 18:16:03 grafana | logger=sqlstore.transactions t=2024-04-21T18:14:30.171318101Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:03 grafana | logger=provisioning.dashboard t=2024-04-21T18:14:30.324966073Z level=info msg="finished to provision dashboards" 18:16:03 grafana | logger=grafana-apiserver t=2024-04-21T18:14:30.423172219Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 18:16:03 grafana | logger=grafana-apiserver t=2024-04-21T18:14:30.423655487Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 18:16:03 grafana | logger=infra.usagestats t=2024-04-21T18:15:19.98024726Z level=info msg="Usage stats are ready to report" 18:16:03 ++ echo 'Tearing down containers...' 18:16:03 Tearing down containers... 18:16:03 ++ docker-compose down -v --remove-orphans 18:16:04 Stopping grafana ... 18:16:04 Stopping policy-api ... 18:16:04 Stopping prometheus ... 18:16:04 Stopping mariadb ... 18:16:04 Stopping grafana ... done 18:16:04 Stopping prometheus ... done 18:16:05 Stopping mariadb ... done 18:16:14 Stopping policy-api ... done 18:16:14 Removing grafana ... 18:16:14 Removing policy-api ... 18:16:14 Removing policy-db-migrator ... 18:16:14 Removing prometheus ... 18:16:14 Removing mariadb ... 18:16:14 Removing prometheus ... done 18:16:14 Removing policy-api ... done 18:16:14 Removing policy-db-migrator ... done 18:16:14 Removing grafana ... done 18:16:14 Removing mariadb ... done 18:16:14 Removing network compose_default 18:16:14 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:14 + load_set 18:16:14 + _setopts=hxB 18:16:14 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:14 ++ tr : ' ' 18:16:14 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:14 + set +o braceexpand 18:16:14 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:14 + set +o hashall 18:16:14 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:14 + set +o interactive-comments 18:16:14 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:14 + set +o xtrace 18:16:14 ++ echo hxB 18:16:14 ++ sed 's/./& /g' 18:16:14 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:14 + set +h 18:16:14 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:14 + set +x 18:16:14 + [[ -n /tmp/tmp.JgC29c2bKZ ]] 18:16:14 + rsync -av /tmp/tmp.JgC29c2bKZ/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:14 sending incremental file list 18:16:14 ./ 18:16:14 log.html 18:16:14 output.xml 18:16:14 report.html 18:16:14 testplan.txt 18:16:14 18:16:14 sent 1,345,202 bytes received 95 bytes 2,690,594.00 bytes/sec 18:16:14 total size is 1,344,552 speedup is 1.00 18:16:14 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:14 + exit 0 18:16:14 $ ssh-agent -k 18:16:14 unset SSH_AUTH_SOCK; 18:16:14 unset SSH_AGENT_PID; 18:16:14 echo Agent pid 2101 killed; 18:16:14 [ssh-agent] Stopped. 18:16:14 Robot results publisher started... 18:16:14 INFO: Checking test criticality is deprecated and will be dropped in a future release! 18:16:14 -Parsing output xml: 18:16:15 Done! 18:16:15 WARNING! Could not find file: **/log.html 18:16:15 WARNING! Could not find file: **/report.html 18:16:15 -Copying log files to build dir: 18:16:15 Done! 18:16:15 -Assigning results to build: 18:16:15 Done! 18:16:15 -Checking thresholds: 18:16:15 Done! 18:16:15 Done publishing Robot results. 18:16:15 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:15 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5417397645788791673.sh 18:16:15 ---> sysstat.sh 18:16:16 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17761282704184717672.sh 18:16:16 ---> package-listing.sh 18:16:16 ++ facter osfamily 18:16:16 ++ tr '[:upper:]' '[:lower:]' 18:16:16 + OS_FAMILY=debian 18:16:16 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:16 + START_PACKAGES=/tmp/packages_start.txt 18:16:16 + END_PACKAGES=/tmp/packages_end.txt 18:16:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:16 + PACKAGES=/tmp/packages_start.txt 18:16:16 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:16 + PACKAGES=/tmp/packages_end.txt 18:16:16 + case "${OS_FAMILY}" in 18:16:16 + dpkg -l 18:16:16 + grep '^ii' 18:16:16 + '[' -f /tmp/packages_start.txt ']' 18:16:16 + '[' -f /tmp/packages_end.txt ']' 18:16:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:16 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:16 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:16 + 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:16 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6793923844163354044.sh 18:16:16 ---> capture-instance-metadata.sh 18:16:16 Setup pyenv: 18:16:16 system 18:16:16 3.8.13 18:16:16 3.9.13 18:16:16 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CXuL from file:/tmp/.os_lf_venv 18:16:17 lf-activate-venv(): INFO: Installing: lftools 18:16:30 lf-activate-venv(): INFO: Adding /tmp/venv-CXuL/bin to PATH 18:16:30 INFO: Running in OpenStack, capturing instance metadata 18:16:31 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11408916245775494922.sh 18:16:31 provisioning config files... 18:16:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config9706383396438572523tmp 18:16:31 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:31 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:31 [EnvInject] - Injecting environment variables from a build step. 18:16:31 [EnvInject] - Injecting as environment variables the properties content 18:16:31 SERVER_ID=logs 18:16:31 18:16:31 [EnvInject] - Variables injected successfully. 18:16:31 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8160885532522351522.sh 18:16:31 ---> create-netrc.sh 18:16:31 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8954188687008565914.sh 18:16:31 ---> python-tools-install.sh 18:16:31 Setup pyenv: 18:16:32 system 18:16:32 3.8.13 18:16:32 3.9.13 18:16:32 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:32 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CXuL from file:/tmp/.os_lf_venv 18:16:35 lf-activate-venv(): INFO: Installing: lftools 18:16:43 lf-activate-venv(): INFO: Adding /tmp/venv-CXuL/bin to PATH 18:16:43 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4109168551576436064.sh 18:16:43 ---> sudo-logs.sh 18:16:43 Archiving 'sudo' log.. 18:16:43 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4472773711514410371.sh 18:16:43 ---> job-cost.sh 18:16:44 Setup pyenv: 18:16:44 system 18:16:44 3.8.13 18:16:44 3.9.13 18:16:44 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:44 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CXuL from file:/tmp/.os_lf_venv 18:16:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:16:50 lf-activate-venv(): INFO: Adding /tmp/venv-CXuL/bin to PATH 18:16:50 INFO: No Stack... 18:16:50 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:50 INFO: Archiving Costs 18:16:50 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins10201446750455651027.sh 18:16:50 ---> logs-deploy.sh 18:16:50 Setup pyenv: 18:16:50 system 18:16:50 3.8.13 18:16:50 3.9.13 18:16:50 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:50 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CXuL from file:/tmp/.os_lf_venv 18:16:52 lf-activate-venv(): INFO: Installing: lftools 18:17:00 lf-activate-venv(): INFO: Adding /tmp/venv-CXuL/bin to PATH 18:17:00 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/162 18:17:00 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:17:01 Archives upload complete. 18:17:01 INFO: archiving logs to Nexus 18:17:02 ---> uname -a: 18:17:02 Linux prd-ubuntu1804-docker-8c-8g-24988 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:02 18:17:02 18:17:02 ---> lscpu: 18:17:02 Architecture: x86_64 18:17:02 CPU op-mode(s): 32-bit, 64-bit 18:17:02 Byte Order: Little Endian 18:17:02 CPU(s): 8 18:17:02 On-line CPU(s) list: 0-7 18:17:02 Thread(s) per core: 1 18:17:02 Core(s) per socket: 1 18:17:02 Socket(s): 8 18:17:02 NUMA node(s): 1 18:17:02 Vendor ID: AuthenticAMD 18:17:02 CPU family: 23 18:17:02 Model: 49 18:17:02 Model name: AMD EPYC-Rome Processor 18:17:02 Stepping: 0 18:17:02 CPU MHz: 2800.000 18:17:02 BogoMIPS: 5600.00 18:17:02 Virtualization: AMD-V 18:17:02 Hypervisor vendor: KVM 18:17:02 Virtualization type: full 18:17:02 L1d cache: 32K 18:17:02 L1i cache: 32K 18:17:02 L2 cache: 512K 18:17:02 L3 cache: 16384K 18:17:02 NUMA node0 CPU(s): 0-7 18:17:02 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:02 18:17:02 18:17:02 ---> nproc: 18:17:02 8 18:17:02 18:17:02 18:17:02 ---> df -h: 18:17:02 Filesystem Size Used Avail Use% Mounted on 18:17:02 udev 16G 0 16G 0% /dev 18:17:02 tmpfs 3.2G 708K 3.2G 1% /run 18:17:02 /dev/vda1 155G 12G 144G 8% / 18:17:02 tmpfs 16G 0 16G 0% /dev/shm 18:17:02 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:02 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:02 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:02 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:02 18:17:02 18:17:02 ---> free -m: 18:17:02 total used free shared buff/cache available 18:17:02 Mem: 32167 826 27336 0 4003 30884 18:17:02 Swap: 1023 0 1023 18:17:02 18:17:02 18:17:02 ---> ip addr: 18:17:02 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:02 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:02 inet 127.0.0.1/8 scope host lo 18:17:02 valid_lft forever preferred_lft forever 18:17:02 inet6 ::1/128 scope host 18:17:02 valid_lft forever preferred_lft forever 18:17:02 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:17:02 link/ether fa:16:3e:ec:df:55 brd ff:ff:ff:ff:ff:ff 18:17:02 inet 10.30.107.85/23 brd 10.30.107.255 scope global dynamic ens3 18:17:02 valid_lft 86059sec preferred_lft 86059sec 18:17:02 inet6 fe80::f816:3eff:feec:df55/64 scope link 18:17:02 valid_lft forever preferred_lft forever 18:17:02 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:02 link/ether 02:42:6d:86:63:84 brd ff:ff:ff:ff:ff:ff 18:17:02 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:02 valid_lft forever preferred_lft forever 18:17:02 18:17:02 18:17:02 ---> sar -b -r -n DEV: 18:17:02 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-24988) 04/21/24 _x86_64_ (8 CPU) 18:17:02 18:17:02 18:11:24 LINUX RESTART (8 CPU) 18:17:02 18:17:02 18:12:01 tps rtps wtps bread/s bwrtn/s 18:17:02 18:13:01 132.71 22.78 109.93 1178.07 70425.46 18:17:02 18:14:01 142.43 23.58 118.85 2757.81 65955.27 18:17:02 18:15:01 388.32 16.13 372.19 832.23 65718.25 18:17:02 18:16:01 2.30 0.00 2.30 0.00 57.06 18:17:02 18:17:01 56.12 2.13 53.99 123.05 3421.21 18:17:02 Average: 144.38 12.92 131.45 978.23 41115.45 18:17:02 18:17:02 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:02 18:13:01 30130560 31712224 2808660 8.53 70264 1821944 1434696 4.22 858708 1658568 150528 18:17:02 18:14:01 29046720 31665452 3892500 11.82 99492 2795572 1605000 4.72 992452 2536620 795904 18:17:02 18:15:01 26939844 30612624 5999376 18.21 129608 3765312 4241424 12.48 2134008 3410628 20 18:17:02 18:16:01 26949192 30622936 5990028 18.19 129672 3766008 4213068 12.40 2124232 3408988 108 18:17:02 18:17:01 28014008 31646000 4925212 14.95 131748 3732752 1453096 4.28 1137260 3360552 2472 18:17:02 Average: 28216065 31251847 4723155 14.34 112157 3176318 2589457 7.62 1449332 2875071 189806 18:17:02 18:17:02 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:02 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:02 18:13:01 ens3 53.72 39.16 831.60 7.62 0.00 0.00 0.00 0.00 18:17:02 18:13:01 lo 1.60 1.60 0.18 0.18 0.00 0.00 0.00 0.00 18:17:02 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:02 18:14:01 ens3 185.50 126.83 4621.74 18.79 0.00 0.00 0.00 0.00 18:17:02 18:14:01 br-b55bc293b0a2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:02 18:14:01 lo 6.47 6.47 0.61 0.61 0.00 0.00 0.00 0.00 18:17:02 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:02 18:15:01 ens3 168.81 103.35 5577.18 8.49 0.00 0.00 0.00 0.00 18:17:02 18:15:01 veth54be182 0.53 0.70 0.06 0.30 0.00 0.00 0.00 0.00 18:17:02 18:15:01 vethfe2d5be 130.68 159.77 114.58 38.95 0.00 0.00 0.00 0.01 18:17:02 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:02 18:16:01 ens3 7.85 7.52 3.94 2.01 0.00 0.00 0.00 0.00 18:17:02 18:16:01 veth54be182 0.25 0.18 0.02 0.01 0.00 0.00 0.00 0.00 18:17:02 18:16:01 vethfe2d5be 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 18:17:02 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:02 18:17:01 ens3 71.69 53.74 77.51 37.68 0.00 0.00 0.00 0.00 18:17:02 18:17:01 lo 33.61 33.61 10.64 10.64 0.00 0.00 0.00 0.00 18:17:02 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:02 Average: ens3 97.51 66.12 2222.39 14.92 0.00 0.00 0.00 0.00 18:17:02 Average: lo 5.94 5.94 2.06 2.06 0.00 0.00 0.00 0.00 18:17:02 18:17:02 18:17:02 ---> sar -P ALL: 18:17:02 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-24988) 04/21/24 _x86_64_ (8 CPU) 18:17:02 18:17:02 18:11:24 LINUX RESTART (8 CPU) 18:17:02 18:17:02 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:17:02 18:13:01 all 9.71 0.00 0.70 4.08 0.03 85.48 18:17:02 18:13:01 0 0.75 0.00 0.25 0.42 0.03 98.54 18:17:02 18:13:01 1 24.72 0.00 1.15 8.71 0.07 65.35 18:17:02 18:13:01 2 14.24 0.00 1.05 0.43 0.03 84.24 18:17:02 18:13:01 3 24.69 0.00 1.42 1.27 0.03 72.59 18:17:02 18:13:01 4 4.51 0.00 0.43 0.50 0.00 94.56 18:17:02 18:13:01 5 2.43 0.00 0.27 0.15 0.02 97.13 18:17:02 18:13:01 6 5.65 0.00 0.74 20.95 0.03 72.64 18:17:02 18:13:01 7 0.63 0.00 0.27 0.25 0.03 98.82 18:17:02 18:14:01 all 10.26 0.00 1.49 3.52 0.04 84.70 18:17:02 18:14:01 0 6.29 0.00 1.15 0.00 0.03 92.53 18:17:02 18:14:01 1 3.64 0.00 1.12 5.61 0.03 89.59 18:17:02 18:14:01 2 3.98 0.00 1.27 0.02 0.02 94.72 18:17:02 18:14:01 3 22.46 0.00 2.22 2.04 0.07 73.21 18:17:02 18:14:01 4 26.45 0.00 1.49 2.12 0.07 69.87 18:17:02 18:14:01 5 9.90 0.00 1.54 0.62 0.03 87.91 18:17:02 18:14:01 6 5.11 0.00 1.41 17.68 0.03 75.77 18:17:02 18:14:01 7 4.23 0.00 1.71 0.12 0.02 93.93 18:17:02 18:15:01 all 19.26 0.00 3.60 2.76 0.08 74.30 18:17:02 18:15:01 0 8.95 0.00 2.11 0.66 0.05 88.23 18:17:02 18:15:01 1 24.05 0.00 4.14 0.74 0.10 70.96 18:17:02 18:15:01 2 19.08 0.00 4.08 1.01 0.10 75.73 18:17:02 18:15:01 3 20.81 0.00 3.68 0.45 0.07 74.98 18:17:02 18:15:01 4 13.89 0.00 3.33 11.48 0.08 71.22 18:17:02 18:15:01 5 25.82 0.00 4.54 2.92 0.10 66.62 18:17:02 18:15:01 6 18.41 0.00 3.52 3.84 0.08 74.15 18:17:02 18:15:01 7 23.32 0.00 3.38 0.98 0.08 72.24 18:17:02 18:16:01 all 0.45 0.00 0.11 0.04 0.01 99.39 18:17:02 18:16:01 0 1.62 0.00 0.10 0.00 0.02 98.27 18:17:02 18:16:01 1 0.32 0.00 0.10 0.00 0.00 99.58 18:17:02 18:16:01 2 0.45 0.00 0.08 0.00 0.02 99.45 18:17:02 18:16:01 3 0.07 0.00 0.08 0.27 0.02 99.57 18:17:02 18:16:01 4 0.23 0.00 0.12 0.05 0.02 99.58 18:17:02 18:16:01 5 0.57 0.00 0.18 0.02 0.03 99.20 18:17:02 18:16:01 6 0.10 0.00 0.08 0.00 0.00 99.82 18:17:02 18:16:01 7 0.22 0.00 0.12 0.00 0.02 99.65 18:17:02 18:17:01 all 8.38 0.00 0.62 0.66 0.04 90.29 18:17:02 18:17:01 0 0.95 0.00 0.62 0.43 0.03 97.96 18:17:02 18:17:01 1 18.32 0.00 0.67 0.37 0.03 80.61 18:17:02 18:17:01 2 30.33 0.00 1.15 0.80 0.07 67.66 18:17:02 18:17:01 3 8.07 0.00 0.42 0.27 0.03 91.21 18:17:02 18:17:01 4 5.91 0.00 0.58 0.18 0.03 93.29 18:17:02 18:17:01 5 0.92 0.00 0.47 0.02 0.02 98.58 18:17:02 18:17:01 6 1.22 0.00 0.55 0.05 0.03 98.15 18:17:02 18:17:01 7 1.34 0.00 0.55 3.17 0.03 94.91 18:17:02 Average: all 9.59 0.00 1.30 2.21 0.04 86.85 18:17:02 Average: 0 3.72 0.00 0.84 0.30 0.03 95.10 18:17:02 Average: 1 14.19 0.00 1.43 3.09 0.05 81.25 18:17:02 Average: 2 13.61 0.00 1.52 0.45 0.05 84.36 18:17:02 Average: 3 15.21 0.00 1.56 0.86 0.04 82.33 18:17:02 Average: 4 10.18 0.00 1.19 2.86 0.04 85.73 18:17:02 Average: 5 7.89 0.00 1.39 0.74 0.04 89.94 18:17:02 Average: 6 6.07 0.00 1.25 8.50 0.04 84.14 18:17:02 Average: 7 5.92 0.00 1.20 0.90 0.04 91.94 18:17:02 18:17:02 18:17:02