11:20:07 Started by timer 11:20:07 Running as SYSTEM 11:20:07 [EnvInject] - Loading node environment variables. 11:20:07 Building remotely on prd-ubuntu1804-docker-8c-8g-18517 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api 11:20:07 [ssh-agent] Looking for ssh-agent implementation... 11:20:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:20:08 $ ssh-agent 11:20:08 SSH_AUTH_SOCK=/tmp/ssh-wWXHiMbBBL5m/agent.2162 11:20:08 SSH_AGENT_PID=2163 11:20:08 [ssh-agent] Started. 11:20:08 Running ssh-add (command line suppressed) 11:20:08 Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_13381248666991982490.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_13381248666991982490.key) 11:20:08 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 11:20:08 The recommended git tool is: NONE 11:20:09 using credential onap-jenkins-ssh 11:20:09 Wiping out workspace first. 11:20:09 Cloning the remote Git repository 11:20:09 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 11:20:09 > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 11:20:09 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 11:20:09 > git --version # timeout=10 11:20:09 > git --version # 'git version 2.17.1' 11:20:09 using GIT_SSH to set credentials Gerrit user 11:20:09 Verifying host key using manually-configured host key entries 11:20:09 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 11:20:10 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 11:20:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:20:10 Avoid second fetch 11:20:10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 11:20:10 Checking out Revision cebb4172163dc04b43be7e34d9a4b374370492f8 (refs/remotes/origin/master) 11:20:10 > git config core.sparsecheckout # timeout=10 11:20:10 > git checkout -f cebb4172163dc04b43be7e34d9a4b374370492f8 # timeout=30 11:20:10 Commit message: "Update db-migrator version in policy helm" 11:20:10 > git rev-list --no-walk cebb4172163dc04b43be7e34d9a4b374370492f8 # timeout=10 11:20:10 provisioning config files... 11:20:10 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:20:10 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:20:10 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14750493978715308105.sh 11:20:10 ---> python-tools-install.sh 11:20:10 Setup pyenv: 11:20:11 * system (set by /opt/pyenv/version) 11:20:11 * 3.8.13 (set by /opt/pyenv/version) 11:20:11 * 3.9.13 (set by /opt/pyenv/version) 11:20:11 * 3.10.6 (set by /opt/pyenv/version) 11:20:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4Kh4 11:20:15 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:20:18 lf-activate-venv(): INFO: Installing: lftools 11:20:50 lf-activate-venv(): INFO: Adding /tmp/venv-4Kh4/bin to PATH 11:20:50 Generating Requirements File 11:21:25 Python 3.10.6 11:21:25 pip 24.0 from /tmp/venv-4Kh4/lib/python3.10/site-packages/pip (python 3.10) 11:21:26 appdirs==1.4.4 11:21:26 argcomplete==3.2.3 11:21:26 aspy.yaml==1.3.0 11:21:26 attrs==23.2.0 11:21:26 autopage==0.5.2 11:21:26 beautifulsoup4==4.12.3 11:21:26 boto3==1.34.71 11:21:26 botocore==1.34.71 11:21:26 bs4==0.0.2 11:21:26 cachetools==5.3.3 11:21:26 certifi==2024.2.2 11:21:26 cffi==1.16.0 11:21:26 cfgv==3.4.0 11:21:26 chardet==5.2.0 11:21:26 charset-normalizer==3.3.2 11:21:26 click==8.1.7 11:21:26 cliff==4.6.0 11:21:26 cmd2==2.4.3 11:21:26 cryptography==3.3.2 11:21:26 debtcollector==3.0.0 11:21:26 decorator==5.1.1 11:21:26 defusedxml==0.7.1 11:21:26 Deprecated==1.2.14 11:21:26 distlib==0.3.8 11:21:26 dnspython==2.6.1 11:21:26 docker==4.2.2 11:21:26 dogpile.cache==1.3.2 11:21:26 email_validator==2.1.1 11:21:26 filelock==3.13.3 11:21:26 future==1.0.0 11:21:26 gitdb==4.0.11 11:21:26 GitPython==3.1.42 11:21:26 google-auth==2.29.0 11:21:26 httplib2==0.22.0 11:21:26 identify==2.5.35 11:21:26 idna==3.6 11:21:26 importlib-resources==1.5.0 11:21:26 iso8601==2.1.0 11:21:26 Jinja2==3.1.3 11:21:26 jmespath==1.0.1 11:21:26 jsonpatch==1.33 11:21:26 jsonpointer==2.4 11:21:26 jsonschema==4.21.1 11:21:26 jsonschema-specifications==2023.12.1 11:21:26 keystoneauth1==5.6.0 11:21:26 kubernetes==29.0.0 11:21:26 lftools==0.37.10 11:21:26 lxml==5.1.0 11:21:26 MarkupSafe==2.1.5 11:21:26 msgpack==1.0.8 11:21:26 multi_key_dict==2.0.3 11:21:26 munch==4.0.0 11:21:26 netaddr==1.2.1 11:21:26 netifaces==0.11.0 11:21:26 niet==1.4.2 11:21:26 nodeenv==1.8.0 11:21:26 oauth2client==4.1.3 11:21:26 oauthlib==3.2.2 11:21:26 openstacksdk==3.0.0 11:21:26 os-client-config==2.1.0 11:21:26 os-service-types==1.7.0 11:21:26 osc-lib==3.0.1 11:21:26 oslo.config==9.4.0 11:21:26 oslo.context==5.5.0 11:21:26 oslo.i18n==6.3.0 11:21:26 oslo.log==5.5.0 11:21:26 oslo.serialization==5.4.0 11:21:26 oslo.utils==7.1.0 11:21:26 packaging==24.0 11:21:26 pbr==6.0.0 11:21:26 platformdirs==4.2.0 11:21:26 prettytable==3.10.0 11:21:26 pyasn1==0.6.0 11:21:26 pyasn1_modules==0.4.0 11:21:26 pycparser==2.21 11:21:26 pygerrit2==2.0.15 11:21:26 PyGithub==2.3.0 11:21:26 pyinotify==0.9.6 11:21:26 PyJWT==2.8.0 11:21:26 PyNaCl==1.5.0 11:21:26 pyparsing==2.4.7 11:21:26 pyperclip==1.8.2 11:21:26 pyrsistent==0.20.0 11:21:26 python-cinderclient==9.5.0 11:21:26 python-dateutil==2.9.0.post0 11:21:26 python-heatclient==3.5.0 11:21:26 python-jenkins==1.8.2 11:21:26 python-keystoneclient==5.4.0 11:21:26 python-magnumclient==4.4.0 11:21:26 python-novaclient==18.6.0 11:21:26 python-openstackclient==6.6.0 11:21:26 python-swiftclient==4.5.0 11:21:26 PyYAML==6.0.1 11:21:26 referencing==0.34.0 11:21:26 requests==2.31.0 11:21:26 requests-oauthlib==2.0.0 11:21:26 requestsexceptions==1.4.0 11:21:26 rfc3986==2.0.0 11:21:26 rpds-py==0.18.0 11:21:26 rsa==4.9 11:21:26 ruamel.yaml==0.18.6 11:21:26 ruamel.yaml.clib==0.2.8 11:21:26 s3transfer==0.10.1 11:21:26 simplejson==3.19.2 11:21:26 six==1.16.0 11:21:26 smmap==5.0.1 11:21:26 soupsieve==2.5 11:21:26 stevedore==5.2.0 11:21:26 tabulate==0.9.0 11:21:26 toml==0.10.2 11:21:26 tomlkit==0.12.4 11:21:26 tqdm==4.66.2 11:21:26 typing_extensions==4.10.0 11:21:26 tzdata==2024.1 11:21:26 urllib3==1.26.18 11:21:26 virtualenv==20.25.1 11:21:26 wcwidth==0.2.13 11:21:26 websocket-client==1.7.0 11:21:26 wrapt==1.16.0 11:21:26 xdg==6.0.0 11:21:26 xmltodict==0.13.0 11:21:26 yq==3.2.3 11:21:26 [EnvInject] - Injecting environment variables from a build step. 11:21:26 [EnvInject] - Injecting as environment variables the properties content 11:21:26 SET_JDK_VERSION=openjdk17 11:21:26 GIT_URL="git://cloud.onap.org/mirror" 11:21:26 11:21:26 [EnvInject] - Variables injected successfully. 11:21:26 [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins11821790849002841243.sh 11:21:26 ---> update-java-alternatives.sh 11:21:26 ---> Updating Java version 11:21:26 ---> Ubuntu/Debian system detected 11:21:26 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:21:26 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:21:26 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 11:21:27 openjdk version "17.0.4" 2022-07-19 11:21:27 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:21:27 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:21:27 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:21:27 [EnvInject] - Injecting environment variables from a build step. 11:21:27 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:21:27 [EnvInject] - Variables injected successfully. 11:21:27 [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins13704486731865124109.sh 11:21:27 + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api 11:21:27 + set +u 11:21:27 + save_set 11:21:27 + RUN_CSIT_SAVE_SET=ehxB 11:21:27 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 11:21:27 + '[' 1 -eq 0 ']' 11:21:27 + '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:21:27 + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:21:27 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:21:27 + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 11:21:27 + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts 11:21:27 + export ROBOT_VARIABLES= 11:21:27 + ROBOT_VARIABLES= 11:21:27 + export PROJECT=api 11:21:27 + PROJECT=api 11:21:27 + cd /w/workspace/policy-api-master-project-csit-api 11:21:27 + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:21:27 + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:21:27 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:21:27 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 11:21:27 + relax_set 11:21:27 + set +e 11:21:27 + set +o pipefail 11:21:27 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:21:27 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:21:27 +++ mktemp -d 11:21:27 ++ ROBOT_VENV=/tmp/tmp.JMZCaaTPLY 11:21:27 ++ echo ROBOT_VENV=/tmp/tmp.JMZCaaTPLY 11:21:27 +++ python3 --version 11:21:27 ++ echo 'Python version is: Python 3.6.9' 11:21:27 Python version is: Python 3.6.9 11:21:27 ++ python3 -m venv --clear /tmp/tmp.JMZCaaTPLY 11:21:28 ++ source /tmp/tmp.JMZCaaTPLY/bin/activate 11:21:28 +++ deactivate nondestructive 11:21:28 +++ '[' -n '' ']' 11:21:28 +++ '[' -n '' ']' 11:21:28 +++ '[' -n /bin/bash -o -n '' ']' 11:21:28 +++ hash -r 11:21:28 +++ '[' -n '' ']' 11:21:28 +++ unset VIRTUAL_ENV 11:21:28 +++ '[' '!' nondestructive = nondestructive ']' 11:21:28 +++ VIRTUAL_ENV=/tmp/tmp.JMZCaaTPLY 11:21:28 +++ export VIRTUAL_ENV 11:21:28 +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:21:28 +++ PATH=/tmp/tmp.JMZCaaTPLY/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:21:28 +++ export PATH 11:21:28 +++ '[' -n '' ']' 11:21:28 +++ '[' -z '' ']' 11:21:28 +++ _OLD_VIRTUAL_PS1= 11:21:28 +++ '[' 'x(tmp.JMZCaaTPLY) ' '!=' x ']' 11:21:28 +++ PS1='(tmp.JMZCaaTPLY) ' 11:21:28 +++ export PS1 11:21:28 +++ '[' -n /bin/bash -o -n '' ']' 11:21:28 +++ hash -r 11:21:28 ++ set -exu 11:21:28 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 11:21:31 ++ echo 'Installing Python Requirements' 11:21:31 Installing Python Requirements 11:21:31 ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt 11:21:56 ++ python3 -m pip -qq freeze 11:21:56 bcrypt==4.0.1 11:21:56 beautifulsoup4==4.12.3 11:21:56 bitarray==2.9.2 11:21:56 certifi==2024.2.2 11:21:56 cffi==1.15.1 11:21:56 charset-normalizer==2.0.12 11:21:56 cryptography==40.0.2 11:21:56 decorator==5.1.1 11:21:56 elasticsearch==7.17.9 11:21:56 elasticsearch-dsl==7.4.1 11:21:56 enum34==1.1.10 11:21:56 idna==3.6 11:21:56 importlib-resources==5.4.0 11:21:56 ipaddr==2.2.0 11:21:56 isodate==0.6.1 11:21:56 jmespath==0.10.0 11:21:56 jsonpatch==1.32 11:21:56 jsonpath-rw==1.4.0 11:21:56 jsonpointer==2.3 11:21:56 lxml==5.1.0 11:21:56 netaddr==0.8.0 11:21:56 netifaces==0.11.0 11:21:56 odltools==0.1.28 11:21:56 paramiko==3.4.0 11:21:56 pkg_resources==0.0.0 11:21:56 ply==3.11 11:21:56 pyang==2.6.0 11:21:56 pyangbind==0.8.1 11:21:56 pycparser==2.21 11:21:56 pyhocon==0.3.60 11:21:56 PyNaCl==1.5.0 11:21:56 pyparsing==3.1.2 11:21:56 python-dateutil==2.9.0.post0 11:21:56 regex==2023.8.8 11:21:56 requests==2.27.1 11:21:56 robotframework==6.1.1 11:21:56 robotframework-httplibrary==0.4.2 11:21:56 robotframework-pythonlibcore==3.0.0 11:21:56 robotframework-requests==0.9.4 11:21:56 robotframework-selenium2library==3.0.0 11:21:56 robotframework-seleniumlibrary==5.1.3 11:21:56 robotframework-sshlibrary==3.8.0 11:21:56 scapy==2.5.0 11:21:56 scp==0.14.5 11:21:56 selenium==3.141.0 11:21:56 six==1.16.0 11:21:56 soupsieve==2.3.2.post1 11:21:56 urllib3==1.26.18 11:21:56 waitress==2.0.0 11:21:56 WebOb==1.8.7 11:21:56 WebTest==3.0.0 11:21:56 zipp==3.6.0 11:21:56 ++ mkdir -p /tmp/tmp.JMZCaaTPLY/src/onap 11:21:56 ++ rm -rf /tmp/tmp.JMZCaaTPLY/src/onap/testsuite 11:21:56 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 11:22:02 ++ echo 'Installing python confluent-kafka library' 11:22:02 Installing python confluent-kafka library 11:22:02 ++ python3 -m pip install -qq confluent-kafka 11:22:03 ++ echo 'Uninstall docker-py and reinstall docker.' 11:22:03 Uninstall docker-py and reinstall docker. 11:22:03 ++ python3 -m pip uninstall -y -qq docker 11:22:03 ++ python3 -m pip install -U -qq docker 11:22:04 ++ python3 -m pip -qq freeze 11:22:05 bcrypt==4.0.1 11:22:05 beautifulsoup4==4.12.3 11:22:05 bitarray==2.9.2 11:22:05 certifi==2024.2.2 11:22:05 cffi==1.15.1 11:22:05 charset-normalizer==2.0.12 11:22:05 confluent-kafka==2.3.0 11:22:05 cryptography==40.0.2 11:22:05 decorator==5.1.1 11:22:05 deepdiff==5.7.0 11:22:05 dnspython==2.2.1 11:22:05 docker==5.0.3 11:22:05 elasticsearch==7.17.9 11:22:05 elasticsearch-dsl==7.4.1 11:22:05 enum34==1.1.10 11:22:05 future==1.0.0 11:22:05 idna==3.6 11:22:05 importlib-resources==5.4.0 11:22:05 ipaddr==2.2.0 11:22:05 isodate==0.6.1 11:22:05 Jinja2==3.0.3 11:22:05 jmespath==0.10.0 11:22:05 jsonpatch==1.32 11:22:05 jsonpath-rw==1.4.0 11:22:05 jsonpointer==2.3 11:22:05 kafka-python==2.0.2 11:22:05 lxml==5.1.0 11:22:05 MarkupSafe==2.0.1 11:22:05 more-itertools==5.0.0 11:22:05 netaddr==0.8.0 11:22:05 netifaces==0.11.0 11:22:05 odltools==0.1.28 11:22:05 ordered-set==4.0.2 11:22:05 paramiko==3.4.0 11:22:05 pbr==6.0.0 11:22:05 pkg_resources==0.0.0 11:22:05 ply==3.11 11:22:05 protobuf==3.19.6 11:22:05 pyang==2.6.0 11:22:05 pyangbind==0.8.1 11:22:05 pycparser==2.21 11:22:05 pyhocon==0.3.60 11:22:05 PyNaCl==1.5.0 11:22:05 pyparsing==3.1.2 11:22:05 python-dateutil==2.9.0.post0 11:22:05 PyYAML==6.0.1 11:22:05 regex==2023.8.8 11:22:05 requests==2.27.1 11:22:05 robotframework==6.1.1 11:22:05 robotframework-httplibrary==0.4.2 11:22:05 robotframework-onap==0.6.0.dev105 11:22:05 robotframework-pythonlibcore==3.0.0 11:22:05 robotframework-requests==0.9.4 11:22:05 robotframework-selenium2library==3.0.0 11:22:05 robotframework-seleniumlibrary==5.1.3 11:22:05 robotframework-sshlibrary==3.8.0 11:22:05 robotlibcore-temp==1.0.2 11:22:05 scapy==2.5.0 11:22:05 scp==0.14.5 11:22:05 selenium==3.141.0 11:22:05 six==1.16.0 11:22:05 soupsieve==2.3.2.post1 11:22:05 urllib3==1.26.18 11:22:05 waitress==2.0.0 11:22:05 WebOb==1.8.7 11:22:05 websocket-client==1.3.1 11:22:05 WebTest==3.0.0 11:22:05 zipp==3.6.0 11:22:05 ++ uname 11:22:05 ++ grep -q Linux 11:22:05 ++ sudo apt-get -y -qq install libxml2-utils 11:22:05 + load_set 11:22:05 + _setopts=ehuxB 11:22:05 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 11:22:05 ++ tr : ' ' 11:22:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:05 + set +o braceexpand 11:22:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:05 + set +o hashall 11:22:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:05 + set +o interactive-comments 11:22:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:05 + set +o nounset 11:22:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:05 + set +o xtrace 11:22:05 ++ echo ehuxB 11:22:05 ++ sed 's/./& /g' 11:22:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:22:05 + set +e 11:22:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:22:05 + set +h 11:22:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:22:05 + set +u 11:22:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:22:05 + set +x 11:22:05 + source_safely /tmp/tmp.JMZCaaTPLY/bin/activate 11:22:05 + '[' -z /tmp/tmp.JMZCaaTPLY/bin/activate ']' 11:22:05 + relax_set 11:22:05 + set +e 11:22:05 + set +o pipefail 11:22:05 + . /tmp/tmp.JMZCaaTPLY/bin/activate 11:22:05 ++ deactivate nondestructive 11:22:05 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ']' 11:22:05 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:22:05 ++ export PATH 11:22:05 ++ unset _OLD_VIRTUAL_PATH 11:22:05 ++ '[' -n '' ']' 11:22:05 ++ '[' -n /bin/bash -o -n '' ']' 11:22:05 ++ hash -r 11:22:05 ++ '[' -n '' ']' 11:22:05 ++ unset VIRTUAL_ENV 11:22:05 ++ '[' '!' nondestructive = nondestructive ']' 11:22:05 ++ VIRTUAL_ENV=/tmp/tmp.JMZCaaTPLY 11:22:05 ++ export VIRTUAL_ENV 11:22:05 ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:22:05 ++ PATH=/tmp/tmp.JMZCaaTPLY/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin 11:22:05 ++ export PATH 11:22:05 ++ '[' -n '' ']' 11:22:05 ++ '[' -z '' ']' 11:22:05 ++ _OLD_VIRTUAL_PS1='(tmp.JMZCaaTPLY) ' 11:22:05 ++ '[' 'x(tmp.JMZCaaTPLY) ' '!=' x ']' 11:22:05 ++ PS1='(tmp.JMZCaaTPLY) (tmp.JMZCaaTPLY) ' 11:22:05 ++ export PS1 11:22:05 ++ '[' -n /bin/bash -o -n '' ']' 11:22:05 ++ hash -r 11:22:05 + load_set 11:22:05 + _setopts=hxB 11:22:05 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:22:05 ++ tr : ' ' 11:22:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:05 + set +o braceexpand 11:22:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:05 + set +o hashall 11:22:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:05 + set +o interactive-comments 11:22:05 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:22:05 + set +o xtrace 11:22:05 ++ echo hxB 11:22:05 ++ sed 's/./& /g' 11:22:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:22:05 + set +h 11:22:05 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:22:05 + set +x 11:22:05 + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 11:22:05 + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests 11:22:05 + export TEST_OPTIONS= 11:22:05 + TEST_OPTIONS= 11:22:05 ++ mktemp -d 11:22:05 + WORKDIR=/tmp/tmp.VFWPfKpnne 11:22:05 + cd /tmp/tmp.VFWPfKpnne 11:22:05 + docker login -u docker -p docker nexus3.onap.org:10001 11:22:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:22:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:22:05 Configure a credential helper to remove this warning. See 11:22:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:22:05 11:22:05 Login Succeeded 11:22:05 + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:22:05 + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:22:05 + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' 11:22:05 Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:22:05 + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:22:05 + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:22:05 + relax_set 11:22:05 + set +e 11:22:05 + set +o pipefail 11:22:05 + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh 11:22:05 ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh 11:22:05 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:22:05 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview 11:22:05 +++ GERRIT_BRANCH=master 11:22:05 +++ echo GERRIT_BRANCH=master 11:22:05 GERRIT_BRANCH=master 11:22:05 +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models 11:22:06 +++ mkdir /w/workspace/policy-api-master-project-csit-api/models 11:22:06 +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models 11:22:06 Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... 11:22:06 +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 11:22:06 +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies 11:22:06 +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:22:06 +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:22:06 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:22:06 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:22:06 ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana 11:22:06 +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:22:06 +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 11:22:06 +++ grafana=false 11:22:06 +++ gui=false 11:22:06 +++ [[ 2 -gt 0 ]] 11:22:06 +++ key=api 11:22:06 +++ case $key in 11:22:06 +++ echo api 11:22:06 api 11:22:06 +++ component=api 11:22:06 +++ shift 11:22:06 +++ [[ 1 -gt 0 ]] 11:22:06 +++ key=--grafana 11:22:06 +++ case $key in 11:22:06 +++ grafana=true 11:22:06 +++ shift 11:22:06 +++ [[ 0 -gt 0 ]] 11:22:06 +++ cd /w/workspace/policy-api-master-project-csit-api/compose 11:22:06 +++ echo 'Configuring docker compose...' 11:22:06 Configuring docker compose... 11:22:06 +++ source export-ports.sh 11:22:06 +++ source get-versions.sh 11:22:08 +++ '[' -z api ']' 11:22:08 +++ '[' -n api ']' 11:22:08 +++ '[' api == logs ']' 11:22:08 +++ '[' true = true ']' 11:22:08 +++ echo 'Starting api application with Grafana' 11:22:08 Starting api application with Grafana 11:22:08 +++ docker-compose up -d api grafana 11:22:09 Creating network "compose_default" with the default driver 11:22:09 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 11:22:09 10.10.2: Pulling from mariadb 11:22:14 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 11:22:14 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 11:22:14 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT)... 11:22:15 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator 11:22:19 Digest: sha256:0199fbc8d522d470f3560bff9f935d19e3a1cda5d8c37457053c4708a1ce3230 11:22:19 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT 11:22:19 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT)... 11:22:19 3.1.2-SNAPSHOT: Pulling from onap/policy-api 11:22:23 Digest: sha256:fdc9aa26830be0af882248f5f576f0e9466b8e17ff432e8618d01432efa85803 11:22:23 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT 11:22:23 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 11:22:23 latest: Pulling from prom/prometheus 11:22:26 Digest: sha256:5ccad477d0057e62a7cd1981ffcc43785ac10c5a35522dc207466ff7e7ec845f 11:22:26 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 11:22:26 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 11:22:26 latest: Pulling from grafana/grafana 11:22:31 Digest: sha256:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 11:22:31 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 11:22:31 Creating prometheus ... 11:22:31 Creating mariadb ... 11:22:52 Creating prometheus ... done 11:22:52 Creating grafana ... 11:22:53 Creating grafana ... done 11:22:54 Creating mariadb ... done 11:22:54 Creating policy-db-migrator ... 11:22:55 Creating policy-db-migrator ... done 11:22:55 Creating policy-api ... 11:22:56 Creating policy-api ... done 11:22:56 +++ echo 'Prometheus server: http://localhost:30259' 11:22:56 Prometheus server: http://localhost:30259 11:22:56 +++ echo 'Grafana server: http://localhost:30269' 11:22:56 Grafana server: http://localhost:30269 11:22:56 +++ cd /w/workspace/policy-api-master-project-csit-api 11:22:56 ++ sleep 10 11:23:06 ++ unset http_proxy https_proxy 11:23:06 ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 11:23:06 Waiting for REST to come up on localhost port 30002... 11:23:06 NAMES STATUS 11:23:06 policy-api Up 10 seconds 11:23:06 policy-db-migrator Up 11 seconds 11:23:06 grafana Up 13 seconds 11:23:06 mariadb Up 11 seconds 11:23:06 prometheus Up 14 seconds 11:23:12 NAMES STATUS 11:23:12 policy-api Up 15 seconds 11:23:12 policy-db-migrator Up 16 seconds 11:23:12 grafana Up 18 seconds 11:23:12 mariadb Up 17 seconds 11:23:12 prometheus Up 19 seconds 11:23:17 NAMES STATUS 11:23:17 policy-api Up 20 seconds 11:23:17 policy-db-migrator Up 21 seconds 11:23:17 grafana Up 23 seconds 11:23:17 mariadb Up 22 seconds 11:23:17 prometheus Up 24 seconds 11:23:22 NAMES STATUS 11:23:22 policy-api Up 25 seconds 11:23:22 grafana Up 28 seconds 11:23:22 mariadb Up 27 seconds 11:23:22 prometheus Up 29 seconds 11:23:27 NAMES STATUS 11:23:27 policy-api Up 30 seconds 11:23:27 grafana Up 33 seconds 11:23:27 mariadb Up 32 seconds 11:23:27 prometheus Up 34 seconds 11:23:32 NAMES STATUS 11:23:32 policy-api Up 35 seconds 11:23:32 grafana Up 38 seconds 11:23:32 mariadb Up 37 seconds 11:23:32 prometheus Up 39 seconds 11:23:32 ++ export 'SUITES=api-test.robot 11:23:32 api-slas.robot' 11:23:32 ++ SUITES='api-test.robot 11:23:32 api-slas.robot' 11:23:32 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:23:32 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:23:32 + load_set 11:23:32 + _setopts=hxB 11:23:32 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:23:32 ++ tr : ' ' 11:23:32 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:23:32 + set +o braceexpand 11:23:32 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:23:32 + set +o hashall 11:23:32 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:23:32 + set +o interactive-comments 11:23:32 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:23:32 + set +o xtrace 11:23:32 ++ echo hxB 11:23:32 ++ sed 's/./& /g' 11:23:32 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:23:32 + set +h 11:23:32 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:23:32 + set +x 11:23:32 + docker_stats 11:23:32 + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 11:23:32 ++ uname -s 11:23:32 + '[' Linux == Darwin ']' 11:23:32 + sh -c 'top -bn1 | head -3' 11:23:32 top - 11:23:32 up 4 min, 0 users, load average: 2.29, 1.08, 0.44 11:23:32 Tasks: 176 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 11:23:32 %Cpu(s): 9.4 us, 1.9 sy, 0.0 ni, 83.5 id, 5.1 wa, 0.0 hi, 0.0 si, 0.1 st 11:23:32 + echo 11:23:32 + sh -c 'free -h' 11:23:32 11:23:32 total used free shared buff/cache available 11:23:32 Mem: 31G 1.4G 25G 1.0M 4.2G 29G 11:23:32 Swap: 1.0G 0B 1.0G 11:23:32 + echo 11:23:32 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:23:32 11:23:32 NAMES STATUS 11:23:32 policy-api Up 35 seconds 11:23:32 grafana Up 38 seconds 11:23:32 mariadb Up 37 seconds 11:23:32 prometheus Up 39 seconds 11:23:32 + echo 11:23:32 + docker stats --no-stream 11:23:32 11:23:35 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:23:35 24395995f5f2 policy-api 0.11% 516.5MiB / 31.41GiB 1.61% 1e+03kB / 711kB 0B / 0B 56 11:23:35 5143c8beec48 grafana 0.02% 62.73MiB / 31.41GiB 0.20% 19kB / 3.51kB 0B / 24.9MB 20 11:23:35 520e058364c8 mariadb 0.02% 100.1MiB / 31.41GiB 0.31% 987kB / 1.18MB 10.9MB / 67.8MB 26 11:23:35 d1958668d51c prometheus 0.00% 18.57MiB / 31.41GiB 0.06% 1.38kB / 0B 131kB / 0B 12 11:23:35 + echo 11:23:35 11:23:35 + cd /tmp/tmp.VFWPfKpnne 11:23:35 + echo 'Reading the testplan:' 11:23:35 Reading the testplan: 11:23:35 + echo 'api-test.robot 11:23:35 api-slas.robot' 11:23:35 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 11:23:35 + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' 11:23:35 + cat testplan.txt 11:23:35 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot 11:23:35 /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 11:23:35 ++ xargs 11:23:35 + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot' 11:23:35 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:23:35 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:23:35 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:23:35 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:23:35 + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' 11:23:35 Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ... 11:23:35 + relax_set 11:23:35 + set +e 11:23:35 + set +o pipefail 11:23:35 + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot 11:23:35 ============================================================================== 11:23:35 api 11:23:35 ============================================================================== 11:23:35 api.Api-Test 11:23:35 ============================================================================== 11:23:35 Healthcheck :: Verify policy api health check | PASS | 11:23:35 ------------------------------------------------------------------------------ 11:23:38 RetrievePolicyTypes :: Retrieve all policy types | PASS | 11:23:38 ------------------------------------------------------------------------------ 11:23:39 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 11:23:39 ------------------------------------------------------------------------------ 11:23:39 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 11:23:39 ------------------------------------------------------------------------------ 11:23:40 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 11:23:40 ------------------------------------------------------------------------------ 11:23:40 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 11:23:40 ------------------------------------------------------------------------------ 11:23:41 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 11:23:41 ------------------------------------------------------------------------------ 11:23:41 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 11:23:41 ------------------------------------------------------------------------------ 11:23:41 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 11:23:41 ------------------------------------------------------------------------------ 11:23:42 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 11:23:42 ------------------------------------------------------------------------------ 11:23:42 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 11:23:42 ------------------------------------------------------------------------------ 11:23:43 RetrieveAllPolicies :: Retrieve all policies | PASS | 11:23:43 ------------------------------------------------------------------------------ 11:23:43 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 11:23:43 ------------------------------------------------------------------------------ 11:23:43 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 11:23:43 ------------------------------------------------------------------------------ 11:23:43 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 11:23:43 ------------------------------------------------------------------------------ 11:23:43 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 11:23:43 ------------------------------------------------------------------------------ 11:23:44 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 11:23:44 ------------------------------------------------------------------------------ 11:23:44 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 11:23:44 ------------------------------------------------------------------------------ 11:23:44 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 11:23:44 ------------------------------------------------------------------------------ 11:23:44 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 11:23:44 ------------------------------------------------------------------------------ 11:23:45 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 11:23:45 ------------------------------------------------------------------------------ 11:23:45 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 11:23:45 ------------------------------------------------------------------------------ 11:23:45 api.Api-Test | PASS | 11:23:45 22 tests, 22 passed, 0 failed 11:23:45 ============================================================================== 11:23:45 api.Api-Slas 11:23:45 ============================================================================== 11:24:45 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 11:24:45 ------------------------------------------------------------------------------ 11:24:45 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 11:24:45 ------------------------------------------------------------------------------ 11:24:45 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 11:24:45 ------------------------------------------------------------------------------ 11:24:45 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 11:24:45 ------------------------------------------------------------------------------ 11:24:45 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 11:24:45 ------------------------------------------------------------------------------ 11:24:45 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 11:24:45 ------------------------------------------------------------------------------ 11:24:45 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 11:24:45 ------------------------------------------------------------------------------ 11:24:45 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 11:24:45 ------------------------------------------------------------------------------ 11:24:45 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 11:24:45 ------------------------------------------------------------------------------ 11:24:45 api.Api-Slas | PASS | 11:24:45 9 tests, 9 passed, 0 failed 11:24:45 ============================================================================== 11:24:45 api | PASS | 11:24:45 31 tests, 31 passed, 0 failed 11:24:45 ============================================================================== 11:24:45 Output: /tmp/tmp.VFWPfKpnne/output.xml 11:24:45 Log: /tmp/tmp.VFWPfKpnne/log.html 11:24:45 Report: /tmp/tmp.VFWPfKpnne/report.html 11:24:45 + RESULT=0 11:24:45 + load_set 11:24:45 + _setopts=hxB 11:24:45 ++ tr : ' ' 11:24:45 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:24:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:24:45 + set +o braceexpand 11:24:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:24:45 + set +o hashall 11:24:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:24:45 + set +o interactive-comments 11:24:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:24:45 + set +o xtrace 11:24:45 ++ echo hxB 11:24:45 ++ sed 's/./& /g' 11:24:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:24:45 + set +h 11:24:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:24:45 + set +x 11:24:45 + echo 'RESULT: 0' 11:24:45 RESULT: 0 11:24:45 + exit 0 11:24:45 + on_exit 11:24:45 + rc=0 11:24:45 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] 11:24:45 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:24:45 NAMES STATUS 11:24:45 policy-api Up About a minute 11:24:45 grafana Up About a minute 11:24:45 mariadb Up About a minute 11:24:45 prometheus Up About a minute 11:24:45 + docker_stats 11:24:45 ++ uname -s 11:24:45 + '[' Linux == Darwin ']' 11:24:45 + sh -c 'top -bn1 | head -3' 11:24:45 top - 11:24:45 up 5 min, 0 users, load average: 0.96, 0.95, 0.44 11:24:45 Tasks: 171 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 11:24:45 %Cpu(s): 8.2 us, 1.6 sy, 0.0 ni, 85.9 id, 4.2 wa, 0.0 hi, 0.0 si, 0.0 st 11:24:45 + echo 11:24:45 11:24:45 + sh -c 'free -h' 11:24:45 total used free shared buff/cache available 11:24:45 Mem: 31G 2.2G 25G 1.0M 4.2G 28G 11:24:45 Swap: 1.0G 0B 1.0G 11:24:45 + echo 11:24:45 11:24:45 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:24:45 NAMES STATUS 11:24:45 policy-api Up About a minute 11:24:45 grafana Up About a minute 11:24:45 mariadb Up About a minute 11:24:45 prometheus Up About a minute 11:24:45 + echo 11:24:45 11:24:45 + docker stats --no-stream 11:24:48 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:24:48 24395995f5f2 policy-api 0.11% 1.232GiB / 31.41GiB 3.92% 7.01MB / 2.59MB 0B / 0B 56 11:24:48 5143c8beec48 grafana 0.02% 63.79MiB / 31.41GiB 0.20% 19.7kB / 4.5kB 0B / 24.9MB 20 11:24:48 520e058364c8 mariadb 0.01% 101.1MiB / 31.41GiB 0.31% 2.4MB / 7.05MB 10.9MB / 68.1MB 18 11:24:48 d1958668d51c prometheus 0.04% 24.41MiB / 31.41GiB 0.08% 90.1kB / 7.45kB 131kB / 0B 14 11:24:48 + echo 11:24:48 11:24:48 + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 11:24:48 + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' 11:24:48 + relax_set 11:24:48 + set +e 11:24:48 + set +o pipefail 11:24:48 + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh 11:24:48 ++ echo 'Shut down started!' 11:24:48 Shut down started! 11:24:48 ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' 11:24:48 ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose 11:24:48 ++ cd /w/workspace/policy-api-master-project-csit-api/compose 11:24:48 ++ source export-ports.sh 11:24:48 ++ source get-versions.sh 11:24:50 ++ echo 'Collecting logs from docker compose containers...' 11:24:50 Collecting logs from docker compose containers... 11:24:50 ++ docker-compose logs 11:24:51 ++ cat docker_compose.log 11:24:51 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 11:24:51 policy-api | Waiting for mariadb port 3306... 11:24:51 policy-api | mariadb (172.17.0.3:3306) open 11:24:51 policy-api | Waiting for policy-db-migrator port 6824... 11:24:51 policy-api | policy-db-migrator (172.17.0.5:6824) open 11:24:51 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 11:24:51 policy-api | 11:24:51 policy-api | . ____ _ __ _ _ 11:24:51 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:24:51 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:24:51 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:24:51 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 11:24:51 policy-api | =========|_|==============|___/=/_/_/_/ 11:24:51 policy-api | :: Spring Boot :: (v3.1.8) 11:24:51 policy-api | 11:24:51 policy-api | [2024-03-27T11:23:21.295+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 34 (/app/api.jar started by policy in /opt/app/policy/api/bin) 11:24:51 policy-api | [2024-03-27T11:23:21.297+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 11:24:51 policy-api | [2024-03-27T11:23:23.260+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:24:51 policy-api | [2024-03-27T11:23:23.368+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 96 ms. Found 6 JPA repository interfaces. 11:24:51 policy-api | [2024-03-27T11:23:23.797+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 11:24:51 policy-api | [2024-03-27T11:23:23.797+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler 11:24:51 policy-api | [2024-03-27T11:23:24.466+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 11:24:51 policy-api | [2024-03-27T11:23:24.478+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 11:24:51 policy-api | [2024-03-27T11:23:24.480+00:00|INFO|StandardService|main] Starting service [Tomcat] 11:24:51 policy-api | [2024-03-27T11:23:24.480+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] 11:24:51 policy-api | [2024-03-27T11:23:24.575+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 11:24:51 policy-api | [2024-03-27T11:23:24.576+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3178 ms 11:24:51 policy-api | [2024-03-27T11:23:24.993+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 11:24:51 policy-api | [2024-03-27T11:23:25.070+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 11:24:51 policy-api | [2024-03-27T11:23:25.074+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 11:24:51 policy-api | [2024-03-27T11:23:25.122+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 11:24:51 policy-api | [2024-03-27T11:23:25.458+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 11:24:51 policy-api | [2024-03-27T11:23:25.476+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 11:24:51 policy-api | [2024-03-27T11:23:25.571+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 11:24:51 policy-api | [2024-03-27T11:23:25.573+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 11:24:51 policy-api | [2024-03-27T11:23:27.515+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 11:24:51 policy-api | [2024-03-27T11:23:27.520+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 11:24:51 policy-api | [2024-03-27T11:23:28.646+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:24:51 policy-api | [2024-03-27T11:23:29.442+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:24:51 policy-api | [2024-03-27T11:23:30.635+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 11:24:51 policy-api | [2024-03-27T11:23:30.841+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@5f967ad3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5c1348c6, org.springframework.security.web.context.SecurityContextHolderFilter@9bc10bd, org.springframework.security.web.header.HeaderWriterFilter@6e11d059, org.springframework.security.web.authentication.logout.LogoutFilter@56b5de49, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@79462469, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2e26841f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@36c6d53b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4f3eddc0, org.springframework.security.web.access.ExceptionTranslationFilter@1d123972, org.springframework.security.web.access.intercept.AuthorizationFilter@4bbb00a4] 11:24:51 policy-api | [2024-03-27T11:23:31.645+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 11:24:51 policy-api | [2024-03-27T11:23:31.735+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 11:24:51 policy-api | [2024-03-27T11:23:31.778+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 11:24:51 policy-api | [2024-03-27T11:23:31.798+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.27 seconds (process running for 11.891) 11:24:51 policy-api | [2024-03-27T11:23:35.535+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' 11:24:51 policy-api | [2024-03-27T11:23:35.536+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' 11:24:51 policy-api | [2024-03-27T11:23:35.537+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms 11:24:51 policy-api | [2024-03-27T11:23:38.963+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 11:24:51 policy-api | [] 11:24:51 policy-api | [2024-03-27T11:23:39.116+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 11:24:51 policy-api | [2024-03-27T11:23:39.494+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 11:24:51 policy-api | [2024-03-27T11:23:41.365+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 11:24:51 policy-api | [2024-03-27T11:23:43.784+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 11:24:51 policy-api | [2024-03-27T11:23:44.094+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 11:24:51 policy-api | [2024-03-27T11:23:44.353+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 11:24:51 policy-api | [2024-03-27T11:23:44.621+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 11:24:51 policy-api | [2024-03-27T11:23:44.877+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 11:24:51 policy-api | [2024-03-27T11:23:45.187+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802113423Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-03-27T11:22:53Z 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802329839Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.80233953Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.80234367Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.80234821Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.80235313Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.80235696Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.80236066Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.80236426Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.80236881Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802373531Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802377771Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802381821Z level=info msg=Target target=[all] 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802394391Z level=info msg="Path Home" path=/usr/share/grafana 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802397431Z level=info msg="Path Data" path=/var/lib/grafana 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802400351Z level=info msg="Path Logs" path=/var/log/grafana 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802403611Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802408152Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 11:24:51 grafana | logger=settings t=2024-03-27T11:22:53.802411582Z level=info msg="App mode production" 11:24:51 grafana | logger=sqlstore t=2024-03-27T11:22:53.80268767Z level=info msg="Connecting to DB" dbtype=sqlite3 11:24:51 grafana | logger=sqlstore t=2024-03-27T11:22:53.80270654Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.803295627Z level=info msg="Starting DB migrations" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.804204443Z level=info msg="Executing migration" id="create migration_log table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.805024378Z level=info msg="Migration successfully executed" id="create migration_log table" duration=819.575µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.844964327Z level=info msg="Executing migration" id="create user table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.846181182Z level=info msg="Migration successfully executed" id="create user table" duration=1.217135ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.851173429Z level=info msg="Executing migration" id="add unique index user.login" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.851937001Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=763.343µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.856168395Z level=info msg="Executing migration" id="add unique index user.email" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.856880136Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=711.501µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.862274764Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.862962073Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=685.5µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.866562699Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.867228369Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=665.32µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.87139228Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.874971725Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.579085ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.879888579Z level=info msg="Executing migration" id="create user table v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.887686777Z level=info msg="Migration successfully executed" id="create user table v2" duration=7.791958ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.891928992Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.892956351Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.028409ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.896708911Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.897732771Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.02339ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.903346466Z level=info msg="Executing migration" id="copy data_source v1 to v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.903783849Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=437.262µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.907547389Z level=info msg="Executing migration" id="Drop old table user_v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.908244269Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=691.369µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.912010139Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.913648387Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.638058ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.917281174Z level=info msg="Executing migration" id="Update user table charset" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.917322965Z level=info msg="Migration successfully executed" id="Update user table charset" duration=42.601µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.922249678Z level=info msg="Executing migration" id="Add last_seen_at column to user" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.923339361Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.089183ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.926761481Z level=info msg="Executing migration" id="Add missing user data" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.926972647Z level=info msg="Migration successfully executed" id="Add missing user data" duration=211.466µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.931088708Z level=info msg="Executing migration" id="Add is_disabled column to user" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.93220873Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.119742ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.935758334Z level=info msg="Executing migration" id="Add index user.login/user.email" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.936797955Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.038781ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.943185272Z level=info msg="Executing migration" id="Add is_service_account column to user" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.944957234Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.772763ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.948865548Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.958584522Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.718894ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.962140997Z level=info msg="Executing migration" id="Add uid column to user" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.96295653Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=815.453µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.966124763Z level=info msg="Executing migration" id="Update uid column values for users" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.966291578Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=168.255µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.970333167Z level=info msg="Executing migration" id="Add unique index user_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.971402377Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.06691ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.975876659Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.976326762Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=450.263µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.981604456Z level=info msg="Executing migration" id="create temp user table v1-7" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.9824185Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=812.344µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.988868548Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.98960783Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=738.392µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.993733611Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.994800472Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.066571ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:53.99915396Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.000291143Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.136813ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.020650437Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.021725876Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.074409ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.025847498Z level=info msg="Executing migration" id="Update temp_user table charset" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.025885339Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=39.101µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.029895369Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.030565947Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=670.168µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.034029861Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.034735731Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=709.64µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.03874191Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.039421149Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=679.139µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.042663367Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.043320026Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=656.069µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.047694845Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.050870821Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.175557ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.054212703Z level=info msg="Executing migration" id="create temp_user v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.055042295Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=827.482µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.058345815Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.058984423Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=638.378µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.062165969Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.062797687Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=630.128µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.067926357Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.068542734Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=614.107µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.072154833Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.072779729Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=624.317µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.076778099Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.077105448Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=327.199µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.080936922Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.081376434Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=439.092µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.084006146Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 11:24:51 policy-db-migrator | Waiting for mariadb port 3306... 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 11:24:51 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 11:24:51 policy-db-migrator | 321 blocks 11:24:51 policy-db-migrator | Preparing upgrade release version: 0800 11:24:51 policy-db-migrator | Preparing upgrade release version: 0900 11:24:51 policy-db-migrator | Preparing upgrade release version: 1000 11:24:51 policy-db-migrator | Preparing upgrade release version: 1100 11:24:51 policy-db-migrator | Preparing upgrade release version: 1200 11:24:51 policy-db-migrator | Preparing upgrade release version: 1300 11:24:51 policy-db-migrator | Done 11:24:51 policy-db-migrator | name version 11:24:51 policy-db-migrator | policyadmin 0 11:24:51 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 11:24:51 policy-db-migrator | upgrade: 0 -> 1300 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.084310774Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=304.418µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.087375678Z level=info msg="Executing migration" id="create star table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.087966844Z level=info msg="Migration successfully executed" id="create star table" duration=588.626µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.092389444Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.093017911Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=628.077µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.096677741Z level=info msg="Executing migration" id="create org table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.097318058Z level=info msg="Migration successfully executed" id="create org table v1" duration=640.027µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.100656739Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.101298977Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=642.067µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.105139382Z level=info msg="Executing migration" id="create org_user table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.105746008Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=606.267µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.110079175Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.110716243Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=639.698µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.114002472Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.114642539Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=639.427µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.117638121Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.118255478Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=616.517µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.121675942Z level=info msg="Executing migration" id="Update org table charset" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.121700082Z level=info msg="Migration successfully executed" id="Update org table charset" duration=23.561µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.126389909Z level=info msg="Executing migration" id="Update org_user table charset" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.12641366Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=23.781µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.130118931Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.130265405Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=146.374µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.134371936Z level=info msg="Executing migration" id="create dashboard table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.135051945Z level=info msg="Migration successfully executed" id="create dashboard table" duration=677.919µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.139957568Z level=info msg="Executing migration" id="add index dashboard.account_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.140619866Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=661.558µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.144715208Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.145941601Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.223943ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.149728474Z level=info msg="Executing migration" id="create dashboard_tag table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.150872635Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.143501ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.156225461Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.157173497Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=947.255µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.160402644Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.161427793Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.024559ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.164864926Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.173038098Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.172932ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.177971753Z level=info msg="Executing migration" id="create dashboard v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.178850446Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=878.463µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.182460314Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.183338319Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=878.345µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.186620558Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.187555253Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=936.495µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.192381494Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.192793516Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=411.351µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.196037904Z level=info msg="Executing migration" id="drop table dashboard_v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.196948378Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=910.104µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.200507536Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.200721102Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=212.865µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.207332391Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.211037962Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.703981ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.214843436Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.21683964Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.995364ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.220192591Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.222114563Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.921242ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.226898253Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.227835758Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=937.325µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.231264972Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.233615707Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.347774ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.23742136Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.238854598Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.434758ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.244727559Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.245592782Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=865.103µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.249372785Z level=info msg="Executing migration" id="Update dashboard table charset" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.249409886Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=38.271µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.252411687Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.252452908Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=42.821µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.256286043Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.259431399Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.138875ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.264814605Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.266923222Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.107637ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.270921971Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.273037989Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.115398ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.276576865Z level=info msg="Executing migration" id="Add column uid in dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.278658702Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.081167ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.28378559Z level=info msg="Executing migration" id="Update uid column values in dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.28409474Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=308.73µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.287512212Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.288518689Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.006587ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.291656895Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.292522929Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=867.114µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.297592946Z level=info msg="Executing migration" id="Update dashboard title length" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.297625497Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=33.221µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.300418613Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.301341909Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=926.326µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.304540165Z level=info msg="Executing migration" id="create dashboard_provisioning" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.305730787Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.190462ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.31168496Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.320575652Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.892203ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.324457857Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.325017172Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=560.355µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.328226819Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.328975611Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=746.611µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.334574323Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.336004421Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.427158ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.340246567Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.340699609Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=452.772µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.344512533Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.3451699Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=657.388µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.349278803Z level=info msg="Executing migration" id="Add check_sum column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.351484653Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.2055ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.356935201Z level=info msg="Executing migration" id="Add index for dashboard_title" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.357835785Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=900.464µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.362043159Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 11:24:51 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.36241569Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=372.471µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.366644185Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.367062636Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=415.761µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.373700807Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.374592281Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=890.874µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.378582059Z level=info msg="Executing migration" id="Add isPublic for dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.381005565Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.424336ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.388337665Z level=info msg="Executing migration" id="create data_source table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.389379343Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.041118ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.394827341Z level=info msg="Executing migration" id="add index data_source.account_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.395800778Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=973.337µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.399523639Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.400977678Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.454269ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.404829394Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.405991815Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.162701ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.411744422Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.412529853Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=783.941µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.416334547Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.42563857Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.304143ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.429046202Z level=info msg="Executing migration" id="create data_source table v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.430073401Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.026859ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.436512885Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.437401279Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=888.464µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.441433089Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.442824597Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.390858ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.447043132Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.448028549Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=987.177µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.455488382Z level=info msg="Executing migration" id="Add column with_credentials" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.457964309Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.475137ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.461388322Z level=info msg="Executing migration" id="Add secure json data column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.465247617Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.857995ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.469248286Z level=info msg="Executing migration" id="Update data_source table charset" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.469274657Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.311µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.474299263Z level=info msg="Executing migration" id="Update initial version to 1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.474595472Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=295.239µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.478684333Z level=info msg="Executing migration" id="Add read_only data column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.482554058Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.869896ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.486984529Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.487298467Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=313.878µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.493248949Z level=info msg="Executing migration" id="Update json_data with nulls" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.493510856Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=261.877µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.498194553Z level=info msg="Executing migration" id="Add uid column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.502018987Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.818204ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.506261873Z level=info msg="Executing migration" id="Update uid value" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.506539651Z level=info msg="Migration successfully executed" id="Update uid value" duration=276.808µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.510022225Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.510988712Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=966.267µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.515812972Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.516645406Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=832.714µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.520576662Z level=info msg="Executing migration" id="create api_key table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.521426785Z level=info msg="Migration successfully executed" id="create api_key table" duration=849.423µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.525227689Z level=info msg="Executing migration" id="add index api_key.account_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.526555645Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.327796ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.531355646Z level=info msg="Executing migration" id="add index api_key.key" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.532730843Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.375406ms 11:24:51 prometheus | ts=2024-03-27T11:22:52.873Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.536324401Z level=info msg="Executing migration" id="add index api_key.account_id_name" 11:24:51 mariadb | 2024-03-27 11:22:54+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:24:51 prometheus | ts=2024-03-27T11:22:52.873Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.0, branch=HEAD, revision=c05c15512acb675e3f6cd662a6727854e93fc024)" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.537181334Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=854.863µs 11:24:51 mariadb | 2024-03-27 11:22:55+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 11:24:51 prometheus | ts=2024-03-27T11:22:52.873Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@b5723e458358, date=20240319-10:54:45, tags=netgo,builtinassets,stringlabels)" 11:24:51 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.540898685Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 11:24:51 mariadb | 2024-03-27 11:22:55+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:24:51 prometheus | ts=2024-03-27T11:22:52.873Z 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))" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.541660266Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=761.541µs 11:24:51 mariadb | 2024-03-27 11:22:55+00:00 [Note] [Entrypoint]: Initializing database files 11:24:51 prometheus | ts=2024-03-27T11:22:52.873Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.547698911Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 11:24:51 mariadb | 2024-03-27 11:22:55 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:24:51 prometheus | ts=2024-03-27T11:22:52.873Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.548927813Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.231233ms 11:24:51 mariadb | 2024-03-27 11:22:55 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:24:51 prometheus | ts=2024-03-27T11:22:52.876Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.552881792Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 11:24:51 mariadb | 2024-03-27 11:22:55 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:24:51 prometheus | ts=2024-03-27T11:22:52.876Z caller=main.go:1129 level=info msg="Starting TSDB ..." 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.554184106Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.301645ms 11:24:51 mariadb | 11:24:51 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.559013958Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 11:24:51 prometheus | ts=2024-03-27T11:22:52.880Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 11:24:51 mariadb | 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.566016238Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.00148ms 11:24:51 prometheus | ts=2024-03-27T11:22:52.880Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 11:24:51 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.569632067Z level=info msg="Executing migration" id="create api_key table v2" 11:24:51 prometheus | ts=2024-03-27T11:22:52.884Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 11:24:51 mariadb | To do so, start the server, then issue the following command: 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.570448499Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=816.002µs 11:24:51 prometheus | ts=2024-03-27T11:22:52.885Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=86.835µs 11:24:51 mariadb | 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.574069437Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 11:24:51 prometheus | ts=2024-03-27T11:22:52.885Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 11:24:51 mariadb | '/usr/bin/mysql_secure_installation' 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.574871289Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=802.052µs 11:24:51 prometheus | ts=2024-03-27T11:22:52.886Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 11:24:51 mariadb | 11:24:51 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.614398574Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 11:24:51 prometheus | ts=2024-03-27T11:22:52.886Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=74.084µs wal_replay_duration=609.595µs wbl_replay_duration=270ns total_replay_duration=1.085771ms 11:24:51 mariadb | which will also give you the option of removing the test 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.615745411Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.345527ms 11:24:51 prometheus | ts=2024-03-27T11:22:52.890Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 11:24:51 mariadb | databases and anonymous user created by default. This is 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.619556765Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 11:24:51 prometheus | ts=2024-03-27T11:22:52.890Z caller=main.go:1153 level=info msg="TSDB started" 11:24:51 mariadb | strongly recommended for production servers. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.620404998Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=849.563µs 11:24:51 prometheus | ts=2024-03-27T11:22:52.890Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 11:24:51 mariadb | 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.623695718Z level=info msg="Executing migration" id="copy api_key v1 to v2" 11:24:51 prometheus | ts=2024-03-27T11:22:52.892Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.225019ms db_storage=2.041µs remote_storage=1.76µs web_handler=1.18µs query_engine=1.26µs scrape=369.251µs scrape_sd=147.859µs notify=30.761µs notify_sd=15.541µs rules=2µs tracing=7.131µs 11:24:51 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.624074038Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=375.66µs 11:24:51 prometheus | ts=2024-03-27T11:22:52.892Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 11:24:51 mariadb | 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.629047343Z level=info msg="Executing migration" id="Drop old table api_key_v1" 11:24:51 prometheus | ts=2024-03-27T11:22:52.892Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 11:24:51 mariadb | Please report any problems at https://mariadb.org/jira 11:24:51 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.630152553Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.1047ms 11:24:51 mariadb | 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.634545563Z level=info msg="Executing migration" id="Update api_key table charset" 11:24:51 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.634594124Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=50.741µs 11:24:51 mariadb | 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.638379047Z level=info msg="Executing migration" id="Add expires to api_key table" 11:24:51 mariadb | Consider joining MariaDB's strong and vibrant community: 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.642798778Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.41836ms 11:24:51 mariadb | https://mariadb.org/get-involved/ 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.64768328Z level=info msg="Executing migration" id="Add service account foreign key" 11:24:51 mariadb | 11:24:51 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.650735982Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.051602ms 11:24:51 mariadb | 2024-03-27 11:22:57+00:00 [Note] [Entrypoint]: Database files initialized 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.659560914Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) 11:24:51 mariadb | 2024-03-27 11:22:57+00:00 [Note] [Entrypoint]: Starting temporary server 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.659868492Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=309.908µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:22:57+00:00 [Note] [Entrypoint]: Waiting for server startup 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.662876064Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.665627268Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.750644ms 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.669151004Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 11:24:51 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: Number of transaction pools: 1 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.671774375Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.619781ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.675369243Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.676273258Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=903.415µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.679149737Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.679792624Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=640.788µs 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.684263735Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 11:24:51 policy-db-migrator | > upgrade 0450-pdpgroup.sql 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: Completed initialization of buffer pool 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.685355465Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.09108ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.688830019Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: 128 rollback segments are active. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.690176836Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.344447ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.693650471Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.694610837Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=959.576µs 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] InnoDB: log sequence number 46590; transaction id 14 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.699327915Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 11:24:51 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] Plugin 'FEEDBACK' is disabled. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.700797075Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.46899ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.704573888Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.704815394Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=237.816µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.708508545Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:22:57 0 [Note] mariadbd: ready for connections. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.708553646Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=48.552µs 11:24:51 policy-db-migrator | 11:24:51 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.71271753Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 11:24:51 policy-db-migrator | > upgrade 0470-pdp.sql 11:24:51 mariadb | 2024-03-27 11:22:58+00:00 [Note] [Entrypoint]: Temporary server started. 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.716994046Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.275825ms 11:24:51 mariadb | 2024-03-27 11:23:02+00:00 [Note] [Entrypoint]: Creating user policy_user 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.721521079Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 11:24:51 mariadb | 2024-03-27 11:23:02+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.724311055Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.789286ms 11:24:51 mariadb | 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.727946223Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 11:24:51 mariadb | 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.728056476Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=109.483µs 11:24:51 mariadb | 2024-03-27 11:23:02+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 11:24:51 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.731651774Z level=info msg="Executing migration" id="create quota table v1" 11:24:51 mariadb | 2024-03-27 11:23:02+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.732424666Z level=info msg="Migration successfully executed" id="create quota table v1" duration=772.582µs 11:24:51 mariadb | #!/bin/bash -xv 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.736846365Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) 11:24:51 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.737659607Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=814.592µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.741717038Z level=info msg="Executing migration" id="Update quota table charset" 11:24:51 policy-db-migrator | 11:24:51 mariadb | # 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.74176972Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=52.421µs 11:24:51 policy-db-migrator | 11:24:51 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.745824219Z level=info msg="Executing migration" id="create plugin_setting table" 11:24:51 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 11:24:51 mariadb | # you may not use this file except in compliance with the License. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.747188857Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.364638ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | # You may obtain a copy of the License at 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.751057952Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:24:51 mariadb | # 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.752534803Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.476511ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.757720244Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 11:24:51 policy-db-migrator | 11:24:51 mariadb | # 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.762526434Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.80936ms 11:24:51 policy-db-migrator | 11:24:51 mariadb | # Unless required by applicable law or agreed to in writing, software 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.766337218Z level=info msg="Executing migration" id="Update plugin_setting table charset" 11:24:51 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 11:24:51 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.766368089Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=31.831µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.770059499Z level=info msg="Executing migration" id="create session table" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:24:51 mariadb | # See the License for the specific language governing permissions and 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.771018675Z level=info msg="Migration successfully executed" id="create session table" duration=961.026µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | # limitations under the License. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.776622437Z level=info msg="Executing migration" id="Drop old table playlist table" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.776855684Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=228.966µs 11:24:51 policy-db-migrator | 11:24:51 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.781074039Z level=info msg="Executing migration" id="Drop old table playlist_item table" 11:24:51 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 11:24:51 mariadb | do 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.781288434Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=215.395µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.785016116Z level=info msg="Executing migration" id="create playlist table v2" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) 11:24:51 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.786165858Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.149192ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | done 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.790875745Z level=info msg="Executing migration" id="create playlist item table v2" 11:24:51 policy-db-migrator | 11:24:51 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.791733659Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=857.394µs 11:24:51 policy-db-migrator | 11:24:51 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.797000662Z level=info msg="Executing migration" id="Update playlist table charset" 11:24:51 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 11:24:51 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.797044654Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=48.801µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.800475117Z level=info msg="Executing migration" id="Update playlist_item table charset" 11:24:51 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.800517068Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=39.661µs 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) 11:24:51 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.80389177Z level=info msg="Executing migration" id="Add playlist column created_at" 11:24:51 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.808382322Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.490902ms 11:24:51 policy-db-migrator | 11:24:51 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.813089209Z level=info msg="Executing migration" id="Add playlist column updated_at" 11:24:51 policy-db-migrator | 11:24:51 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 11:24:51 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.816335348Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.245759ms 11:24:51 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.821921551Z level=info msg="Executing migration" id="drop preferences table v2" 11:24:51 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.822015543Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=94.423µs 11:24:51 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.827206763Z level=info msg="Executing migration" id="drop preferences table v3" 11:24:51 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.827324347Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=118.504µs 11:24:51 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.831159621Z level=info msg="Executing migration" id="create preferences table v3" 11:24:51 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 11:24:51 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.832399435Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.241424ms 11:24:51 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.8373517Z level=info msg="Executing migration" id="Update preferences table charset" 11:24:51 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.837391691Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=41.742µs 11:24:51 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.843182288Z level=info msg="Executing migration" id="Add column team_id in preferences" 11:24:51 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.848053731Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.871693ms 11:24:51 mariadb | 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.851768952Z level=info msg="Executing migration" id="Update team_id column values in preferences" 11:24:51 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.851986158Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=217.505µs 11:24:51 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.857304632Z level=info msg="Executing migration" id="Add column week_start in preferences" 11:24:51 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.860568501Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.261359ms 11:24:51 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.864217491Z level=info msg="Executing migration" id="Add column preferences.json_data" 11:24:51 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.867408058Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.188817ms 11:24:51 mariadb | 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08+00:00 [Note] [Entrypoint]: Stopping temporary server 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.870857041Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 11:24:51 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.870962364Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=105.933µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: FTS optimize thread exiting. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.874776297Z level=info msg="Executing migration" id="Add preferences index org_id" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Starting shutdown... 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.875733244Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=956.737µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.880963957Z level=info msg="Executing migration" id="Add preferences index user_id" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Buffer pool(s) dump completed at 240327 11:23:08 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.882169439Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.204662ms 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.886690452Z level=info msg="Executing migration" id="create alert table v1" 11:24:51 policy-db-migrator | > upgrade 0570-toscadatatype.sql 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Shutdown completed; log sequence number 324509; transaction id 298 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.888175642Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.48547ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] mariadbd: Shutdown complete 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.894708571Z level=info msg="Executing migration" id="add index alert org_id & id " 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) 11:24:51 mariadb | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.895645176Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=937.445µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08+00:00 [Note] [Entrypoint]: Temporary server stopped 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.900437397Z level=info msg="Executing migration" id="add index alert state" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.901612348Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.174592ms 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.905997448Z level=info msg="Executing migration" id="add index alert dashboard_id" 11:24:51 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 11:24:51 mariadb | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.90719426Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.196892ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.91235957Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.913366728Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.007017ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Number of transaction pools: 1 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.917527661Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.918783965Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.255844ms 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.922520416Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 11:24:51 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.923315529Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=795.003µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.927841491Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.937593077Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.750866ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Completed initialization of buffer pool 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.94176967Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.942508431Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=738.881µs 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: 128 rollback segments are active. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.948804252Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" 11:24:51 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.949644074Z 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=839.992µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.954804605Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: log sequence number 324509; transaction id 299 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.955150444Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=341.039µs 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.961400464Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] Plugin 'FEEDBACK' is disabled. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.962186576Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=786.152µs 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.968924429Z level=info msg="Executing migration" id="create alert_notification table v1" 11:24:51 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.969951497Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.029308ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] Server socket created on IP: '0.0.0.0'. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.976119565Z level=info msg="Executing migration" id="Add column is_default" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] Server socket created on IP: '::'. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.979810585Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.69045ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] mariadbd: ready for connections. 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.986954429Z level=info msg="Executing migration" id="Add column frequency" 11:24:51 policy-db-migrator | 11:24:51 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.990473676Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.520957ms 11:24:51 policy-db-migrator | 11:24:51 mariadb | 2024-03-27 11:23:08 0 [Note] InnoDB: Buffer pool(s) load completed at 240327 11:23:08 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.993279542Z level=info msg="Executing migration" id="Add column send_reminder" 11:24:51 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 11:24:51 mariadb | 2024-03-27 11:23:08 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:54.996778817Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.498925ms 11:24:51 policy-db-migrator | -------------- 11:24:51 mariadb | 2024-03-27 11:23:08 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.005549555Z level=info msg="Executing migration" id="Add column disable_resolve_message" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.009270397Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.723372ms 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.014754957Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.015868478Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.112901ms 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.021297956Z level=info msg="Executing migration" id="Update alert table charset" 11:24:51 policy-db-migrator | > upgrade 0630-toscanodetype.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.021328257Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=30.991µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.029255944Z level=info msg="Executing migration" id="Update alert_notification table charset" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.029283914Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=30.721µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.03753764Z level=info msg="Executing migration" id="create notification_journal table v1" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.039103362Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.557962ms 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.044066448Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 11:24:51 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.044773297Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=708.499µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.050841733Z level=info msg="Executing migration" id="drop alert_notification_journal" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.051439369Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=594.896µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.057105605Z level=info msg="Executing migration" id="create alert_notification_state table v1" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.058531934Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.418008ms 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.064886287Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.066675446Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.788809ms 11:24:51 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.072350051Z level=info msg="Executing migration" id="Add for to alert table" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.076102274Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.751802ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.082407477Z level=info msg="Executing migration" id="Add column uid in alert_notification" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.086078817Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.67112ms 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.090770226Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.091028473Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=258.597µs 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.09462019Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 11:24:51 policy-db-migrator | > upgrade 0660-toscaparameter.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.095517014Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=898.484µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.101379935Z level=info msg="Executing migration" id="Remove unique index org_id_name" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.103294757Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.914132ms 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.11032574Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.114229126Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.902866ms 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.119173312Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 11:24:51 policy-db-migrator | > upgrade 0670-toscapolicies.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.119349647Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=176.034µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.12495811Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.125984598Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.026597ms 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.130214564Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.131213311Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=997.677µs 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.136373342Z level=info msg="Executing migration" id="Drop old annotation table v4" 11:24:51 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.136464435Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=90.292µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.142595752Z level=info msg="Executing migration" id="create annotation table v5" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.143464895Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=869.513µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.14726638Z level=info msg="Executing migration" id="add index annotation 0 v3" 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.148163714Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=896.534µs 11:24:51 policy-db-migrator | > upgrade 0690-toscapolicy.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.152645627Z level=info msg="Executing migration" id="add index annotation 1 v3" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.153957812Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.312865ms 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.158899658Z level=info msg="Executing migration" id="add index annotation 2 v3" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.159833453Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=933.575µs 11:24:51 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.164026268Z level=info msg="Executing migration" id="add index annotation 3 v3" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.165018855Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=992.007µs 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.169403705Z level=info msg="Executing migration" id="add index annotation 4 v3" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.176008556Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=6.602111ms 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.182988886Z level=info msg="Executing migration" id="Update annotation table charset" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.183061828Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=76.982µs 11:24:51 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.186635926Z level=info msg="Executing migration" id="Add column region_id to annotation table" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.190430089Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.793373ms 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.194396299Z level=info msg="Executing migration" id="Drop category_id index" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.195210241Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=813.572µs 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.198276234Z level=info msg="Executing migration" id="Add column tags to annotation table" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.202379006Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.102642ms 11:24:51 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.206197451Z level=info msg="Executing migration" id="Create annotation_tag table v2" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.20688666Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=688.908µs 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.210758315Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.211694881Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=935.976µs 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.215177806Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.215988368Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=810.102µs 11:24:51 policy-db-migrator | > upgrade 0730-toscaproperty.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.22007757Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.231978596Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.900556ms 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.23616832Z level=info msg="Executing migration" id="Create annotation_tag table v3" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.236648744Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=481.084µs 11:24:51 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.240824647Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.24168038Z 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=856.783µs 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.245337241Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.245610088Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=272.857µs 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.248920489Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.249434793Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=514.204µs 11:24:51 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.252869706Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.253127313Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=258.047µs 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.257703199Z level=info msg="Executing migration" id="Add created time to annotation table" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.261922245Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.219626ms 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.264969178Z level=info msg="Executing migration" id="Add updated time to annotation table" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.269190283Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.220795ms 11:24:51 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.273629345Z level=info msg="Executing migration" id="Add index for created in annotation table" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.275113055Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.48616ms 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.279823513Z level=info msg="Executing migration" id="Add index for updated in annotation table" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.280629295Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=807.132µs 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.286202688Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.286414253Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=211.975µs 11:24:51 policy-db-migrator | > upgrade 0770-toscarequirement.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.289779916Z level=info msg="Executing migration" id="Add epoch_end column" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.296690695Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.909929ms 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.306258176Z level=info msg="Executing migration" id="Add index for epoch_end" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.308555189Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=2.295723ms 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.316556958Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.316718382Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=161.914µs 11:24:51 policy-db-migrator | > upgrade 0780-toscarequirements.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.320258569Z level=info msg="Executing migration" id="Move region to single row" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.32063213Z level=info msg="Migration successfully executed" id="Move region to single row" duration=376.871µs 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.324495075Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.325486162Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=994.987µs 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.328907476Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.329723188Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=815.702µs 11:24:51 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.335365772Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.336327438Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=961.516µs 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.340331028Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.341204662Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=870.304µs 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.346667261Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.347494473Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=824.032µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.354439654Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 11:24:51 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.3557629Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.323086ms 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.366217086Z level=info msg="Executing migration" id="Increase tags column to length 4096" 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.366317918Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=99.142µs 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.372088826Z level=info msg="Executing migration" id="create test_data table" 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.37332401Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.235184ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.423292836Z level=info msg="Executing migration" id="create dashboard_version table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.424758226Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.46605ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.431163841Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.432977211Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.81887ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.436728943Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.437691589Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=962.156µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.445311298Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.445590225Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=279.717µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.451435795Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.451999371Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=563.696µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.454946932Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.455041205Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=94.912µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.46003609Z level=info msg="Executing migration" id="create team table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.461414458Z level=info msg="Migration successfully executed" id="create team table" duration=1.378098ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.466652312Z level=info msg="Executing migration" id="add index team.org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.46807167Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.419828ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.472640716Z level=info msg="Executing migration" id="add unique index team_org_id_name" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.473987622Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.348876ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.483139203Z level=info msg="Executing migration" id="Add column uid in team" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.490318008Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.182305ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.494634897Z level=info msg="Executing migration" id="Update uid column values in team" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.494964046Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=323.989µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.499419127Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.500536188Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.117141ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.504925858Z level=info msg="Executing migration" id="create team member table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.505804912Z level=info msg="Migration successfully executed" id="create team member table" duration=879.475µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.514662524Z level=info msg="Executing migration" id="add index team_member.org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.516527476Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.855041ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.521895102Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.52366547Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.769359ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.528266227Z level=info msg="Executing migration" id="add index team_member.team_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.529250413Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=986.496µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.534566228Z level=info msg="Executing migration" id="Add column email to team table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.539437652Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.869394ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.551389339Z level=info msg="Executing migration" id="Add column external to team_member table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.559023947Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.632359ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.562709558Z level=info msg="Executing migration" id="Add column permission to team_member table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.566177492Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=3.467494ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.572276679Z level=info msg="Executing migration" id="create dashboard acl table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.573439732Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.162692ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.578439748Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.580131144Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.701076ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.587401543Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.589059118Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.660185ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.596321837Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.59789853Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.576123ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.602248469Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.603909624Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.661915ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.609086986Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.610070443Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=981.577µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.616815737Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.618419721Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.601024ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.625395511Z level=info msg="Executing migration" id="add index dashboard_permission" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.627058487Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.662646ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.636120565Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.636917976Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=797.471µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.642274083Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0820-toscatrigger.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.642741906Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=467.333µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.646601931Z level=info msg="Executing migration" id="create tag table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.647847535Z level=info msg="Migration successfully executed" id="create tag table" duration=1.244814ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.65532566Z level=info msg="Executing migration" id="add index tag.key_value" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.65675911Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.432719ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.662474046Z level=info msg="Executing migration" id="create login attempt table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.664144251Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.669635ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.672611802Z level=info msg="Executing migration" id="add index login_attempt.username" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.674889645Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=2.277933ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.680287742Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.681242028Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=955.126µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.687023616Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.701476282Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.454656ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.705629265Z level=info msg="Executing migration" id="create login_attempt v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.706292313Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=663.188µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.710292223Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.711226338Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=934.505µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.719158065Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.719433483Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=275.598µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.725702354Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.726587059Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=888.345µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.731960385Z level=info msg="Executing migration" id="create user auth table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.733414195Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.44807ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.739525192Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.74054413Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.018768ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.744790806Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.744854908Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=64.662µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.752558249Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.758775438Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.217959ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.763545639Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.768637958Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.093829ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.772792792Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.777791478Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.998486ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.782616751Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.787672298Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.054127ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.794044893Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.795151733Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.10568ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.8005136Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.808655632Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.142683ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.812010894Z level=info msg="Executing migration" id="create server_lock table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.812766204Z level=info msg="Migration successfully executed" id="create server_lock table" duration=755.07µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.819307254Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.82028695Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=979.056µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.823981471Z level=info msg="Executing migration" id="create user auth token table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.824793354Z level=info msg="Migration successfully executed" id="create user auth token table" duration=811.673µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.831382194Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.832598116Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.215282ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.841727857Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.842551249Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=824.702µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.851176555Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.853076957Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.904512ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.860477429Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0100-pdp.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 11:24:51 policy-db-migrator | JOIN pdpstatistics b 11:24:51 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 11:24:51 policy-db-migrator | SET a.id = b.id 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0210-sequence.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0220-sequence.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.867740218Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.264709ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.87407326Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.874885452Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=808.892µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.88173799Z level=info msg="Executing migration" id="create cache_data table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.883932431Z level=info msg="Migration successfully executed" id="create cache_data table" duration=2.18448ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.892801903Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.894292933Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.48778ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.900610147Z level=info msg="Executing migration" id="create short_url table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.901984994Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.374707ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.945462903Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.947025555Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.564052ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.959223689Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.959495377Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=275.568µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.965655475Z level=info msg="Executing migration" id="delete alert_definition table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.965805469Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=146.114µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.972881422Z level=info msg="Executing migration" id="recreate alert_definition table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.974011593Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.130501ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.982338571Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.984456259Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=2.117298ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.991192223Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.992879419Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.687116ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.999087019Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:55.999328585Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=241.306µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.004133983Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.005624892Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.491429ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.016523157Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.018279608Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.756911ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.022608727Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.023978979Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.369922ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.03143757Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.033850666Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=2.408566ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.040351886Z level=info msg="Executing migration" id="Add column paused in alert_definition" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.046094278Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.743442ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.056862575Z level=info msg="Executing migration" id="drop alert_definition table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.058889442Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=2.026147ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.067134682Z level=info msg="Executing migration" id="delete alert_definition_version table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.067302716Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=169.384µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.07398387Z level=info msg="Executing migration" id="recreate alert_definition_version table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.075645588Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.661168ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.079706722Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.081929742Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=2.22401ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.090810577Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.091940983Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.130156ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.096949328Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.09704057Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=90.002µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.104901641Z level=info msg="Executing migration" id="drop alert_definition_version table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.105614957Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=711.186µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.111730858Z level=info msg="Executing migration" id="create alert_instance table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.112730431Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=999.283µs 11:24:51 policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0120-toscatrigger.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0140-toscaparameter.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0150-toscaproperty.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0100-upgrade.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | select 'upgrade to 1100 completed' as msg 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | msg 11:24:51 policy-db-migrator | upgrade to 1100 completed 11:24:51 policy-db-migrator | 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.117057101Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.118736199Z 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.678148ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.127694816Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.129858925Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=2.160129ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.137292096Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.143507479Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.213983ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.189253141Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.190879608Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.631507ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.195676448Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.197190932Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.517114ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.205041792Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.230831764Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=25.786641ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.234538089Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.258190061Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.652082ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.262428529Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.263121584Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=693.375µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.268717773Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.269771247Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.053013ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.279073261Z level=info msg="Executing migration" id="add current_reason column related to current_state" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.284819642Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.746512ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.289199382Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.294731139Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.532047ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.298103667Z level=info msg="Executing migration" id="create alert_rule table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.299094639Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=990.692µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.30650684Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.307526243Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.019023ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.314258447Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.315295291Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.036454ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.320710985Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.32181885Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.104545ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.330257144Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.330395877Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=139.353µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.339443874Z level=info msg="Executing migration" id="add column for to alert_rule" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.345484842Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.041208ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.352605396Z level=info msg="Executing migration" id="add column annotations to alert_rule" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.364833736Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=12.22869ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.371662623Z level=info msg="Executing migration" id="add column labels to alert_rule" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.380889245Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.226402ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.388464739Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.38984105Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.374672ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.394834204Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.396410281Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.577497ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.404713021Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.412834687Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.120726ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.418151449Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.425795604Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=7.646435ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.430471412Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 11:24:51 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0120-audit_sequence.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | TRUNCATE TABLE sequence 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP TABLE pdpstatistics 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | DROP TABLE statistics_sequence 11:24:51 policy-db-migrator | -------------- 11:24:51 policy-db-migrator | 11:24:51 policy-db-migrator | policyadmin: OK: upgrade (1300) 11:24:51 policy-db-migrator | name version 11:24:51 policy-db-migrator | policyadmin 1300 11:24:51 policy-db-migrator | ID script operation from_version to_version tag success atTime 11:24:51 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:09 11:24:51 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:09 11:24:51 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:09 11:24:51 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:09 11:24:51 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:09 11:24:51 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:09 11:24:51 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:09 11:24:51 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:09 11:24:51 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:10 11:24:51 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:10 11:24:51 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:10 11:24:51 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:10 11:24:51 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:10 11:24:51 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:11 11:24:51 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:11 11:24:51 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:11 11:24:51 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:11 11:24:51 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:12 11:24:51 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:12 11:24:51 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:12 11:24:51 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:12 11:24:51 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:12 11:24:51 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:12 11:24:51 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:12 11:24:51 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:13 11:24:51 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.431526876Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.056174ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.441477614Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.448412943Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.933999ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.451696328Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.458450613Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.761075ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.462827933Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.462936656Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=105.463µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.469021356Z level=info msg="Executing migration" id="create alert_rule_version table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.470252764Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.232728ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.474940142Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.476291762Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.35019ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.484438629Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.485870292Z 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.431403ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.493246901Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.493360794Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=113.112µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.500215021Z level=info msg="Executing migration" id="add column for to alert_rule_version" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.506829042Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.613311ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.512047032Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.518690434Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.641782ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.526484513Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.532950301Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.464918ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.538418197Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.545323575Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.904678ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.550697819Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.556898891Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.197821ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.562396217Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.562505319Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=108.592µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.566360257Z level=info msg="Executing migration" id=create_alert_configuration_table 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.567419042Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.056385ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.572699483Z level=info msg="Executing migration" id="Add column default in alert_configuration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.581109826Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.410963ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.584890143Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.584999475Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=109.063µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.592916237Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.602395494Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.477017ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.608471053Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.60919995Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=728.307µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.613965959Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.622440483Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.474974ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.629806312Z level=info msg="Executing migration" id=create_ngalert_configuration_table 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.630658702Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=851.659µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.63581462Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.636890904Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.075804ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.643466306Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.649726269Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.258983ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.658469319Z level=info msg="Executing migration" id="create provenance_type table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.660053996Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.588317ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.668192013Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 11:24:51 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:14 11:24:51 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:15 11:24:51 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:16 11:24:51 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:16 11:24:51 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2703241123090800u 1 2024-03-27 11:23:16 11:24:51 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:16 11:24:51 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:17 11:24:51 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:17 11:24:51 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:17 11:24:51 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:17 11:24:51 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:17 11:24:51 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:17 11:24:51 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:17 11:24:51 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2703241123090900u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2703241123091000u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2703241123091000u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2703241123091000u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2703241123091000u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2703241123091000u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2703241123091000u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2703241123091000u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2703241123091000u 1 2024-03-27 11:23:18 11:24:51 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2703241123091000u 1 2024-03-27 11:23:19 11:24:51 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2703241123091100u 1 2024-03-27 11:23:19 11:24:51 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2703241123091200u 1 2024-03-27 11:23:19 11:24:51 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2703241123091200u 1 2024-03-27 11:23:19 11:24:51 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2703241123091200u 1 2024-03-27 11:23:19 11:24:51 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2703241123091200u 1 2024-03-27 11:23:19 11:24:51 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2703241123091300u 1 2024-03-27 11:23:19 11:24:51 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2703241123091300u 1 2024-03-27 11:23:19 11:24:51 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2703241123091300u 1 2024-03-27 11:23:19 11:24:51 policy-db-migrator | policyadmin: OK @ 1300 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.669326888Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.134895ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.676162265Z level=info msg="Executing migration" id="create alert_image table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.677584918Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.422803ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.682963251Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.684980158Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=2.016727ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.692582492Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.692729555Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=151.934µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.701012435Z level=info msg="Executing migration" id=create_alert_configuration_history_table 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.702716304Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.706109ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.71474722Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.717446732Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=2.710663ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.724529964Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.727005111Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.734508123Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.735132208Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=626.625µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.739764503Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.741554555Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.765161ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.744887941Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.753532239Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.640058ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.762323061Z level=info msg="Executing migration" id="create library_element table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.763702943Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.382652ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.769060816Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.771048331Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.988745ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.77538217Z level=info msg="Executing migration" id="create library_element_connection table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.776461335Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.079515ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.782140475Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.783458526Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.318751ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.787006947Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.788313677Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.30678ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.792693277Z level=info msg="Executing migration" id="increase max description length to 2048" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.792763589Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=72.352µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.798171293Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.798346177Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=176.994µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.802065692Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.802609645Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=544.863µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.806146816Z level=info msg="Executing migration" id="create data_keys table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.807902525Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.755599ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.811790965Z level=info msg="Executing migration" id="create secrets table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.813642338Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.853053ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.820242269Z level=info msg="Executing migration" id="rename data_keys name column to id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.854082685Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=33.837786ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.857736508Z level=info msg="Executing migration" id="add name column into data_keys" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.865877625Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=8.135837ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.870119473Z level=info msg="Executing migration" id="copy data_keys id column values into name" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.87043667Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=319.777µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.876672583Z level=info msg="Executing migration" id="rename data_keys name column to label" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.909600418Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.936836ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.915210837Z level=info msg="Executing migration" id="rename data_keys id column back to name" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:56.946417202Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=31.208075ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.138946324Z level=info msg="Executing migration" id="create kv_store table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.140535017Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.599323ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.159387119Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.161036604Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.649125ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.174408287Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.174766487Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=361.59µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.187822592Z level=info msg="Executing migration" id="create permission table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.189228821Z level=info msg="Migration successfully executed" id="create permission table" duration=1.404999ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.202519201Z level=info msg="Executing migration" id="add unique index permission.role_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.204242498Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.723137ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.217242112Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.218883586Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.639174ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.229396192Z level=info msg="Executing migration" id="create role table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.2308055Z level=info msg="Migration successfully executed" id="create role table" duration=1.409148ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.245588722Z level=info msg="Executing migration" id="add column display_name" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.258973466Z level=info msg="Migration successfully executed" id="add column display_name" duration=13.383084ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.262138102Z level=info msg="Executing migration" id="add column group_name" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.267340644Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.201841ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.27016294Z level=info msg="Executing migration" id="add index role.org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.271106816Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=941.196µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.27459938Z level=info msg="Executing migration" id="add unique index role_org_id_name" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.275808204Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.208464ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.280688546Z level=info msg="Executing migration" id="add index role_org_id_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.281827117Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.138321ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.28487073Z level=info msg="Executing migration" id="create team role table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.286227446Z level=info msg="Migration successfully executed" id="create team role table" duration=1.356296ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.289786444Z level=info msg="Executing migration" id="add index team_role.org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.291551471Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.764137ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.297950835Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.299026375Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.07525ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.302625082Z level=info msg="Executing migration" id="add index team_role.team_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.304284378Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.658666ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.310988709Z level=info msg="Executing migration" id="create user role table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.312350997Z level=info msg="Migration successfully executed" id="create user role table" duration=1.362598ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.316306424Z level=info msg="Executing migration" id="add index user_role.org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.317917518Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.611094ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.323550741Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.324656141Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.10493ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.332978217Z level=info msg="Executing migration" id="add index user_role.user_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.334593922Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.616164ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.341234212Z level=info msg="Executing migration" id="create builtin role table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.342164857Z level=info msg="Migration successfully executed" id="create builtin role table" duration=929.715µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.346503485Z level=info msg="Executing migration" id="add index builtin_role.role_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.348402376Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.898831ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.352718734Z level=info msg="Executing migration" id="add index builtin_role.name" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.353913796Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.196112ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.360920927Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.369930541Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.010764ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.374730702Z level=info msg="Executing migration" id="add index builtin_role.org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.375817601Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.085189ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.382698059Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.384396814Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.697255ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.39489533Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.396556785Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.661645ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.402020924Z level=info msg="Executing migration" id="add unique index role.uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.40373464Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.710496ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.407553864Z level=info msg="Executing migration" id="create seed assignment table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.40887659Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.322166ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.417459403Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.41915618Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.696487ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.424597008Z level=info msg="Executing migration" id="add column hidden to role table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.430557279Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=5.962072ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.433464988Z level=info msg="Executing migration" id="permission kind migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.438944417Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.478999ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.443770948Z level=info msg="Executing migration" id="permission attribute migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.449227406Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.455978ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.4522813Z level=info msg="Executing migration" id="permission identifier migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.457784239Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.502339ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.460548134Z level=info msg="Executing migration" id="add permission identifier index" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.461309995Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=761.461µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.469241071Z level=info msg="Executing migration" id="add permission action scope role_id index" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.470053863Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=814.392µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.473900357Z level=info msg="Executing migration" id="remove permission role_id action scope index" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.474678589Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=708.499µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.477766223Z level=info msg="Executing migration" id="create query_history table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.478389079Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=623.026µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.483539629Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.48429181Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=751.441µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.487711772Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.487758364Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=47.142µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.490413306Z level=info msg="Executing migration" id="rbac disabled migrator" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.490440717Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=27.681µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.496353257Z level=info msg="Executing migration" id="teams permissions migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.496641105Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=287.788µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.499844752Z level=info msg="Executing migration" id="dashboard permissions" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.500215583Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=371.371µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.503200724Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.503699957Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=499.183µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.50822823Z level=info msg="Executing migration" id="drop managed folder create actions" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.508370984Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=142.454µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.513675998Z level=info msg="Executing migration" id="alerting notification permissions" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.513996037Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=320.029µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.516157555Z level=info msg="Executing migration" id="create query_history_star table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.516731712Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=573.837µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.519964579Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.520703799Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=738.72µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.525931341Z level=info msg="Executing migration" id="add column org_id in query_history_star" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.531510803Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=5.579132ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.534865554Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.534913355Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=47.931µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.538072701Z level=info msg="Executing migration" id="create correlation table v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.538846502Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=773.371µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.546044788Z level=info msg="Executing migration" id="add index correlations.uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.546813969Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=768.671µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.550571581Z level=info msg="Executing migration" id="add index correlations.source_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.55165373Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.082179ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.55572169Z level=info msg="Executing migration" id="add correlation config column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.564673285Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.951805ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.567837Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.568820557Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=983.157µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.573443873Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.574425509Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=983.816µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.577529353Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.601718501Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=24.187678ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.607458697Z level=info msg="Executing migration" id="create correlation v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.608336881Z level=info msg="Migration successfully executed" id="create correlation v2" duration=878.094µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.611594409Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.612399422Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=804.593µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.616056651Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.616902263Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=844.802µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.622847275Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.623659568Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=814.303µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.627184563Z level=info msg="Executing migration" id="copy correlation v1 to v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.627360508Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=175.765µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.630337099Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.630857763Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=520.574µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.635592792Z level=info msg="Executing migration" id="add provisioning column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.641347298Z level=info msg="Migration successfully executed" id="add provisioning column" duration=5.752776ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.644532395Z level=info msg="Executing migration" id="create entity_events table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.64512518Z level=info msg="Migration successfully executed" id="create entity_events table" duration=592.356µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.651076672Z level=info msg="Executing migration" id="create dashboard public config v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.651795922Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=719.03µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.655153613Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.655453791Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.658275578Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.658570666Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.661495035Z level=info msg="Executing migration" id="Drop old dashboard public config table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.661999269Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=503.994µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.666970414Z level=info msg="Executing migration" id="recreate dashboard public config v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.667720324Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=749.34µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.671284912Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.672073953Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=788.661µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.677605254Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.678378764Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=773.2µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.682274161Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.68299942Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=724.969µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.686269149Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.686981498Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=712.039µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.69296255Z level=info msg="Executing migration" id="Drop public config table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.693499516Z level=info msg="Migration successfully executed" id="Drop public config table" duration=537.076µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.697234097Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.698043989Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=808.372µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.703128307Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.703949589Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=821.132µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.706949711Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.707812595Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=860.784µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.710864918Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.7116928Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=827.572µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.71832823Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.737000288Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=18.671528ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.740508173Z level=info msg="Executing migration" id="add annotations_enabled column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.746567508Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.059785ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.749507518Z level=info msg="Executing migration" id="add time_selection_enabled column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.755376908Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=5.869039ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.760921108Z level=info msg="Executing migration" id="delete orphaned public dashboards" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.76135349Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=433.422µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.764829434Z level=info msg="Executing migration" id="add share column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.776973144Z level=info msg="Migration successfully executed" id="add share column" duration=12.1456ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.794805209Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.79521779Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=411.631µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.799027523Z level=info msg="Executing migration" id="create file table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.800696049Z level=info msg="Migration successfully executed" id="create file table" duration=1.670566ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.807792841Z level=info msg="Executing migration" id="file table idx: path natural pk" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.809620201Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.82733ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.813466196Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.815297936Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.832161ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.819977323Z level=info msg="Executing migration" id="create file_meta table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.820849467Z level=info msg="Migration successfully executed" id="create file_meta table" duration=871.073µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.827691953Z level=info msg="Executing migration" id="file table idx: path key" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.829347368Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.655974ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.834121678Z level=info msg="Executing migration" id="set path collation in file table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.834245011Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=123.004µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.837485989Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.837608752Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=119.683µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.840255484Z level=info msg="Executing migration" id="managed permissions migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.841199759Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=943.855µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.846892644Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.847218703Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=325.509µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.8504021Z level=info msg="Executing migration" id="RBAC action name migrator" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.852183648Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.778038ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.857257826Z level=info msg="Executing migration" id="Add UID column to playlist" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.867443903Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.189647ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.870406444Z level=info msg="Executing migration" id="Update uid column values in playlist" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.870573618Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=166.674µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.875270876Z level=info msg="Executing migration" id="Add index for uid in playlist" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.876238342Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=966.986µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.880090877Z level=info msg="Executing migration" id="update group index for alert rules" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.880872568Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=782.732µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.884492717Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.884972109Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=479.223µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.890975412Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.891573869Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=598.276µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.894682843Z level=info msg="Executing migration" id="add action column to seed_assignment" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.905291191Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.607738ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.908424976Z level=info msg="Executing migration" id="add scope column to seed_assignment" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.914989526Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.563739ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.919260541Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.920504195Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.242824ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.924880384Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.995558915Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=70.67877ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:57.999441321Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.000375586Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=933.855µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.005188377Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.007013057Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.83018ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.012373422Z level=info msg="Executing migration" id="add primary key to seed_assigment" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.039029206Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.657645ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.04650162Z level=info msg="Executing migration" id="add origin column to seed_assignment" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.055805132Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=9.303562ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.060415728Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.060813739Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=398.491µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.064949651Z level=info msg="Executing migration" id="prevent seeding OnCall access" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.065259299Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=310.348µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.070040169Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.070395529Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=355.58µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.074227134Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.074582253Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=355.27µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.078380436Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.078693384Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=313.138µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.082364474Z level=info msg="Executing migration" id="create folder table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.083783213Z level=info msg="Migration successfully executed" id="create folder table" duration=1.417959ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.088631555Z level=info msg="Executing migration" id="Add index for parent_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.090593047Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.961052ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.096402855Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.097638869Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.236014ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.102520022Z level=info msg="Executing migration" id="Update folder title length" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.102548983Z level=info msg="Migration successfully executed" id="Update folder title length" duration=28.011µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.106988333Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.108594037Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.606634ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.113162271Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.11497386Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.811929ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.119024871Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.120449409Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.424288ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.126058062Z level=info msg="Executing migration" id="Sync dashboard and folder table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.12675557Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=697.448µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.130523193Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.130922014Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=399.401µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.134868681Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.136622709Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.753348ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.141985785Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.143693931Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.708576ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.14805013Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.149206981Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.154501ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.153128658Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.154359331Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.230283ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.158847523Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.159999814Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.152331ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.163719285Z level=info msg="Executing migration" id="create anon_device table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.16463713Z level=info msg="Migration successfully executed" id="create anon_device table" duration=920.525µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.168434473Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.170278394Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.843401ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.17567045Z level=info msg="Executing migration" id="add index anon_device.updated_at" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.176923274Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.253824ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.180669306Z level=info msg="Executing migration" id="create signing_key table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.181627902Z level=info msg="Migration successfully executed" id="create signing_key table" duration=958.596µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.186353511Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.187461091Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.10753ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.191396897Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.192543649Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.146782ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.195814788Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.196076875Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=262.897µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.200244988Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.210141957Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.896879ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.21396108Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.214446554Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=485.854µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.217880938Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.218673759Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=793.732µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.222591415Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.224265241Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.673386ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.228719522Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.230335416Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.612963ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.243783021Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.245659143Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.874731ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.267786094Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.269590222Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.803358ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.273935191Z level=info msg="Executing migration" id="create sso_setting table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.275542104Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.605853ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.281094955Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.281839346Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=745.301µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.28640736Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.286823041Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=414.381µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.291293233Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.291389636Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=97.163µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.296469415Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.307050213Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=10.582398ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.313339144Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.323283724Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.94321ms 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.329882955Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.330170063Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=287.298µs 11:24:51 grafana | logger=migrator t=2024-03-27T11:22:58.333305188Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.529126265s 11:24:51 grafana | logger=sqlstore t=2024-03-27T11:22:58.345764467Z level=info msg="Created default admin" user=admin 11:24:51 grafana | logger=sqlstore t=2024-03-27T11:22:58.346030155Z level=info msg="Created default organization" 11:24:51 grafana | logger=secrets t=2024-03-27T11:22:58.351130053Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 11:24:51 grafana | logger=plugin.store t=2024-03-27T11:22:58.385345456Z level=info msg="Loading plugins..." 11:24:51 grafana | logger=local.finder t=2024-03-27T11:22:58.451411325Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 11:24:51 grafana | logger=plugin.store t=2024-03-27T11:22:58.451440075Z level=info msg="Plugins loaded" count=55 duration=66.096269ms 11:24:51 grafana | logger=query_data t=2024-03-27T11:22:58.455744443Z level=info msg="Query Service initialization" 11:24:51 grafana | logger=live.push_http t=2024-03-27T11:22:58.460111201Z level=info msg="Live Push Gateway initialization" 11:24:51 grafana | logger=ngalert.migration t=2024-03-27T11:22:58.465319493Z level=info msg=Starting 11:24:51 grafana | logger=ngalert.migration t=2024-03-27T11:22:58.465966801Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 11:24:51 grafana | logger=ngalert.migration orgID=1 t=2024-03-27T11:22:58.466801354Z level=info msg="Migrating alerts for organisation" 11:24:51 grafana | logger=ngalert.migration orgID=1 t=2024-03-27T11:22:58.467355949Z level=info msg="Alerts found to migrate" alerts=0 11:24:51 grafana | logger=ngalert.migration t=2024-03-27T11:22:58.469257211Z level=info msg="Completed alerting migration" 11:24:51 grafana | logger=ngalert.state.manager t=2024-03-27T11:22:58.506220058Z level=info msg="Running in alternative execution of Error/NoData mode" 11:24:51 grafana | logger=infra.usagestats.collector t=2024-03-27T11:22:58.509513507Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 11:24:51 grafana | logger=provisioning.datasources t=2024-03-27T11:22:58.512824197Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 11:24:51 grafana | logger=provisioning.alerting t=2024-03-27T11:22:58.526187742Z level=info msg="starting to provision alerting" 11:24:51 grafana | logger=provisioning.alerting t=2024-03-27T11:22:58.526204612Z level=info msg="finished to provision alerting" 11:24:51 grafana | logger=ngalert.state.manager t=2024-03-27T11:22:58.526313265Z level=info msg="Warming state cache for startup" 11:24:51 grafana | logger=ngalert.state.manager t=2024-03-27T11:22:58.52650976Z level=info msg="State cache has been initialized" states=0 duration=195.675µs 11:24:51 grafana | logger=grafanaStorageLogger t=2024-03-27T11:22:58.526550691Z level=info msg="Storage starting" 11:24:51 grafana | logger=ngalert.scheduler t=2024-03-27T11:22:58.52833231Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 11:24:51 grafana | logger=ticker t=2024-03-27T11:22:58.528415032Z level=info msg=starting first_tick=2024-03-27T11:23:00Z 11:24:51 grafana | logger=ngalert.multiorg.alertmanager t=2024-03-27T11:22:58.528431283Z level=info msg="Starting MultiOrg Alertmanager" 11:24:51 grafana | logger=http.server t=2024-03-27T11:22:58.529879532Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 11:24:51 grafana | logger=provisioning.dashboard t=2024-03-27T11:22:58.546735701Z level=info msg="starting to provision dashboards" 11:24:51 grafana | logger=grafana.update.checker t=2024-03-27T11:22:58.620596033Z level=info msg="Update check succeeded" duration=93.842586ms 11:24:51 grafana | logger=plugins.update.checker t=2024-03-27T11:22:58.624620072Z level=info msg="Update check succeeded" duration=96.897579ms 11:24:51 grafana | logger=sqlstore.transactions t=2024-03-27T11:22:58.65535933Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:24:51 grafana | logger=sqlstore.transactions t=2024-03-27T11:22:58.684533014Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:24:51 grafana | logger=provisioning.dashboard t=2024-03-27T11:22:58.850823404Z level=info msg="finished to provision dashboards" 11:24:51 grafana | logger=grafana-apiserver t=2024-03-27T11:22:59.764719267Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 11:24:51 grafana | logger=grafana-apiserver t=2024-03-27T11:22:59.765189567Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 11:24:51 grafana | logger=infra.usagestats t=2024-03-27T11:24:32.540923773Z level=info msg="Usage stats are ready to report" 11:24:51 ++ echo 'Tearing down containers...' 11:24:51 Tearing down containers... 11:24:51 ++ docker-compose down -v --remove-orphans 11:24:51 Stopping policy-api ... 11:24:51 Stopping grafana ... 11:24:51 Stopping mariadb ... 11:24:51 Stopping prometheus ... 11:24:52 Stopping grafana ... done 11:24:53 Stopping prometheus ... done 11:24:53 Stopping mariadb ... done 11:25:02 Stopping policy-api ... done 11:25:02 Removing policy-api ... 11:25:02 Removing policy-db-migrator ... 11:25:02 Removing grafana ... 11:25:02 Removing mariadb ... 11:25:02 Removing prometheus ... 11:25:02 Removing prometheus ... done 11:25:02 Removing grafana ... done 11:25:02 Removing mariadb ... done 11:25:02 Removing policy-api ... done 11:25:02 Removing policy-db-migrator ... done 11:25:02 Removing network compose_default 11:25:02 ++ cd /w/workspace/policy-api-master-project-csit-api 11:25:02 + load_set 11:25:02 + _setopts=hxB 11:25:02 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:25:02 ++ tr : ' ' 11:25:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:25:02 + set +o braceexpand 11:25:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:25:02 + set +o hashall 11:25:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:25:02 + set +o interactive-comments 11:25:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:25:02 + set +o xtrace 11:25:02 ++ echo hxB 11:25:02 ++ sed 's/./& /g' 11:25:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:25:02 + set +h 11:25:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:25:02 + set +x 11:25:02 + [[ -n /tmp/tmp.VFWPfKpnne ]] 11:25:02 + rsync -av /tmp/tmp.VFWPfKpnne/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api 11:25:02 sending incremental file list 11:25:02 ./ 11:25:02 log.html 11:25:02 output.xml 11:25:02 report.html 11:25:02 testplan.txt 11:25:02 11:25:02 sent 1,357,727 bytes received 95 bytes 2,715,644.00 bytes/sec 11:25:02 total size is 1,357,078 speedup is 1.00 11:25:02 + rm -rf /w/workspace/policy-api-master-project-csit-api/models 11:25:02 + exit 0 11:25:02 $ ssh-agent -k 11:25:02 unset SSH_AUTH_SOCK; 11:25:02 unset SSH_AGENT_PID; 11:25:02 echo Agent pid 2163 killed; 11:25:02 [ssh-agent] Stopped. 11:25:02 Robot results publisher started... 11:25:02 INFO: Checking test criticality is deprecated and will be dropped in a future release! 11:25:02 -Parsing output xml: 11:25:03 Done! 11:25:03 WARNING! Could not find file: **/log.html 11:25:03 WARNING! Could not find file: **/report.html 11:25:03 -Copying log files to build dir: 11:25:03 Done! 11:25:03 -Assigning results to build: 11:25:03 Done! 11:25:03 -Checking thresholds: 11:25:03 Done! 11:25:03 Done publishing Robot results. 11:25:03 [PostBuildScript] - [INFO] Executing post build scripts. 11:25:03 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10615607256276126066.sh 11:25:03 ---> sysstat.sh 11:25:03 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins868257534055967000.sh 11:25:03 ---> package-listing.sh 11:25:03 ++ facter osfamily 11:25:03 ++ tr '[:upper:]' '[:lower:]' 11:25:04 + OS_FAMILY=debian 11:25:04 + workspace=/w/workspace/policy-api-master-project-csit-api 11:25:04 + START_PACKAGES=/tmp/packages_start.txt 11:25:04 + END_PACKAGES=/tmp/packages_end.txt 11:25:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:25:04 + PACKAGES=/tmp/packages_start.txt 11:25:04 + '[' /w/workspace/policy-api-master-project-csit-api ']' 11:25:04 + PACKAGES=/tmp/packages_end.txt 11:25:04 + case "${OS_FAMILY}" in 11:25:04 + dpkg -l 11:25:04 + grep '^ii' 11:25:04 + '[' -f /tmp/packages_start.txt ']' 11:25:04 + '[' -f /tmp/packages_end.txt ']' 11:25:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:25:04 + '[' /w/workspace/policy-api-master-project-csit-api ']' 11:25:04 + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ 11:25:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ 11:25:04 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14439715137337179384.sh 11:25:04 ---> capture-instance-metadata.sh 11:25:04 Setup pyenv: 11:25:04 system 11:25:04 3.8.13 11:25:04 3.9.13 11:25:04 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:25:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4Kh4 from file:/tmp/.os_lf_venv 11:25:05 lf-activate-venv(): INFO: Installing: lftools 11:25:15 lf-activate-venv(): INFO: Adding /tmp/venv-4Kh4/bin to PATH 11:25:15 INFO: Running in OpenStack, capturing instance metadata 11:25:16 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12944403828726723055.sh 11:25:16 provisioning config files... 11:25:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config16683539423074967914tmp 11:25:16 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:25:16 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:25:16 [EnvInject] - Injecting environment variables from a build step. 11:25:16 [EnvInject] - Injecting as environment variables the properties content 11:25:16 SERVER_ID=logs 11:25:16 11:25:16 [EnvInject] - Variables injected successfully. 11:25:16 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins13526654093012508976.sh 11:25:16 ---> create-netrc.sh 11:25:16 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15599653356646256277.sh 11:25:16 ---> python-tools-install.sh 11:25:16 Setup pyenv: 11:25:16 system 11:25:16 3.8.13 11:25:16 3.9.13 11:25:16 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:25:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4Kh4 from file:/tmp/.os_lf_venv 11:25:17 lf-activate-venv(): INFO: Installing: lftools 11:25:29 lf-activate-venv(): INFO: Adding /tmp/venv-4Kh4/bin to PATH 11:25:29 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins1119230597911450271.sh 11:25:29 ---> sudo-logs.sh 11:25:29 Archiving 'sudo' log.. 11:25:29 [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins11143871134654470137.sh 11:25:29 ---> job-cost.sh 11:25:29 Setup pyenv: 11:25:29 system 11:25:29 3.8.13 11:25:29 3.9.13 11:25:29 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:25:30 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4Kh4 from file:/tmp/.os_lf_venv 11:25:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:25:37 lf-activate-venv(): INFO: Adding /tmp/venv-4Kh4/bin to PATH 11:25:37 INFO: No Stack... 11:25:37 INFO: Retrieving Pricing Info for: v3-standard-8 11:25:37 INFO: Archiving Costs 11:25:37 [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins12988380396048279369.sh 11:25:38 ---> logs-deploy.sh 11:25:38 Setup pyenv: 11:25:38 system 11:25:38 3.8.13 11:25:38 3.9.13 11:25:38 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) 11:25:38 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4Kh4 from file:/tmp/.os_lf_venv 11:25:39 lf-activate-venv(): INFO: Installing: lftools 11:25:51 lf-activate-venv(): INFO: Adding /tmp/venv-4Kh4/bin to PATH 11:25:51 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1580 11:25:51 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:25:52 Archives upload complete. 11:25:52 INFO: archiving logs to Nexus 11:25:53 ---> uname -a: 11:25:53 Linux prd-ubuntu1804-docker-8c-8g-18517 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 11:25:53 11:25:53 11:25:53 ---> lscpu: 11:25:53 Architecture: x86_64 11:25:53 CPU op-mode(s): 32-bit, 64-bit 11:25:53 Byte Order: Little Endian 11:25:53 CPU(s): 8 11:25:53 On-line CPU(s) list: 0-7 11:25:53 Thread(s) per core: 1 11:25:53 Core(s) per socket: 1 11:25:53 Socket(s): 8 11:25:53 NUMA node(s): 1 11:25:53 Vendor ID: AuthenticAMD 11:25:53 CPU family: 23 11:25:53 Model: 49 11:25:53 Model name: AMD EPYC-Rome Processor 11:25:53 Stepping: 0 11:25:53 CPU MHz: 2799.998 11:25:53 BogoMIPS: 5599.99 11:25:53 Virtualization: AMD-V 11:25:53 Hypervisor vendor: KVM 11:25:53 Virtualization type: full 11:25:53 L1d cache: 32K 11:25:53 L1i cache: 32K 11:25:53 L2 cache: 512K 11:25:53 L3 cache: 16384K 11:25:53 NUMA node0 CPU(s): 0-7 11:25:53 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 11:25:53 11:25:53 11:25:53 ---> nproc: 11:25:53 8 11:25:53 11:25:53 11:25:53 ---> df -h: 11:25:53 Filesystem Size Used Avail Use% Mounted on 11:25:53 udev 16G 0 16G 0% /dev 11:25:53 tmpfs 3.2G 708K 3.2G 1% /run 11:25:53 /dev/vda1 155G 12G 144G 8% / 11:25:53 tmpfs 16G 0 16G 0% /dev/shm 11:25:53 tmpfs 5.0M 0 5.0M 0% /run/lock 11:25:53 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:25:53 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:25:53 tmpfs 3.2G 0 3.2G 0% /run/user/1001 11:25:53 11:25:53 11:25:53 ---> free -m: 11:25:53 total used free shared buff/cache available 11:25:53 Mem: 32167 866 27069 0 4231 30845 11:25:53 Swap: 1023 0 1023 11:25:53 11:25:53 11:25:53 ---> ip addr: 11:25:53 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:25:53 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:25:53 inet 127.0.0.1/8 scope host lo 11:25:53 valid_lft forever preferred_lft forever 11:25:53 inet6 ::1/128 scope host 11:25:53 valid_lft forever preferred_lft forever 11:25:53 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:25:53 link/ether fa:16:3e:3a:3b:6c brd ff:ff:ff:ff:ff:ff 11:25:53 inet 10.30.107.181/23 brd 10.30.107.255 scope global dynamic ens3 11:25:53 valid_lft 86010sec preferred_lft 86010sec 11:25:53 inet6 fe80::f816:3eff:fe3a:3b6c/64 scope link 11:25:53 valid_lft forever preferred_lft forever 11:25:53 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 11:25:53 link/ether 02:42:bc:78:f4:c4 brd ff:ff:ff:ff:ff:ff 11:25:53 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:25:53 valid_lft forever preferred_lft forever 11:25:53 11:25:53 11:25:53 ---> sar -b -r -n DEV: 11:25:53 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-18517) 03/27/24 _x86_64_ (8 CPU) 11:25:53 11:25:53 11:19:28 LINUX RESTART (8 CPU) 11:25:53 11:25:53 11:20:02 tps rtps wtps bread/s bwrtn/s 11:25:53 11:21:01 130.40 64.45 65.95 4418.37 18150.28 11:25:53 11:22:01 103.78 13.80 89.99 1117.55 21345.38 11:25:53 11:23:01 309.63 15.06 294.57 2101.35 81969.84 11:25:53 11:24:01 110.76 6.47 104.30 301.82 11310.83 11:25:53 11:25:01 30.54 0.05 30.49 8.53 11611.03 11:25:53 Average: 137.05 19.82 117.23 1580.06 28913.34 11:25:53 11:25:53 11:20:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:25:53 11:21:01 30113456 31708380 2825764 8.58 68304 1837068 1439376 4.23 863044 1669272 160904 11:25:53 11:22:01 29821108 31683224 3118112 9.47 84656 2074432 1418476 4.17 896436 1900648 122296 11:25:53 11:23:01 27581052 31477560 5358168 16.27 126556 3985460 3209244 9.44 1219516 3679716 1252 11:25:53 11:24:01 26253616 30159784 6685604 20.30 130416 3989504 4675596 13.76 2586104 3633480 64 11:25:53 11:25:01 26412876 30342472 6526344 19.81 130828 4016548 3167696 9.32 2425936 3646640 88 11:25:53 Average: 28036422 31074284 4902798 14.88 108152 3180602 2782078 8.19 1598207 2905951 56921 11:25:53 11:25:53 11:20:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:25:53 11:21:01 lo 1.56 1.56 0.17 0.17 0.00 0.00 0.00 0.00 11:25:53 11:21:01 ens3 344.30 249.96 1587.51 61.66 0.00 0.00 0.00 0.00 11:25:53 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:53 11:22:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 11:25:53 11:22:01 ens3 47.68 36.68 677.40 7.13 0.00 0.00 0.00 0.00 11:25:53 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:53 11:23:01 lo 8.67 8.67 0.79 0.79 0.00 0.00 0.00 0.00 11:25:53 11:23:01 ens3 336.26 205.80 10548.31 16.06 0.00 0.00 0.00 0.00 11:25:53 11:23:01 veth9bc6747 0.00 0.25 0.00 0.02 0.00 0.00 0.00 0.00 11:25:53 11:23:01 veth8f4692d 0.13 0.27 0.01 0.02 0.00 0.00 0.00 0.00 11:25:53 11:24:01 lo 8.52 8.52 8.44 8.44 0.00 0.00 0.00 0.00 11:25:53 11:24:01 ens3 9.58 7.55 1.95 1.98 0.00 0.00 0.00 0.00 11:25:53 11:24:01 veth9bc6747 0.20 0.25 0.02 0.57 0.00 0.00 0.00 0.00 11:25:53 11:24:01 veth99e7de2 125.13 105.88 41.33 113.96 0.00 0.00 0.00 0.01 11:25:53 11:25:01 lo 9.12 9.12 0.70 0.70 0.00 0.00 0.00 0.00 11:25:53 11:25:01 ens3 13.23 13.38 5.98 7.87 0.00 0.00 0.00 0.00 11:25:53 11:25:01 veth99e7de2 1.33 1.38 0.84 0.09 0.00 0.00 0.00 0.00 11:25:53 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:53 Average: lo 5.81 5.81 2.05 2.05 0.00 0.00 0.00 0.00 11:25:53 Average: ens3 149.56 102.18 2567.50 18.79 0.00 0.00 0.00 0.00 11:25:53 Average: veth99e7de2 25.38 21.52 8.46 22.89 0.00 0.00 0.00 0.00 11:25:53 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:53 11:25:53 11:25:53 ---> sar -P ALL: 11:25:53 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-18517) 03/27/24 _x86_64_ (8 CPU) 11:25:53 11:25:53 11:19:28 LINUX RESTART (8 CPU) 11:25:53 11:25:53 11:20:02 CPU %user %nice %system %iowait %steal %idle 11:25:53 11:21:01 all 11.77 0.00 0.91 2.13 0.04 85.15 11:25:53 11:21:01 0 4.62 0.00 0.31 0.08 0.07 94.92 11:25:53 11:21:01 1 15.19 0.00 0.88 1.02 0.03 82.87 11:25:53 11:21:01 2 8.54 0.00 0.75 4.69 0.02 86.01 11:25:53 11:21:01 3 2.87 0.00 0.53 2.77 0.02 93.82 11:25:53 11:21:01 4 29.90 0.00 1.88 1.73 0.07 66.42 11:25:53 11:21:01 5 21.52 0.00 1.63 0.34 0.05 76.46 11:25:53 11:21:01 6 5.79 0.00 0.49 5.34 0.05 88.34 11:25:53 11:21:01 7 5.73 0.00 0.80 1.02 0.03 92.42 11:25:53 11:22:01 all 8.17 0.00 0.50 4.97 0.03 86.34 11:25:53 11:22:01 0 1.18 0.00 0.32 7.59 0.05 90.85 11:25:53 11:22:01 1 4.05 0.00 0.23 0.33 0.02 95.37 11:25:53 11:22:01 2 0.23 0.00 0.33 12.31 0.02 87.11 11:25:53 11:22:01 3 10.48 0.00 0.53 11.34 0.03 77.61 11:25:53 11:22:01 4 20.22 0.00 0.78 3.05 0.03 75.91 11:25:53 11:22:01 5 24.56 0.00 1.39 2.63 0.03 71.39 11:25:53 11:22:01 6 3.07 0.00 0.30 2.45 0.03 94.15 11:25:53 11:22:01 7 1.62 0.00 0.12 0.05 0.02 98.20 11:25:53 11:23:01 all 9.30 0.00 3.79 6.59 0.07 80.26 11:25:53 11:23:01 0 6.23 0.00 3.29 6.92 0.07 83.49 11:25:53 11:23:01 1 10.69 0.00 3.50 0.45 0.05 85.30 11:25:53 11:23:01 2 10.26 0.00 3.96 5.38 0.07 80.33 11:25:53 11:23:01 3 11.98 0.00 4.78 0.74 0.07 82.43 11:25:53 11:23:01 4 9.52 0.00 4.07 3.03 0.07 83.31 11:25:53 11:23:01 5 9.02 0.00 3.20 1.34 0.08 86.37 11:25:53 11:23:01 6 8.16 0.00 2.74 1.08 0.07 87.95 11:25:53 11:23:01 7 8.52 0.00 4.75 33.92 0.08 52.72 11:25:53 11:24:01 all 14.30 0.00 1.87 3.75 0.07 80.01 11:25:53 11:24:01 0 10.04 0.00 1.32 4.82 0.05 83.77 11:25:53 11:24:01 1 18.65 0.00 2.31 0.80 0.07 78.16 11:25:53 11:24:01 2 14.11 0.00 1.85 4.25 0.05 79.75 11:25:53 11:24:01 3 13.45 0.00 1.78 2.99 0.07 81.72 11:25:53 11:24:01 4 12.15 0.00 2.25 9.34 0.08 76.18 11:25:53 11:24:01 5 18.02 0.00 1.83 0.23 0.05 79.87 11:25:53 11:24:01 6 15.11 0.00 1.67 0.05 0.08 83.09 11:25:53 11:24:01 7 12.86 0.00 1.93 7.55 0.07 77.60 11:25:53 11:25:01 all 0.76 0.00 0.25 0.89 0.03 98.09 11:25:53 11:25:01 0 1.00 0.00 0.27 0.37 0.00 98.37 11:25:53 11:25:01 1 0.77 0.00 0.32 0.10 0.03 98.78 11:25:53 11:25:01 2 0.72 0.00 0.27 0.08 0.02 98.92 11:25:53 11:25:01 3 0.22 0.00 0.17 4.90 0.00 94.71 11:25:53 11:25:01 4 1.29 0.00 0.18 0.81 0.02 97.69 11:25:53 11:25:01 5 0.33 0.00 0.25 0.70 0.03 98.68 11:25:53 11:25:01 6 1.27 0.00 0.28 0.10 0.07 98.28 11:25:53 11:25:01 7 0.43 0.00 0.28 0.02 0.03 99.23 11:25:53 Average: all 8.84 0.00 1.46 3.66 0.05 85.99 11:25:53 Average: 0 4.61 0.00 1.10 3.96 0.05 90.28 11:25:53 Average: 1 9.85 0.00 1.45 0.54 0.04 88.13 11:25:53 Average: 2 6.75 0.00 1.43 5.34 0.03 86.45 11:25:53 Average: 3 7.80 0.00 1.55 4.56 0.04 86.04 11:25:53 Average: 4 14.57 0.00 1.82 3.59 0.05 79.96 11:25:53 Average: 5 14.67 0.00 1.65 1.05 0.05 82.58 11:25:53 Average: 6 6.68 0.00 1.09 1.80 0.06 90.37 11:25:53 Average: 7 5.82 0.00 1.57 8.45 0.05 84.12 11:25:53 11:25:53 11:25:53