11:32:59 Started by timer 11:32:59 Running as SYSTEM 11:32:59 [EnvInject] - Loading node environment variables. 11:32:59 Building remotely on prd-ubuntu1804-docker-8c-8g-19078 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-project-csit-api 11:32:59 [ssh-agent] Looking for ssh-agent implementation... 11:32:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:32:59 $ ssh-agent 11:32:59 SSH_AUTH_SOCK=/tmp/ssh-vTCLT0lU9Irc/agent.2114 11:32:59 SSH_AGENT_PID=2116 11:32:59 [ssh-agent] Started. 11:32:59 Running ssh-add (command line suppressed) 11:32:59 Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_2913757428848220694.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_2913757428848220694.key) 11:32:59 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 11:32:59 The recommended git tool is: NONE 11:33:00 using credential onap-jenkins-ssh 11:33:00 Wiping out workspace first. 11:33:00 Cloning the remote Git repository 11:33:00 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 11:33:00 > git init /w/workspace/policy-api-london-project-csit-api # timeout=10 11:33:00 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 11:33:00 > git --version # timeout=10 11:33:00 > git --version # 'git version 2.17.1' 11:33:00 using GIT_SSH to set credentials Gerrit user 11:33:00 Verifying host key using manually-configured host key entries 11:33:00 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 11:33:01 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 11:33:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:33:01 Avoid second fetch 11:33:01 > git rev-parse refs/remotes/origin/london^{commit} # timeout=10 11:33:01 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) 11:33:01 > git config core.sparsecheckout # timeout=10 11:33:01 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 11:33:02 Commit message: "Make update to allow local image to be used in Nordix" 11:33:02 > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=10 11:33:02 provisioning config files... 11:33:02 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:33:02 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:33:02 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4044941499549372452.sh 11:33:02 ---> python-tools-install.sh 11:33:02 Setup pyenv: 11:33:02 * system (set by /opt/pyenv/version) 11:33:02 * 3.8.13 (set by /opt/pyenv/version) 11:33:02 * 3.9.13 (set by /opt/pyenv/version) 11:33:02 * 3.10.6 (set by /opt/pyenv/version) 11:33:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MH5H 11:33:06 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:33:09 lf-activate-venv(): INFO: Installing: lftools 11:33:41 lf-activate-venv(): INFO: Adding /tmp/venv-MH5H/bin to PATH 11:33:41 Generating Requirements File 11:34:08 Python 3.10.6 11:34:08 pip 24.0 from /tmp/venv-MH5H/lib/python3.10/site-packages/pip (python 3.10) 11:34:09 appdirs==1.4.4 11:34:09 argcomplete==3.2.3 11:34:09 aspy.yaml==1.3.0 11:34:09 attrs==23.2.0 11:34:09 autopage==0.5.2 11:34:09 beautifulsoup4==4.12.3 11:34:09 boto3==1.34.73 11:34:09 botocore==1.34.73 11:34:09 bs4==0.0.2 11:34:09 cachetools==5.3.3 11:34:09 certifi==2024.2.2 11:34:09 cffi==1.16.0 11:34:09 cfgv==3.4.0 11:34:09 chardet==5.2.0 11:34:09 charset-normalizer==3.3.2 11:34:09 click==8.1.7 11:34:09 cliff==4.6.0 11:34:09 cmd2==2.4.3 11:34:09 cryptography==3.3.2 11:34:09 debtcollector==3.0.0 11:34:09 decorator==5.1.1 11:34:09 defusedxml==0.7.1 11:34:09 Deprecated==1.2.14 11:34:09 distlib==0.3.8 11:34:09 dnspython==2.6.1 11:34:09 docker==4.2.2 11:34:09 dogpile.cache==1.3.2 11:34:09 email_validator==2.1.1 11:34:09 filelock==3.13.3 11:34:09 future==1.0.0 11:34:09 gitdb==4.0.11 11:34:09 GitPython==3.1.42 11:34:09 google-auth==2.29.0 11:34:09 httplib2==0.22.0 11:34:09 identify==2.5.35 11:34:09 idna==3.6 11:34:09 importlib-resources==1.5.0 11:34:09 iso8601==2.1.0 11:34:09 Jinja2==3.1.3 11:34:09 jmespath==1.0.1 11:34:09 jsonpatch==1.33 11:34:09 jsonpointer==2.4 11:34:09 jsonschema==4.21.1 11:34:09 jsonschema-specifications==2023.12.1 11:34:09 keystoneauth1==5.6.0 11:34:09 kubernetes==29.0.0 11:34:09 lftools==0.37.10 11:34:09 lxml==5.1.1 11:34:09 MarkupSafe==2.1.5 11:34:09 msgpack==1.0.8 11:34:09 multi_key_dict==2.0.3 11:34:09 munch==4.0.0 11:34:09 netaddr==1.2.1 11:34:09 netifaces==0.11.0 11:34:09 niet==1.4.2 11:34:09 nodeenv==1.8.0 11:34:09 oauth2client==4.1.3 11:34:09 oauthlib==3.2.2 11:34:09 openstacksdk==3.0.0 11:34:09 os-client-config==2.1.0 11:34:09 os-service-types==1.7.0 11:34:09 osc-lib==3.0.1 11:34:09 oslo.config==9.4.0 11:34:09 oslo.context==5.5.0 11:34:09 oslo.i18n==6.3.0 11:34:09 oslo.log==5.5.0 11:34:09 oslo.serialization==5.4.0 11:34:09 oslo.utils==7.1.0 11:34:09 packaging==24.0 11:34:09 pbr==6.0.0 11:34:09 platformdirs==4.2.0 11:34:09 prettytable==3.10.0 11:34:09 pyasn1==0.6.0 11:34:09 pyasn1_modules==0.4.0 11:34:09 pycparser==2.21 11:34:09 pygerrit2==2.0.15 11:34:09 PyGithub==2.3.0 11:34:09 pyinotify==0.9.6 11:34:09 PyJWT==2.8.0 11:34:09 PyNaCl==1.5.0 11:34:09 pyparsing==2.4.7 11:34:09 pyperclip==1.8.2 11:34:09 pyrsistent==0.20.0 11:34:09 python-cinderclient==9.5.0 11:34:09 python-dateutil==2.9.0.post0 11:34:09 python-heatclient==3.5.0 11:34:09 python-jenkins==1.8.2 11:34:09 python-keystoneclient==5.4.0 11:34:09 python-magnumclient==4.4.0 11:34:09 python-novaclient==18.6.0 11:34:09 python-openstackclient==6.6.0 11:34:09 python-swiftclient==4.5.0 11:34:09 PyYAML==6.0.1 11:34:09 referencing==0.34.0 11:34:09 requests==2.31.0 11:34:09 requests-oauthlib==2.0.0 11:34:09 requestsexceptions==1.4.0 11:34:09 rfc3986==2.0.0 11:34:09 rpds-py==0.18.0 11:34:09 rsa==4.9 11:34:09 ruamel.yaml==0.18.6 11:34:09 ruamel.yaml.clib==0.2.8 11:34:09 s3transfer==0.10.1 11:34:09 simplejson==3.19.2 11:34:09 six==1.16.0 11:34:09 smmap==5.0.1 11:34:09 soupsieve==2.5 11:34:09 stevedore==5.2.0 11:34:09 tabulate==0.9.0 11:34:09 toml==0.10.2 11:34:09 tomlkit==0.12.4 11:34:09 tqdm==4.66.2 11:34:09 typing_extensions==4.10.0 11:34:09 tzdata==2024.1 11:34:09 urllib3==1.26.18 11:34:09 virtualenv==20.25.1 11:34:09 wcwidth==0.2.13 11:34:09 websocket-client==1.7.0 11:34:09 wrapt==1.16.0 11:34:09 xdg==6.0.0 11:34:09 xmltodict==0.13.0 11:34:09 yq==3.2.3 11:34:09 [EnvInject] - Injecting environment variables from a build step. 11:34:09 [EnvInject] - Injecting as environment variables the properties content 11:34:09 SET_JDK_VERSION=openjdk17 11:34:09 GIT_URL="git://cloud.onap.org/mirror" 11:34:09 11:34:09 [EnvInject] - Variables injected successfully. 11:34:09 [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins16485274619363689405.sh 11:34:09 ---> update-java-alternatives.sh 11:34:09 ---> Updating Java version 11:34:09 ---> Ubuntu/Debian system detected 11:34:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:34:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:34:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 11:34:10 openjdk version "17.0.4" 2022-07-19 11:34:10 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:34:10 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:34:10 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:34:10 [EnvInject] - Injecting environment variables from a build step. 11:34:10 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:34:10 [EnvInject] - Variables injected successfully. 11:34:10 [policy-api-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins4093766029101138949.sh 11:34:10 + /w/workspace/policy-api-london-project-csit-api/csit/run-project-csit.sh api 11:34:10 + set +u 11:34:10 + save_set 11:34:10 + RUN_CSIT_SAVE_SET=ehxB 11:34:10 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 11:34:10 + '[' 1 -eq 0 ']' 11:34:10 + '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:10 + 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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:10 + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:10 + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:34:10 + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:34:10 + export ROBOT_VARIABLES= 11:34:10 + ROBOT_VARIABLES= 11:34:10 + export PROJECT=api 11:34:10 + PROJECT=api 11:34:10 + cd /w/workspace/policy-api-london-project-csit-api 11:34:10 + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:34:10 + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:34:10 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:34:10 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 11:34:10 + relax_set 11:34:10 + set +e 11:34:10 + set +o pipefail 11:34:10 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:34:10 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:10 +++ mktemp -d 11:34:10 ++ ROBOT_VENV=/tmp/tmp.yXFZqlxjYK 11:34:10 ++ echo ROBOT_VENV=/tmp/tmp.yXFZqlxjYK 11:34:10 +++ python3 --version 11:34:10 ++ echo 'Python version is: Python 3.6.9' 11:34:10 Python version is: Python 3.6.9 11:34:10 ++ python3 -m venv --clear /tmp/tmp.yXFZqlxjYK 11:34:11 ++ source /tmp/tmp.yXFZqlxjYK/bin/activate 11:34:11 +++ deactivate nondestructive 11:34:11 +++ '[' -n '' ']' 11:34:11 +++ '[' -n '' ']' 11:34:11 +++ '[' -n /bin/bash -o -n '' ']' 11:34:11 +++ hash -r 11:34:11 +++ '[' -n '' ']' 11:34:11 +++ unset VIRTUAL_ENV 11:34:11 +++ '[' '!' nondestructive = nondestructive ']' 11:34:11 +++ VIRTUAL_ENV=/tmp/tmp.yXFZqlxjYK 11:34:11 +++ export VIRTUAL_ENV 11:34:11 +++ _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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:11 +++ PATH=/tmp/tmp.yXFZqlxjYK/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:11 +++ export PATH 11:34:11 +++ '[' -n '' ']' 11:34:11 +++ '[' -z '' ']' 11:34:11 +++ _OLD_VIRTUAL_PS1= 11:34:11 +++ '[' 'x(tmp.yXFZqlxjYK) ' '!=' x ']' 11:34:11 +++ PS1='(tmp.yXFZqlxjYK) ' 11:34:11 +++ export PS1 11:34:11 +++ '[' -n /bin/bash -o -n '' ']' 11:34:11 +++ hash -r 11:34:11 ++ set -exu 11:34:11 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 11:34:15 ++ echo 'Installing Python Requirements' 11:34:15 Installing Python Requirements 11:34:15 ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt 11:34:33 ++ python3 -m pip -qq freeze 11:34:33 bcrypt==4.0.1 11:34:33 beautifulsoup4==4.12.3 11:34:33 bitarray==2.9.2 11:34:33 certifi==2024.2.2 11:34:33 cffi==1.15.1 11:34:33 charset-normalizer==2.0.12 11:34:33 cryptography==40.0.2 11:34:33 decorator==5.1.1 11:34:33 elasticsearch==7.17.9 11:34:33 elasticsearch-dsl==7.4.1 11:34:33 enum34==1.1.10 11:34:33 idna==3.6 11:34:33 importlib-resources==5.4.0 11:34:33 ipaddr==2.2.0 11:34:33 isodate==0.6.1 11:34:33 jmespath==0.10.0 11:34:33 jsonpatch==1.32 11:34:33 jsonpath-rw==1.4.0 11:34:33 jsonpointer==2.3 11:34:33 lxml==5.1.1 11:34:33 netaddr==0.8.0 11:34:33 netifaces==0.11.0 11:34:33 odltools==0.1.28 11:34:33 paramiko==3.4.0 11:34:33 pkg_resources==0.0.0 11:34:33 ply==3.11 11:34:33 pyang==2.6.0 11:34:33 pyangbind==0.8.1 11:34:33 pycparser==2.21 11:34:33 pyhocon==0.3.60 11:34:33 PyNaCl==1.5.0 11:34:33 pyparsing==3.1.2 11:34:33 python-dateutil==2.9.0.post0 11:34:33 regex==2023.8.8 11:34:33 requests==2.27.1 11:34:33 robotframework==6.1.1 11:34:33 robotframework-httplibrary==0.4.2 11:34:33 robotframework-pythonlibcore==3.0.0 11:34:33 robotframework-requests==0.9.4 11:34:33 robotframework-selenium2library==3.0.0 11:34:33 robotframework-seleniumlibrary==5.1.3 11:34:33 robotframework-sshlibrary==3.8.0 11:34:33 scapy==2.5.0 11:34:33 scp==0.14.5 11:34:33 selenium==3.141.0 11:34:33 six==1.16.0 11:34:33 soupsieve==2.3.2.post1 11:34:33 urllib3==1.26.18 11:34:33 waitress==2.0.0 11:34:33 WebOb==1.8.7 11:34:33 WebTest==3.0.0 11:34:33 zipp==3.6.0 11:34:33 ++ mkdir -p /tmp/tmp.yXFZqlxjYK/src/onap 11:34:33 ++ rm -rf /tmp/tmp.yXFZqlxjYK/src/onap/testsuite 11:34:33 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 11:34:38 ++ echo 'Uninstall docker-py and reinstall docker.' 11:34:38 Uninstall docker-py and reinstall docker. 11:34:38 ++ python3 -m pip uninstall -y -qq docker 11:34:38 ++ python3 -m pip install -U -qq docker 11:34:39 ++ python3 -m pip -qq freeze 11:34:40 bcrypt==4.0.1 11:34:40 beautifulsoup4==4.12.3 11:34:40 bitarray==2.9.2 11:34:40 certifi==2024.2.2 11:34:40 cffi==1.15.1 11:34:40 charset-normalizer==2.0.12 11:34:40 cryptography==40.0.2 11:34:40 decorator==5.1.1 11:34:40 deepdiff==5.7.0 11:34:40 dnspython==2.2.1 11:34:40 docker==5.0.3 11:34:40 elasticsearch==7.17.9 11:34:40 elasticsearch-dsl==7.4.1 11:34:40 enum34==1.1.10 11:34:40 future==1.0.0 11:34:40 idna==3.6 11:34:40 importlib-resources==5.4.0 11:34:40 ipaddr==2.2.0 11:34:40 isodate==0.6.1 11:34:40 Jinja2==3.0.3 11:34:40 jmespath==0.10.0 11:34:40 jsonpatch==1.32 11:34:40 jsonpath-rw==1.4.0 11:34:40 jsonpointer==2.3 11:34:40 kafka-python==2.0.2 11:34:40 lxml==5.1.1 11:34:40 MarkupSafe==2.0.1 11:34:40 more-itertools==5.0.0 11:34:40 netaddr==0.8.0 11:34:40 netifaces==0.11.0 11:34:40 odltools==0.1.28 11:34:40 ordered-set==4.0.2 11:34:40 paramiko==3.4.0 11:34:40 pbr==6.0.0 11:34:40 pkg_resources==0.0.0 11:34:40 ply==3.11 11:34:40 protobuf==3.19.6 11:34:40 pyang==2.6.0 11:34:40 pyangbind==0.8.1 11:34:40 pycparser==2.21 11:34:40 pyhocon==0.3.60 11:34:40 PyNaCl==1.5.0 11:34:40 pyparsing==3.1.2 11:34:40 python-dateutil==2.9.0.post0 11:34:40 PyYAML==6.0.1 11:34:40 regex==2023.8.8 11:34:40 requests==2.27.1 11:34:40 robotframework==6.1.1 11:34:40 robotframework-httplibrary==0.4.2 11:34:40 robotframework-onap==0.6.0.dev105 11:34:40 robotframework-pythonlibcore==3.0.0 11:34:40 robotframework-requests==0.9.4 11:34:40 robotframework-selenium2library==3.0.0 11:34:40 robotframework-seleniumlibrary==5.1.3 11:34:40 robotframework-sshlibrary==3.8.0 11:34:40 robotlibcore-temp==1.0.2 11:34:40 scapy==2.5.0 11:34:40 scp==0.14.5 11:34:40 selenium==3.141.0 11:34:40 six==1.16.0 11:34:40 soupsieve==2.3.2.post1 11:34:40 urllib3==1.26.18 11:34:40 waitress==2.0.0 11:34:40 WebOb==1.8.7 11:34:40 websocket-client==1.3.1 11:34:40 WebTest==3.0.0 11:34:40 zipp==3.6.0 11:34:40 ++ uname 11:34:40 ++ grep -q Linux 11:34:40 ++ sudo apt-get -y -qq install libxml2-utils 11:34:40 + load_set 11:34:40 + _setopts=ehuxB 11:34:40 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 11:34:40 ++ tr : ' ' 11:34:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:40 + set +o braceexpand 11:34:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:40 + set +o hashall 11:34:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:40 + set +o interactive-comments 11:34:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:40 + set +o nounset 11:34:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:40 + set +o xtrace 11:34:40 ++ echo ehuxB 11:34:40 ++ sed 's/./& /g' 11:34:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:40 + set +e 11:34:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:40 + set +h 11:34:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:40 + set +u 11:34:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:40 + set +x 11:34:40 + source_safely /tmp/tmp.yXFZqlxjYK/bin/activate 11:34:40 + '[' -z /tmp/tmp.yXFZqlxjYK/bin/activate ']' 11:34:40 + relax_set 11:34:40 + set +e 11:34:40 + set +o pipefail 11:34:40 + . /tmp/tmp.yXFZqlxjYK/bin/activate 11:34:40 ++ deactivate nondestructive 11:34:40 ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ']' 11:34:40 ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:40 ++ export PATH 11:34:40 ++ unset _OLD_VIRTUAL_PATH 11:34:40 ++ '[' -n '' ']' 11:34:40 ++ '[' -n /bin/bash -o -n '' ']' 11:34:40 ++ hash -r 11:34:40 ++ '[' -n '' ']' 11:34:40 ++ unset VIRTUAL_ENV 11:34:40 ++ '[' '!' nondestructive = nondestructive ']' 11:34:40 ++ VIRTUAL_ENV=/tmp/tmp.yXFZqlxjYK 11:34:40 ++ export VIRTUAL_ENV 11:34:40 ++ _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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:40 ++ PATH=/tmp/tmp.yXFZqlxjYK/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:40 ++ export PATH 11:34:40 ++ '[' -n '' ']' 11:34:40 ++ '[' -z '' ']' 11:34:40 ++ _OLD_VIRTUAL_PS1='(tmp.yXFZqlxjYK) ' 11:34:40 ++ '[' 'x(tmp.yXFZqlxjYK) ' '!=' x ']' 11:34:40 ++ PS1='(tmp.yXFZqlxjYK) (tmp.yXFZqlxjYK) ' 11:34:40 ++ export PS1 11:34:40 ++ '[' -n /bin/bash -o -n '' ']' 11:34:40 ++ hash -r 11:34:40 + load_set 11:34:40 + _setopts=hxB 11:34:40 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:34:40 ++ tr : ' ' 11:34:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:40 + set +o braceexpand 11:34:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:40 + set +o hashall 11:34:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:40 + set +o interactive-comments 11:34:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:40 + set +o xtrace 11:34:40 ++ echo hxB 11:34:40 ++ sed 's/./& /g' 11:34:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:40 + set +h 11:34:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:40 + set +x 11:34:40 + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:34:40 + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:34:40 + export TEST_OPTIONS= 11:34:40 + TEST_OPTIONS= 11:34:40 ++ mktemp -d 11:34:40 + WORKDIR=/tmp/tmp.vatOR5OlEV 11:34:40 + cd /tmp/tmp.vatOR5OlEV 11:34:40 + docker login -u docker -p docker nexus3.onap.org:10001 11:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:40 Configure a credential helper to remove this warning. See 11:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:40 11:34:40 Login Succeeded 11:34:40 + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:40 + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:34:40 + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' 11:34:40 Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:40 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:40 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:34:40 + relax_set 11:34:40 + set +e 11:34:40 + set +o pipefail 11:34:40 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:40 ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh 11:34:40 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:40 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview 11:34:40 +++ GERRIT_BRANCH=london 11:34:40 +++ echo GERRIT_BRANCH=london 11:34:40 GERRIT_BRANCH=london 11:34:40 +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:34:40 +++ mkdir /w/workspace/policy-api-london-project-csit-api/models 11:34:40 +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models 11:34:40 Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... 11:34:41 +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:34:41 +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:34:41 +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:34:41 +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:34:41 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:34:41 +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 11:34:41 ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana 11:34:41 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:41 +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:34:41 +++ grafana=false 11:34:41 +++ gui=false 11:34:41 +++ [[ 2 -gt 0 ]] 11:34:41 +++ key=api 11:34:41 +++ case $key in 11:34:41 +++ echo api 11:34:41 api 11:34:41 +++ component=api 11:34:41 +++ shift 11:34:41 +++ [[ 1 -gt 0 ]] 11:34:41 +++ key=--grafana 11:34:41 +++ case $key in 11:34:41 +++ grafana=true 11:34:41 +++ shift 11:34:41 +++ [[ 0 -gt 0 ]] 11:34:41 +++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:34:41 +++ echo 'Configuring docker compose...' 11:34:41 Configuring docker compose... 11:34:41 +++ source export-ports.sh 11:34:41 +++ source get-versions.sh 11:34:44 +++ '[' -z api ']' 11:34:44 +++ '[' -n api ']' 11:34:44 +++ '[' api == logs ']' 11:34:44 +++ '[' true = true ']' 11:34:44 +++ echo 'Starting api application with Grafana' 11:34:44 Starting api application with Grafana 11:34:44 +++ docker-compose up -d api grafana 11:34:44 Creating network "compose_default" with the default driver 11:34:44 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 11:34:45 10.10.2: Pulling from mariadb 11:34:50 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 11:34:50 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 11:34:50 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 11:34:50 2.6.2: Pulling from onap/policy-db-migrator 11:34:53 Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 11:34:53 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 11:34:53 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 11:34:53 2.8.2: Pulling from onap/policy-api 11:34:55 Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d 11:34:55 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 11:34:55 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 11:34:55 latest: Pulling from prom/prometheus 11:34:58 Digest: sha256:dec2018ae55885fed717f25c289b8c9cff0bf5fbb9e619fb49b6161ac493c016 11:34:58 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 11:34:58 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 11:34:58 latest: Pulling from grafana/grafana 11:35:03 Digest: sha256:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 11:35:03 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 11:35:04 Creating mariadb ... 11:35:04 Creating prometheus ... 11:35:12 Creating mariadb ... done 11:35:12 Creating policy-db-migrator ... 11:35:13 Creating policy-db-migrator ... done 11:35:13 Creating policy-api ... 11:35:14 Creating policy-api ... done 11:35:14 Creating prometheus ... done 11:35:14 Creating grafana ... 11:35:15 Creating grafana ... done 11:35:15 +++ echo 'Prometheus server: http://localhost:30259' 11:35:15 Prometheus server: http://localhost:30259 11:35:15 +++ echo 'Grafana server: http://localhost:30269' 11:35:15 Grafana server: http://localhost:30269 11:35:15 +++ cd /w/workspace/policy-api-london-project-csit-api 11:35:15 ++ sleep 10 11:35:25 ++ unset http_proxy https_proxy 11:35:25 ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 11:35:25 Waiting for REST to come up on localhost port 30002... 11:35:25 NAMES STATUS 11:35:25 grafana Up 10 seconds 11:35:25 policy-api Up 11 seconds 11:35:25 policy-db-migrator Up 12 seconds 11:35:25 mariadb Up 12 seconds 11:35:25 prometheus Up 10 seconds 11:35:30 NAMES STATUS 11:35:30 grafana Up 15 seconds 11:35:30 policy-api Up 16 seconds 11:35:30 mariadb Up 17 seconds 11:35:30 prometheus Up 16 seconds 11:35:35 NAMES STATUS 11:35:35 grafana Up 20 seconds 11:35:35 policy-api Up 21 seconds 11:35:35 mariadb Up 22 seconds 11:35:35 prometheus Up 21 seconds 11:35:40 NAMES STATUS 11:35:40 grafana Up 25 seconds 11:35:40 policy-api Up 26 seconds 11:35:40 mariadb Up 28 seconds 11:35:40 prometheus Up 26 seconds 11:35:40 ++ export 'SUITES=api-test.robot 11:35:40 api-slas.robot' 11:35:40 ++ SUITES='api-test.robot 11:35:40 api-slas.robot' 11:35:40 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:35:40 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:35:40 + load_set 11:35:40 + _setopts=hxB 11:35:40 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:35:40 ++ tr : ' ' 11:35:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:40 + set +o braceexpand 11:35:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:40 + set +o hashall 11:35:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:40 + set +o interactive-comments 11:35:40 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:35:40 + set +o xtrace 11:35:40 ++ echo hxB 11:35:40 ++ sed 's/./& /g' 11:35:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:40 + set +h 11:35:40 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:35:40 + set +x 11:35:40 + docker_stats 11:35:40 + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 11:35:40 ++ uname -s 11:35:40 + '[' Linux == Darwin ']' 11:35:40 + sh -c 'top -bn1 | head -3' 11:35:40 top - 11:35:40 up 3 min, 0 users, load average: 3.38, 1.11, 0.41 11:35:40 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 11:35:40 %Cpu(s): 12.2 us, 2.4 sy, 0.0 ni, 82.7 id, 2.5 wa, 0.0 hi, 0.0 si, 0.1 st 11:35:40 + echo 11:35:40 + sh -c 'free -h' 11:35:40 11:35:40 total used free shared buff/cache available 11:35:40 Mem: 31G 1.8G 25G 1.0M 3.8G 29G 11:35:40 Swap: 1.0G 0B 1.0G 11:35:40 + echo 11:35:40 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:35:40 11:35:40 NAMES STATUS 11:35:40 grafana Up 25 seconds 11:35:40 policy-api Up 26 seconds 11:35:40 mariadb Up 28 seconds 11:35:40 prometheus Up 26 seconds 11:35:40 + echo 11:35:40 + docker stats --no-stream 11:35:40 11:35:43 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:35:43 49f23d53d8bc grafana 0.04% 54.52MiB / 31.41GiB 0.17% 18.1kB / 3.18kB 0B / 24.6MB 18 11:35:43 fb72ddad999e policy-api 0.15% 906.3MiB / 31.41GiB 2.82% 1.04MB / 755kB 0B / 0B 50 11:35:43 a77e728bef73 mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.7MB 28 11:35:43 0e3b1db70db2 prometheus 0.00% 18.95MiB / 31.41GiB 0.06% 16.2kB / 802B 0B / 0B 13 11:35:43 + echo 11:35:43 11:35:43 + cd /tmp/tmp.vatOR5OlEV 11:35:43 + echo 'Reading the testplan:' 11:35:43 Reading the testplan: 11:35:43 + echo 'api-test.robot 11:35:43 api-slas.robot' 11:35:43 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 11:35:43 + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' 11:35:43 + cat testplan.txt 11:35:43 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot 11:35:43 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot 11:35:43 ++ xargs 11:35:43 + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' 11:35:43 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:35:43 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' 11:35:43 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:35:43 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:35:43 + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' 11:35:43 Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... 11:35:43 + relax_set 11:35:43 + set +e 11:35:43 + set +o pipefail 11:35:43 + 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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot 11:35:43 ============================================================================== 11:35:43 api 11:35:43 ============================================================================== 11:35:43 api.Api-Test 11:35:43 ============================================================================== 11:35:43 Healthcheck :: Verify policy api health check | PASS | 11:35:43 ------------------------------------------------------------------------------ 11:35:44 Statistics :: Verify policy api statistics | PASS | 11:35:44 ------------------------------------------------------------------------------ 11:35:46 RetrievePolicyTypes :: Retrieve all policy types | PASS | 11:35:46 ------------------------------------------------------------------------------ 11:35:46 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 11:35:46 ------------------------------------------------------------------------------ 11:35:46 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 11:35:46 ------------------------------------------------------------------------------ 11:35:47 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 11:35:47 ------------------------------------------------------------------------------ 11:35:47 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 11:35:47 ------------------------------------------------------------------------------ 11:35:47 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 11:35:47 ------------------------------------------------------------------------------ 11:35:47 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 11:35:47 ------------------------------------------------------------------------------ 11:35:48 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 11:35:48 ------------------------------------------------------------------------------ 11:35:48 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 11:35:48 ------------------------------------------------------------------------------ 11:35:48 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 11:35:48 ------------------------------------------------------------------------------ 11:35:49 RetrieveAllPolicies :: Retrieve all policies | PASS | 11:35:49 ------------------------------------------------------------------------------ 11:35:49 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 11:35:49 ------------------------------------------------------------------------------ 11:35:49 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 11:35:49 ------------------------------------------------------------------------------ 11:35:49 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 11:35:49 ------------------------------------------------------------------------------ 11:35:49 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 11:35:49 ------------------------------------------------------------------------------ 11:35:50 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 11:35:50 ------------------------------------------------------------------------------ 11:35:50 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 11:35:50 ------------------------------------------------------------------------------ 11:35:50 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 11:35:50 ------------------------------------------------------------------------------ 11:35:50 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 11:35:50 ------------------------------------------------------------------------------ 11:35:51 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 11:35:51 ------------------------------------------------------------------------------ 11:35:51 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 11:35:51 ------------------------------------------------------------------------------ 11:35:51 api.Api-Test | PASS | 11:35:51 23 tests, 23 passed, 0 failed 11:35:51 ============================================================================== 11:35:51 api.Api-Slas 11:35:51 ============================================================================== 11:36:51 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 11:36:51 ------------------------------------------------------------------------------ 11:36:51 api.Api-Slas | PASS | 11:36:51 10 tests, 10 passed, 0 failed 11:36:51 ============================================================================== 11:36:51 api | PASS | 11:36:51 33 tests, 33 passed, 0 failed 11:36:51 ============================================================================== 11:36:51 Output: /tmp/tmp.vatOR5OlEV/output.xml 11:36:51 Log: /tmp/tmp.vatOR5OlEV/log.html 11:36:51 Report: /tmp/tmp.vatOR5OlEV/report.html 11:36:51 + RESULT=0 11:36:51 + load_set 11:36:51 + _setopts=hxB 11:36:51 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:36:51 ++ tr : ' ' 11:36:51 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:51 + set +o braceexpand 11:36:51 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:51 + set +o hashall 11:36:51 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:51 + set +o interactive-comments 11:36:51 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:51 + set +o xtrace 11:36:51 ++ echo hxB 11:36:51 ++ sed 's/./& /g' 11:36:51 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:51 + set +h 11:36:51 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:51 + set +x 11:36:51 + echo 'RESULT: 0' 11:36:51 RESULT: 0 11:36:51 + exit 0 11:36:51 + on_exit 11:36:51 + rc=0 11:36:51 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] 11:36:51 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:36:51 NAMES STATUS 11:36:51 grafana Up About a minute 11:36:51 policy-api Up About a minute 11:36:51 mariadb Up About a minute 11:36:51 prometheus Up About a minute 11:36:51 + docker_stats 11:36:51 ++ uname -s 11:36:51 + '[' Linux == Darwin ']' 11:36:51 + sh -c 'top -bn1 | head -3' 11:36:51 top - 11:36:51 up 4 min, 0 users, load average: 1.26, 0.96, 0.40 11:36:51 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 11:36:51 %Cpu(s): 10.1 us, 1.9 sy, 0.0 ni, 85.8 id, 2.1 wa, 0.0 hi, 0.0 si, 0.0 st 11:36:51 + echo 11:36:51 11:36:51 + sh -c 'free -h' 11:36:51 total used free shared buff/cache available 11:36:51 Mem: 31G 1.9G 25G 1.0M 3.8G 29G 11:36:51 Swap: 1.0G 0B 1.0G 11:36:51 + echo 11:36:51 11:36:51 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:36:51 NAMES STATUS 11:36:51 grafana Up About a minute 11:36:51 policy-api Up About a minute 11:36:51 mariadb Up About a minute 11:36:51 prometheus Up About a minute 11:36:51 + echo 11:36:51 11:36:51 + docker stats --no-stream 11:36:54 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:36:54 49f23d53d8bc grafana 0.05% 55.85MiB / 31.41GiB 0.17% 19kB / 4.33kB 0B / 24.6MB 18 11:36:54 fb72ddad999e policy-api 0.10% 938MiB / 31.41GiB 2.92% 7.32MB / 2.89MB 0B / 0B 52 11:36:54 a77e728bef73 mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 67.8MB 18 11:36:54 0e3b1db70db2 prometheus 0.00% 25.11MiB / 31.41GiB 0.08% 52.9kB / 7.71kB 0B / 0B 13 11:36:54 + echo 11:36:54 11:36:54 + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:36:54 + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' 11:36:54 + relax_set 11:36:54 + set +e 11:36:54 + set +o pipefail 11:36:54 + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:36:54 ++ echo 'Shut down started!' 11:36:54 Shut down started! 11:36:54 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:36:54 ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:36:54 ++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:36:54 ++ source export-ports.sh 11:36:54 ++ source get-versions.sh 11:36:57 ++ echo 'Collecting logs from docker compose containers...' 11:36:57 Collecting logs from docker compose containers... 11:36:57 ++ docker-compose logs 11:36:58 ++ cat docker_compose.log 11:36:58 Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus 11:36:58 mariadb | 2024-03-29 11:35:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:36:58 mariadb | 2024-03-29 11:35:12+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 11:36:58 mariadb | 2024-03-29 11:35:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:36:58 mariadb | 2024-03-29 11:35:12+00:00 [Note] [Entrypoint]: Initializing database files 11:36:58 mariadb | 2024-03-29 11:35:12 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:36:58 mariadb | 2024-03-29 11:35:12 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:36:58 mariadb | 2024-03-29 11:35:13 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:36:58 mariadb | 11:36:58 mariadb | 11:36:58 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 11:36:58 mariadb | To do so, start the server, then issue the following command: 11:36:58 mariadb | 11:36:58 mariadb | '/usr/bin/mysql_secure_installation' 11:36:58 mariadb | 11:36:58 mariadb | which will also give you the option of removing the test 11:36:58 mariadb | databases and anonymous user created by default. This is 11:36:58 mariadb | strongly recommended for production servers. 11:36:58 mariadb | 11:36:58 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 11:36:58 mariadb | 11:36:58 mariadb | Please report any problems at https://mariadb.org/jira 11:36:58 mariadb | 11:36:58 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 11:36:58 mariadb | 11:36:58 mariadb | Consider joining MariaDB's strong and vibrant community: 11:36:58 mariadb | https://mariadb.org/get-involved/ 11:36:58 mariadb | 11:36:58 mariadb | 2024-03-29 11:35:14+00:00 [Note] [Entrypoint]: Database files initialized 11:36:58 mariadb | 2024-03-29 11:35:14+00:00 [Note] [Entrypoint]: Starting temporary server 11:36:58 mariadb | 2024-03-29 11:35:14+00:00 [Note] [Entrypoint]: Waiting for server startup 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Number of transaction pools: 1 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Completed initialization of buffer pool 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: 128 rollback segments are active. 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] InnoDB: log sequence number 46590; transaction id 14 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] Plugin 'FEEDBACK' is disabled. 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.553963113Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-03-29T11:35:15Z 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.554287389Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 11:36:58 policy-api | Waiting for mariadb port 3306... 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.554305039Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 11:36:58 prometheus | ts=2024-03-29T11:35:14.589Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 11:36:58 policy-db-migrator | Waiting for mariadb port 3306... 11:36:58 policy-api | mariadb (172.17.0.2:3306) open 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.554308859Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 11:36:58 prometheus | ts=2024-03-29T11:35:14.590Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.1, branch=HEAD, revision=855b5ac4b80956874eb1790a04c92327f2f99e38)" 11:36:58 mariadb | 2024-03-29 11:35:14 0 [Note] mariadbd: ready for connections. 11:36:58 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:36:58 policy-api | Waiting for policy-db-migrator port 6824... 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.554312119Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 11:36:58 prometheus | ts=2024-03-29T11:35:14.590Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@d3785d7783f2, date=20240328-09:27:30, tags=netgo,builtinassets,stringlabels)" 11:36:58 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 11:36:58 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:36:58 policy-api | policy-db-migrator (172.17.0.4:6824) open 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.554315139Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 11:36:58 prometheus | ts=2024-03-29T11:35:14.590Z 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:36:58 mariadb | 2024-03-29 11:35:15+00:00 [Note] [Entrypoint]: Temporary server started. 11:36:58 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:36:58 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55431884Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 11:36:58 prometheus | ts=2024-03-29T11:35:14.590Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 11:36:58 mariadb | 2024-03-29 11:35:16+00:00 [Note] [Entrypoint]: Creating user policy_user 11:36:58 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:36:58 policy-api | 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55432198Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 11:36:58 prometheus | ts=2024-03-29T11:35:14.590Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 11:36:58 mariadb | 2024-03-29 11:35:16+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 11:36:58 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:36:58 policy-api | . ____ _ __ _ _ 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55432644Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 11:36:58 prometheus | ts=2024-03-29T11:35:14.592Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 11:36:58 mariadb | 11:36:58 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:36:58 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55433107Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 11:36:58 prometheus | ts=2024-03-29T11:35:14.592Z caller=main.go:1129 level=info msg="Starting TSDB ..." 11:36:58 mariadb | 2024-03-29 11:35:16+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 11:36:58 policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55433387Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 11:36:58 prometheus | ts=2024-03-29T11:35:14.598Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 11:36:58 mariadb | 11:36:58 policy-db-migrator | 314 blocks 11:36:58 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55433733Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 11:36:58 prometheus | ts=2024-03-29T11:35:14.598Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 11:36:58 mariadb | 2024-03-29 11:35:16+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 11:36:58 policy-db-migrator | Preparing upgrade release version: 0800 11:36:58 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55434095Z level=info msg=Target target=[all] 11:36:58 prometheus | ts=2024-03-29T11:35:14.600Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 11:36:58 mariadb | #!/bin/bash -xv 11:36:58 policy-db-migrator | Preparing upgrade release version: 0900 11:36:58 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55435544Z level=info msg="Path Home" path=/usr/share/grafana 11:36:58 prometheus | ts=2024-03-29T11:35:14.601Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=4.12µs 11:36:58 policy-db-migrator | Preparing upgrade release version: 1000 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55435998Z level=info msg="Path Data" path=/var/lib/grafana 11:36:58 prometheus | ts=2024-03-29T11:35:14.601Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 11:36:58 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 11:36:58 policy-api | =========|_|==============|___/=/_/_/_/ 11:36:58 policy-db-migrator | Preparing upgrade release version: 1100 11:36:58 prometheus | ts=2024-03-29T11:35:14.601Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 11:36:58 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 11:36:58 policy-api | :: Spring Boot :: (v2.7.8) 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55436349Z level=info msg="Path Logs" path=/var/log/grafana 11:36:58 policy-api | 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.55436759Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 11:36:58 policy-db-migrator | Preparing upgrade release version: 1200 11:36:58 prometheus | ts=2024-03-29T11:35:14.601Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=49.181µs wal_replay_duration=478.491µs wbl_replay_duration=350ns total_replay_duration=578.133µs 11:36:58 mariadb | # 11:36:58 policy-api | [2024-03-29T11:35:26.832+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.554371291Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 11:36:58 policy-db-migrator | Done 11:36:58 prometheus | ts=2024-03-29T11:35:14.605Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 11:36:58 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 11:36:58 policy-db-migrator | name version 11:36:58 grafana | logger=settings t=2024-03-29T11:35:15.554397961Z level=info msg="App mode production" 11:36:58 policy-api | [2024-03-29T11:35:26.835+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 11:36:58 prometheus | ts=2024-03-29T11:35:14.605Z caller=main.go:1153 level=info msg="TSDB started" 11:36:58 mariadb | # you may not use this file except in compliance with the License. 11:36:58 policy-db-migrator | policyadmin 0 11:36:58 grafana | logger=sqlstore t=2024-03-29T11:35:15.554809679Z level=info msg="Connecting to DB" dbtype=sqlite3 11:36:58 policy-api | [2024-03-29T11:35:28.215+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:36:58 prometheus | ts=2024-03-29T11:35:14.605Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 11:36:58 mariadb | # You may obtain a copy of the License at 11:36:58 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 11:36:58 grafana | logger=sqlstore t=2024-03-29T11:35:15.55483791Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 11:36:58 policy-api | [2024-03-29T11:35:28.305+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. 11:36:58 prometheus | ts=2024-03-29T11:35:14.607Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.132032ms db_storage=2.62µs remote_storage=3.74µs web_handler=480ns query_engine=1.57µs scrape=413.16µs scrape_sd=724.557µs notify=60.671µs notify_sd=57.901µs rules=3.34µs tracing=10.061µs 11:36:58 policy-db-migrator | upgrade: 0 -> 1200 11:36:58 policy-api | [2024-03-29T11:35:29.384+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 11:36:58 prometheus | ts=2024-03-29T11:35:14.608Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 11:36:58 mariadb | # 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.555529813Z level=info msg="Starting DB migrations" 11:36:58 policy-db-migrator | 11:36:58 prometheus | ts=2024-03-29T11:35:14.608Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 11:36:58 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.556624646Z level=info msg="Executing migration" id="create migration_log table" 11:36:58 policy-api | [2024-03-29T11:35:29.396+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 11:36:58 mariadb | # 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.557515873Z level=info msg="Migration successfully executed" id="create migration_log table" duration=890.657µs 11:36:58 policy-api | [2024-03-29T11:35:29.397+00:00|INFO|StandardService|main] Starting service [Tomcat] 11:36:58 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 11:36:58 mariadb | # Unless required by applicable law or agreed to in writing, software 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.564164345Z level=info msg="Executing migration" id="create user table" 11:36:58 policy-api | [2024-03-29T11:35:29.397+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] 11:36:58 policy-db-migrator | -------------- 11:36:58 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 11:36:58 policy-api | [2024-03-29T11:35:29.481+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.565028343Z level=info msg="Migration successfully executed" id="create user table" duration=863.558µs 11:36:58 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11:36:58 policy-api | [2024-03-29T11:35:29.481+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2570 ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.569165145Z level=info msg="Executing migration" id="add unique index user.login" 11:36:58 mariadb | # See the License for the specific language governing permissions and 11:36:58 policy-api | [2024-03-29T11:35:29.955+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.57037956Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.214094ms 11:36:58 mariadb | # limitations under the License. 11:36:58 policy-api | [2024-03-29T11:35:30.095+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.574576283Z level=info msg="Executing migration" id="add unique index user.email" 11:36:58 mariadb | 11:36:58 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:36:58 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:36:58 policy-api | [2024-03-29T11:35:30.323+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.575806488Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.229714ms 11:36:58 policy-db-migrator | -------------- 11:36:58 policy-api | [2024-03-29T11:35:30.486+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.582705934Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 11:36:58 mariadb | do 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.583433239Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=725.305µs 11:36:58 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 11:36:58 policy-api | [2024-03-29T11:35:30.602+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.586958649Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 11:36:58 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 11:36:58 policy-api | [2024-03-29T11:35:30.622+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.588059971Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.101092ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.5920542Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 11:36:58 mariadb | done 11:36:58 policy-api | [2024-03-29T11:35:32.085+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 11:36:58 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:36:58 policy-api | [2024-03-29T11:35:32.097+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.595900767Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.844337ms 11:36:58 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 11:36:58 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.602220953Z level=info msg="Executing migration" id="create user table v2" 11:36:58 policy-api | [2024-03-29T11:35:33.262+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.60307039Z level=info msg="Migration successfully executed" id="create user table v2" duration=851.087µs 11:36:58 policy-api | [2024-03-29T11:35:33.926+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:36:58 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.606532498Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 11:36:58 policy-api | [2024-03-29T11:35:34.957+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@7c305624, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7b4fbedb, org.springframework.security.web.context.SecurityContextPersistenceFilter@a6e0e5f, org.springframework.security.web.header.HeaderWriterFilter@bb0dcb6, org.springframework.security.web.authentication.logout.LogoutFilter@72bf63a, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@64c189d8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3116e9d2, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7a65e842, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@73534675, org.springframework.security.web.session.SessionManagementFilter@fa200ab, org.springframework.security.web.access.ExceptionTranslationFilter@5f58ac11, org.springframework.security.web.access.intercept.AuthorizationFilter@428943a4] 11:36:58 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.607738923Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.206095ms 11:36:58 policy-api | [2024-03-29T11:35:35.100+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:36:58 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.611521438Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 11:36:58 policy-api | [2024-03-29T11:35:38.523+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 11:36:58 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.612700412Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.179604ms 11:36:58 policy-api | [2024-03-29T11:35:38.550+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 11:36:58 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.616383255Z level=info msg="Executing migration" id="copy data_source v1 to v2" 11:36:58 policy-api | [2024-03-29T11:35:38.576+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 11:36:58 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 11:36:58 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 11:36:58 policy-api | [2024-03-29T11:35:38.592+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.547 seconds (JVM running for 13.203) 11:36:58 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.616834104Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=452.959µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.622371224Z level=info msg="Executing migration" id="Drop old table user_v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 policy-api | [2024-03-29T11:35:39.956+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' 11:36:58 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.623260381Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=888.397µs 11:36:58 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:36:58 policy-api | [2024-03-29T11:35:39.956+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' 11:36:58 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.62716832Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 11:36:58 policy-api | [2024-03-29T11:35:39.958+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 2 ms 11:36:58 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.628988775Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.819715ms 11:36:58 policy-db-migrator | -------------- 11:36:58 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:36:58 policy-db-migrator | 11:36:58 policy-api | [2024-03-29T11:35:46.435+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-7] ***** OrderedServiceImpl implementers: 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.632497856Z level=info msg="Executing migration" id="Update user table charset" 11:36:58 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 11:36:58 policy-db-migrator | 11:36:58 policy-api | [] 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.632524956Z level=info msg="Migration successfully executed" id="Update user table charset" duration=27.88µs 11:36:58 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:36:58 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 11:36:58 policy-api | [2024-03-29T11:35:46.573+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.639448904Z level=info msg="Executing migration" id="Add last_seen_at column to user" 11:36:58 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:36:58 policy-db-migrator | -------------- 11:36:58 policy-api | [2024-03-29T11:35:46.803+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.641290891Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.841367ms 11:36:58 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.644859242Z level=info msg="Executing migration" id="Add missing user data" 11:36:58 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:36:58 policy-api | [2024-03-29T11:35:47.853+00:00|WARN|CommonRestController|http-nio-6969-exec-2] POST /policies 11:36:58 policy-db-migrator | -------------- 11:36:58 mariadb | 11:36:58 policy-api | [2024-03-29T11:35:49.724+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.64531198Z level=info msg="Migration successfully executed" id="Add missing user data" duration=452.098µs 11:36:58 policy-api | [2024-03-29T11:35:50.098+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policies/onap.restart.tca/versions/1.0.0 11:36:58 policy-db-migrator | 11:36:58 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.648859032Z level=info msg="Executing migration" id="Add is_disabled column to user" 11:36:58 policy-api | [2024-03-29T11:35:50.321+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 11:36:58 policy-db-migrator | 11:36:58 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.650032775Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.171063ms 11:36:58 policy-api | [2024-03-29T11:35:50.563+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 11:36:58 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 11:36:58 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 11:36:58 policy-api | [2024-03-29T11:35:50.807+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.653251029Z level=info msg="Executing migration" id="Add index user.login/user.email" 11:36:58 policy-db-migrator | -------------- 11:36:58 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 11:36:58 policy-api | [2024-03-29T11:35:51.031+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.654015804Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=764.305µs 11:36:58 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:36:58 mariadb | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.659981273Z level=info msg="Executing migration" id="Add is_service_account column to user" 11:36:58 policy-db-migrator | -------------- 11:36:58 mariadb | 2024-03-29 11:35:17+00:00 [Note] [Entrypoint]: Stopping temporary server 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.661231588Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.245345ms 11:36:58 policy-db-migrator | 11:36:58 mariadb | 2024-03-29 11:35:17 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.664503933Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 11:36:58 policy-db-migrator | 11:36:58 mariadb | 2024-03-29 11:35:17 0 [Note] InnoDB: FTS optimize thread exiting. 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.676637104Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.133431ms 11:36:58 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 11:36:58 mariadb | 2024-03-29 11:35:17 0 [Note] InnoDB: Starting shutdown... 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.680258307Z level=info msg="Executing migration" id="Add uid column to user" 11:36:58 policy-db-migrator | -------------- 11:36:58 mariadb | 2024-03-29 11:35:17 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.681154864Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=896.277µs 11:36:58 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:36:58 mariadb | 2024-03-29 11:35:17 0 [Note] InnoDB: Buffer pool(s) dump completed at 240329 11:35:17 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.707204122Z level=info msg="Executing migration" id="Update uid column values for users" 11:36:58 policy-db-migrator | -------------- 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.707598991Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=394.759µs 11:36:58 policy-db-migrator | 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Shutdown completed; log sequence number 324021; transaction id 298 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.714031829Z level=info msg="Executing migration" id="Add unique index user_uid" 11:36:58 policy-db-migrator | 11:36:58 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.715221612Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.189513ms 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] mariadbd: Shutdown complete 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.719219532Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 11:36:58 mariadb | 11:36:58 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.719800464Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=580.302µs 11:36:58 mariadb | 2024-03-29 11:35:18+00:00 [Note] [Entrypoint]: Temporary server stopped 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.723782843Z level=info msg="Executing migration" id="create temp user table v1-7" 11:36:58 mariadb | 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.72513093Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.349858ms 11:36:58 mariadb | 2024-03-29 11:35:18+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.731517077Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 11:36:58 mariadb | 11:36:58 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.732290982Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=773.815µs 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.735894364Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.737062787Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.166223ms 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Number of transaction pools: 1 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.741038516Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.742322192Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.283806ms 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.748163678Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:36:58 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.748940873Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=777.095µs 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.75278213Z level=info msg="Executing migration" id="Update temp_user table charset" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.752811731Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=35.921µs 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Completed initialization of buffer pool 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.756101576Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.756681748Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=576.052µs 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: 128 rollback segments are active. 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.759942482Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:36:58 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.760481893Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=539.201µs 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.766715798Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: log sequence number 324021; transaction id 299 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.767977753Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.261684ms 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.771731467Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] Plugin 'FEEDBACK' is disabled. 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.772685297Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=955.73µs 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.77838986Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 11:36:58 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.781545043Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.155723ms 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] Server socket created on IP: '0.0.0.0'. 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.785320288Z level=info msg="Executing migration" id="create temp_user v2" 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] Server socket created on IP: '::'. 11:36:58 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.786855549Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.534791ms 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] mariadbd: ready for connections. 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.790545212Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 11:36:58 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.792183135Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.636023ms 11:36:58 mariadb | 2024-03-29 11:35:18 0 [Note] InnoDB: Buffer pool(s) load completed at 240329 11:35:18 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.795776096Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 11:36:58 mariadb | 2024-03-29 11:35:19 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 11:36:58 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.797520771Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.744715ms 11:36:58 mariadb | 2024-03-29 11:35:19 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.804348667Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.805197153Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=850.066µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.809211634Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.810659452Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.446328ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.814413567Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 11:36:58 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.815149772Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=735.625µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.821487118Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.822083049Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=595.201µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.825708752Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 11:36:58 policy-db-migrator | 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.826418996Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=710.374µs 11:36:58 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.830257502Z level=info msg="Executing migration" id="create star table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.831355395Z level=info msg="Migration successfully executed" id="create star table" duration=1.097232ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.834874654Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.835811163Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=935.979µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.841586938Z level=info msg="Executing migration" id="create org table v1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.842397124Z level=info msg="Migration successfully executed" id="create org table v1" duration=812.526µs 11:36:58 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.84622614Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.847491935Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.265485ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.851128988Z level=info msg="Executing migration" id="create org_user table v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.851938644Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=808.926µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.855326401Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.856134748Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=807.327µs 11:36:58 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.861929093Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.863191748Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.262375ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.866604076Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.867911322Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.306836ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.871379141Z level=info msg="Executing migration" id="Update org table charset" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.871407402Z level=info msg="Migration successfully executed" id="Update org table charset" duration=29.141µs 11:36:58 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.874641786Z level=info msg="Executing migration" id="Update org_user table charset" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.874665456Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=24.88µs 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.880543383Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.88091499Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=366.077µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.884548894Z level=info msg="Executing migration" id="create dashboard table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.88588505Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.335337ms 11:36:58 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.889724297Z level=info msg="Executing migration" id="add index dashboard.account_id" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.891037492Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.312575ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.894541772Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.89543465Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=892.308µs 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.900670504Z level=info msg="Executing migration" id="create dashboard_tag table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.901395799Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=724.535µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.905086082Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.906387608Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.300726ms 11:36:58 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.90997349Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.910772515Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=798.145µs 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.916740184Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.924602401Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.860136ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.928429126Z level=info msg="Executing migration" id="create dashboard v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.929033529Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=603.833µs 11:36:58 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.932372745Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.932954977Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=582.192µs 11:36:58 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.937936216Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.939275952Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.339426ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.943023198Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.94364255Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=618.612µs 11:36:58 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.946924905Z level=info msg="Executing migration" id="drop table dashboard_v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.948302872Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.377037ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.95324045Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.953342712Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=98.122µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.957036367Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.958900183Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.861306ms 11:36:58 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.963710299Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 11:36:58 policy-db-migrator | -------------- 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.966848941Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.138002ms 11:36:58 policy-db-migrator | -------------- 11:36:58 policy-db-migrator | 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.970717988Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 11:36:58 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.972552545Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.835917ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.975960503Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 11:36:58 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.976960493Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=998.49µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.98187049Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.984712757Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.842797ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.987984543Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 11:36:58 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.988913351Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=928.758µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.99241559Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 11:36:58 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.993231927Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=815.707µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.997549503Z level=info msg="Executing migration" id="Update dashboard table charset" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:15.997574793Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.8µs 11:36:58 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.000878359Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.000901199Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=24.04µs 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.005536296Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.008771865Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.234559ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.012410632Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.01438337Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.971818ms 11:36:58 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.019292649Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.022479875Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.190867ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.026697216Z level=info msg="Executing migration" id="Add column uid in dashboard" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.029007432Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.313086ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.034006893Z level=info msg="Executing migration" id="Update uid column values in dashboard" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.034258209Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=250.095µs 11:36:58 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.038898231Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.03971191Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=813.429µs 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.043314436Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.044460885Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.144939ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.049022104Z level=info msg="Executing migration" id="Update dashboard title length" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.049062195Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=41.331µs 11:36:58 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.053303757Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.054842755Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.541318ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.059826994Z level=info msg="Executing migration" id="create dashboard_provisioning" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.061130386Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.302712ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.075162474Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.082454789Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.292365ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.086168699Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 11:36:58 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.086959848Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=790.269µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.091782924Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.093330421Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.551057ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.097270846Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.098144757Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=874.761µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.101765704Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 11:36:58 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.102143133Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=374.259µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.107454751Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 11:36:58 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.108466706Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.010865ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.113455475Z level=info msg="Executing migration" id="Add check_sum column" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.116671394Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.216229ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.120145257Z level=info msg="Executing migration" id="Add index for dashboard_title" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.121019518Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=870.821µs 11:36:58 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.125620399Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 11:36:58 policy-db-migrator | -------------- 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.125862935Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=242.126µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.12940881Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.129658286Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=246.106µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.133695793Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 11:36:58 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.135090777Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.394013ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.140679821Z level=info msg="Executing migration" id="Add isPublic for dashboard" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.144432961Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.75291ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.148432668Z level=info msg="Executing migration" id="create data_source table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.149450692Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.016754ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.15305868Z level=info msg="Executing migration" id="add index data_source.account_id" 11:36:58 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.15389604Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=836.93µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.158672995Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.15974757Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.073515ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.164629218Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.165450378Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=820.67µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.169111456Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 11:36:58 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.170364886Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.253291ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.175153991Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.183304947Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.151366ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.187085309Z level=info msg="Executing migration" id="create data_source table v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.188120964Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.035154ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.191768371Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 11:36:58 policy-db-migrator | > upgrade 0450-pdpgroup.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.192631003Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=862.191µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.197458598Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.198810501Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.350553ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.202638423Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.203569746Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=930.603µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.207704135Z level=info msg="Executing migration" id="Add column with_credentials" 11:36:58 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.210028671Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.326006ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.214883088Z level=info msg="Executing migration" id="Add secure json data column" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.217265795Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.381887ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.221036616Z level=info msg="Executing migration" id="Update data_source table charset" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.221065707Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.871µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.224623602Z level=info msg="Executing migration" id="Update initial version to 1" 11:36:58 policy-db-migrator | > upgrade 0470-pdp.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.224897709Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=273.827µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.229633593Z level=info msg="Executing migration" id="Add read_only data column" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.232018621Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.384378ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.235859663Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.236130579Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=270.016µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.239571132Z level=info msg="Executing migration" id="Update json_data with nulls" 11:36:58 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.239821319Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=249.227µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.244763917Z level=info msg="Executing migration" id="Add uid column" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.247443712Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.679065ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.252364781Z level=info msg="Executing migration" id="Update uid value" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.252648877Z level=info msg="Migration successfully executed" id="Update uid value" duration=285.957µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.256322635Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 11:36:58 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.257604217Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.280472ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.261343677Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.262626688Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.282662ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.267468364Z level=info msg="Executing migration" id="create api_key table" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.268348296Z level=info msg="Migration successfully executed" id="create api_key table" duration=877.882µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.27349608Z level=info msg="Executing migration" id="add index api_key.account_id" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.274860432Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.365142ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.280555999Z level=info msg="Executing migration" id="add index api_key.key" 11:36:58 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 11:36:58 policy-db-migrator | -------------- 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.281953453Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.398084ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.287142998Z level=info msg="Executing migration" id="add index api_key.account_id_name" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.28806279Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=919.843µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.292331073Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 11:36:58 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.293590343Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.25488ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.297885906Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.299099076Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.21281ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.305399758Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.306190616Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=790.848µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.309941717Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 11:36:58 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.320322307Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.37932ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.325039641Z level=info msg="Executing migration" id="create api_key table v2" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.325685766Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=647.286µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.329395626Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.330771098Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.375922ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.334637781Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 11:36:58 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.336178739Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.540518ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.341148059Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.34203212Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=883.151µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.346162979Z level=info msg="Executing migration" id="copy api_key v1 to v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.346818085Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=653.706µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.350670048Z level=info msg="Executing migration" id="Drop old table api_key_v1" 11:36:58 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.35198191Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.308972ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.356517378Z level=info msg="Executing migration" id="Update api_key table charset" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.356545989Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=29.171µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.360628928Z level=info msg="Executing migration" id="Add expires to api_key table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.363147299Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.51827ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.368565498Z level=info msg="Executing migration" id="Add service account foreign key" 11:36:58 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.371042168Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.47767ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.374938222Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.375195478Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=256.576µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.379462951Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.383019617Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.554587ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.387238788Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 11:36:58 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.39025215Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.013732ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.394183266Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.395013155Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=829.379µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.399720309Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.400319653Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=599.044µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.404035012Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 11:36:58 policy-db-migrator | > upgrade 0570-toscadatatype.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.404895283Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=859.551µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.40850245Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.409830382Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.327112ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.414655678Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.416100533Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.433734ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.428582864Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 11:36:58 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.429921516Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.338611ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.434098537Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.434202909Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=107.473µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.439088307Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.439129128Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=42.021µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.443250697Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 11:36:58 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 11:36:58 policy-db-migrator | -------------- 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.447636353Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.384556ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.451360382Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.454220591Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.859179ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.458935905Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 11:36:58 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.459012907Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=76.102µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.462459839Z level=info msg="Executing migration" id="create quota table v1" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.463271539Z level=info msg="Migration successfully executed" id="create quota table v1" duration=811.34µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.466731023Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.467577763Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=846.33µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.471953648Z level=info msg="Executing migration" id="Update quota table charset" 11:36:58 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.471980418Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=30.11µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.587221784Z level=info msg="Executing migration" id="create plugin_setting table" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.588879003Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.659829ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.595068742Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.596115868Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.050176ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.601672772Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 11:36:58 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.606380805Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.706842ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.610221918Z level=info msg="Executing migration" id="Update plugin_setting table charset" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.610248978Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=27.74µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.613510277Z level=info msg="Executing migration" id="create session table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.614409898Z level=info msg="Migration successfully executed" id="create session table" duration=898.711µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.619800948Z level=info msg="Executing migration" id="Drop old table playlist table" 11:36:58 policy-db-migrator | > upgrade 0630-toscanodetype.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.620021093Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=219.425µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.623431305Z level=info msg="Executing migration" id="Drop old table playlist_item table" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.623673832Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=241.077µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.627184916Z level=info msg="Executing migration" id="create playlist table v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.627970095Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=784.509µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.633543089Z level=info msg="Executing migration" id="create playlist item table v2" 11:36:58 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.634383079Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=838.63µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.638218262Z level=info msg="Executing migration" id="Update playlist table charset" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.638265843Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=46.061µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.641599533Z level=info msg="Executing migration" id="Update playlist_item table charset" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.641638054Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=40.731µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.645183719Z level=info msg="Executing migration" id="Add playlist column created_at" 11:36:58 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.648200892Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.015952ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.653858708Z level=info msg="Executing migration" id="Add playlist column updated_at" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.656886721Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.026993ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.66097766Z level=info msg="Executing migration" id="drop preferences table v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.661096912Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=116.382µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.66430232Z level=info msg="Executing migration" id="drop preferences table v3" 11:36:58 policy-db-migrator | > upgrade 0660-toscaparameter.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.664420062Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=114.553µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.667940207Z level=info msg="Executing migration" id="create preferences table v3" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.668811929Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=868.391µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.674522696Z level=info msg="Executing migration" id="Update preferences table charset" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.674549657Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=27.181µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.67801433Z level=info msg="Executing migration" id="Add column team_id in preferences" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.682722203Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.705743ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.686787351Z level=info msg="Executing migration" id="Update team_id column values in preferences" 11:36:58 policy-db-migrator | > upgrade 0670-toscapolicies.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.687118929Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=330.978µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.693200145Z level=info msg="Executing migration" id="Add column week_start in preferences" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.696353442Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.152456ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.699853416Z level=info msg="Executing migration" id="Add column preferences.json_data" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.702978351Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.123825ms 11:36:58 policy-db-migrator | 11:36:58 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.706647189Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.706711961Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=64.982µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.710352028Z level=info msg="Executing migration" id="Add preferences index org_id" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.711375223Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.024475ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.718442153Z level=info msg="Executing migration" id="Add preferences index user_id" 11:36:58 policy-db-migrator | > upgrade 0690-toscapolicy.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.720100713Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.66306ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.724207272Z level=info msg="Executing migration" id="create alert table v1" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.726057867Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.850285ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.731812315Z level=info msg="Executing migration" id="add index alert org_id & id " 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.732773229Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=960.693µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.737662726Z level=info msg="Executing migration" id="add index alert state" 11:36:58 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.739115801Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.455165ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.76899936Z level=info msg="Executing migration" id="add index alert dashboard_id" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.769877472Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=878.372µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.784390481Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.785564929Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.174058ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.789509135Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 11:36:58 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.790972759Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.462804ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.794637568Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.796102303Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.464175ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.802752433Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.816156996Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.404753ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.820270835Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 11:36:58 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.821052184Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=783.769µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.825502252Z 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:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.826378272Z 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=876.011µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.871882898Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.872459041Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=575.763µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.877968174Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 11:36:58 policy-db-migrator | > upgrade 0730-toscaproperty.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.878851276Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=882.672µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.883926887Z level=info msg="Executing migration" id="create alert_notification table v1" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.885232809Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.305052ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.890883246Z level=info msg="Executing migration" id="Add column is_default" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.89441193Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.527875ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.898796116Z level=info msg="Executing migration" id="Add column frequency" 11:36:58 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.902684879Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.888353ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.907035025Z level=info msg="Executing migration" id="Add column send_reminder" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.91060347Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.567845ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.915929019Z level=info msg="Executing migration" id="Add column disable_resolve_message" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.919433483Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.503664ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.925638312Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 11:36:58 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.926511654Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=874.882µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.933140213Z level=info msg="Executing migration" id="Update alert table charset" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.933184934Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=44.691µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.944017795Z level=info msg="Executing migration" id="Update alert_notification table charset" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.944057146Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=40.961µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.948580475Z level=info msg="Executing migration" id="create notification_journal table v1" 11:36:58 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.949840065Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.25928ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.955685896Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.957473649Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.787173ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.961007434Z level=info msg="Executing migration" id="drop alert_notification_journal" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.961771912Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=763.838µs 11:36:58 policy-db-migrator | 11:36:58 policy-db-migrator | > upgrade 0770-toscarequirement.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.967555821Z level=info msg="Executing migration" id="create alert_notification_state table v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.968897424Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.341353ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.972969522Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.974490109Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.520237ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.980847542Z level=info msg="Executing migration" id="Add for to alert table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.984575161Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.725279ms 11:36:58 policy-db-migrator | > upgrade 0780-toscarequirements.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.987705667Z level=info msg="Executing migration" id="Add column uid in alert_notification" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.991340895Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.634347ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.995224348Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.995485134Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=260.266µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.998410584Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:16.999384608Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=974.864µs 11:36:58 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.005312661Z level=info msg="Executing migration" id="Remove unique index org_id_name" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.006715395Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.402984ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.010222661Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.01478249Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.560309ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.017850844Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.017970967Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=119.793µs 11:36:58 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.022950778Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.023922681Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=971.283µs 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.028596575Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.02967819Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.081075ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.035664976Z level=info msg="Executing migration" id="Drop old annotation table v4" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.03584124Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=175.524µs 11:36:58 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.039724934Z level=info msg="Executing migration" id="create annotation table v5" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.041240481Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.514257ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.045696628Z level=info msg="Executing migration" id="add index annotation 0 v3" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.047198145Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.501077ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.051615001Z level=info msg="Executing migration" id="add index annotation 1 v3" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.052578725Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=963.504µs 11:36:58 policy-db-migrator | > upgrade 0820-toscatrigger.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.060261661Z level=info msg="Executing migration" id="add index annotation 2 v3" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.061785188Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.523427ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.066004279Z level=info msg="Executing migration" id="add index annotation 3 v3" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.067698341Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.693462ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.072005086Z level=info msg="Executing migration" id="add index annotation 4 v3" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.073309077Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.302962ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.079797333Z level=info msg="Executing migration" id="Update annotation table charset" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.079827104Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=30.321µs 11:36:58 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.083564025Z level=info msg="Executing migration" id="Add column region_id to annotation table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.087610613Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.047308ms 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.091407365Z level=info msg="Executing migration" id="Drop category_id index" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.092355868Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=948.413µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.097855871Z level=info msg="Executing migration" id="Add column tags to annotation table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.104107692Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.251061ms 11:36:58 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.107936374Z level=info msg="Executing migration" id="Create annotation_tag table v2" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.108475688Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=538.824µs 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.114123975Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.115275142Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.149777ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.119119855Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.12057087Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.451085ms 11:36:58 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.148978818Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 11:36:58 policy-db-migrator | -------------- 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.163086009Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.104611ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.172957768Z level=info msg="Executing migration" id="Create annotation_tag table v3" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.173738387Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=779.969µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.178536303Z 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:36:58 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.180111901Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.576108ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.184512018Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.185094952Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=582.354µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.189464188Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.19039838Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=936.992µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.197356078Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 11:36:58 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.197604054Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=247.716µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.200786552Z level=info msg="Executing migration" id="Add created time to annotation table" 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.207155606Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.367154ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.213147661Z level=info msg="Executing migration" id="Add updated time to annotation table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.21600744Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.859349ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.222563038Z level=info msg="Executing migration" id="Add index for created in annotation table" 11:36:58 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.223546232Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=983.034µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.231507645Z level=info msg="Executing migration" id="Add index for updated in annotation table" 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.233062432Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.554687ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.24080555Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.241310682Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=504.372µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.246679442Z level=info msg="Executing migration" id="Add epoch_end column" 11:36:58 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.253049246Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.370774ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.257799231Z level=info msg="Executing migration" id="Add index for epoch_end" 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.258700273Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=900.552µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.265141669Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.265370985Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=228.756µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.273414388Z level=info msg="Executing migration" id="Move region to single row" 11:36:58 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.274061475Z level=info msg="Migration successfully executed" id="Move region to single row" duration=646.997µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.282500169Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.284132208Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.631899ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.291609919Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.292981572Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.375323ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.298965428Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 11:36:58 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.300443713Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.477725ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.306337105Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.307799441Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.461596ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.313660143Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.315068997Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.409383ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.323437509Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 11:36:58 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.324885005Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.440895ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.329724532Z level=info msg="Executing migration" id="Increase tags column to length 4096" 11:36:58 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.329932657Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=207.455µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.334900476Z level=info msg="Executing migration" id="create test_data table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.336341282Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.439586ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.344569321Z level=info msg="Executing migration" id="create dashboard_version table v1" 11:36:58 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.345463652Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=894.251µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.353792534Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 11:36:58 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.355167778Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.374743ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.361638044Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.363087559Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.446125ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.370713043Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 11:36:58 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.37101492Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=301.257µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.377484528Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 11:36:58 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.378058701Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=573.963µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.386734141Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.386833823Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=100.952µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.392387488Z level=info msg="Executing migration" id="create team table" 11:36:58 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.393891694Z level=info msg="Migration successfully executed" id="create team table" duration=1.503606ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.400071074Z level=info msg="Executing migration" id="add index team.org_id" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.401817746Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.745912ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.407902103Z level=info msg="Executing migration" id="add unique index team_org_id_name" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.408735204Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=827.31µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.416349328Z level=info msg="Executing migration" id="Add column uid in team" 11:36:58 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.42432085Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.968762ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.432297823Z level=info msg="Executing migration" id="Update uid column values in team" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.43258716Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=291.837µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.445043002Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.447002349Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.953477ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.455437143Z level=info msg="Executing migration" id="create team member table" 11:36:58 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.456252324Z level=info msg="Migration successfully executed" id="create team member table" duration=813.91µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.461306826Z level=info msg="Executing migration" id="add index team_member.org_id" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.462655388Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.345132ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.473202424Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.474423653Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.220199ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.483284677Z level=info msg="Executing migration" id="add index team_member.team_id" 11:36:58 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.484657741Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.373144ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.491565647Z level=info msg="Executing migration" id="Add column email to team table" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.498098896Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.534069ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.523808608Z level=info msg="Executing migration" id="Add column external to team_member table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.53130264Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.494322ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.536950316Z level=info msg="Executing migration" id="Add column permission to team_member table" 11:36:58 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.541453625Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.505359ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.546320973Z level=info msg="Executing migration" id="create dashboard acl table" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.547203334Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=882.381µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.555854143Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.556754656Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=900.833µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.564167134Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 11:36:58 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.565727813Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.560138ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.570836796Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.572278351Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.441225ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.578789689Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.580248954Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.459446ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.585629994Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 11:36:58 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.586503835Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=873.141µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.595016291Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.596441486Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.425385ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.609509261Z level=info msg="Executing migration" id="add index dashboard_permission" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.6110828Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.572629ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.618489049Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 11:36:58 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.619276408Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=783.959µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.625252113Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 11:36:58 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:36:58 policy-db-migrator | -------------- 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.625602261Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=350.228µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.632306874Z level=info msg="Executing migration" id="create tag table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.633043741Z level=info msg="Migration successfully executed" id="create tag table" duration=736.867µs 11:36:58 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.641106457Z level=info msg="Executing migration" id="add index tag.key_value" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.64249969Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.393293ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.651413045Z level=info msg="Executing migration" id="create login attempt table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.652697907Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.282712ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.660702891Z level=info msg="Executing migration" id="add index login_attempt.username" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.662121895Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.416514ms 11:36:58 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.666173913Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.667015883Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=841.72µs 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.674792932Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.691706211Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.914619ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.695793069Z level=info msg="Executing migration" id="create login_attempt v2" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.696401644Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=609.945µs 11:36:58 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.702911912Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.704311826Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.399883ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.712392851Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.712844772Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=451.991µs 11:36:58 policy-db-migrator | -------------- 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.721229275Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.722203519Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=972.784µs 11:36:58 policy-db-migrator | > upgrade 0100-pdp.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.728284456Z level=info msg="Executing migration" id="create user auth table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.729842553Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.554777ms 11:36:58 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.738790651Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.740238165Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.447094ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.74744065Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.747542002Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=102.942µs 11:36:58 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.75530442Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.762406682Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.102942ms 11:36:58 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.767405403Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.772322952Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.917169ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.776429711Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.781674838Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.245177ms 11:36:58 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.785777747Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.790776088Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.998541ms 11:36:58 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.796530347Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.797481311Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=952.904µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.806440807Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.813825626Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.387078ms 11:36:58 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.819150564Z level=info msg="Executing migration" id="create server_lock table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.819986395Z level=info msg="Migration successfully executed" id="create server_lock table" duration=837.301µs 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.828104741Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.829077685Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=971.914µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.834544577Z level=info msg="Executing migration" id="create user auth token table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.835985582Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.442495ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.843067364Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 11:36:58 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.844517648Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.449924ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.853498996Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.854937871Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.430484ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.861186982Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.862719929Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.530697ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.867778862Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 11:36:58 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 11:36:58 policy-db-migrator | -------------- 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.876222146Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.442684ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.884450325Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 11:36:58 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.885939911Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.486746ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.905766251Z level=info msg="Executing migration" id="create cache_data table" 11:36:58 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.909027469Z level=info msg="Migration successfully executed" id="create cache_data table" duration=3.259849ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.914953514Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.915877516Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=924.224µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.921040641Z level=info msg="Executing migration" id="create short_url table v1" 11:36:58 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.921888601Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=847.62µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.930759705Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 11:36:58 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.932298973Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.535958ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.938239627Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.938338179Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=99.782µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.943515995Z level=info msg="Executing migration" id="delete alert_definition table" 11:36:58 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.943698679Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=183.295µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.947830598Z level=info msg="Executing migration" id="recreate alert_definition table" 11:36:58 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.949229303Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.398165ms 11:36:58 policy-db-migrator | JOIN pdpstatistics b 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.953862654Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 11:36:58 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.954857779Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=994.445µs 11:36:58 policy-db-migrator | SET a.id = b.id 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.95865258Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.959610233Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=957.453µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.964465871Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.964530833Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=67.171µs 11:36:58 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.967986466Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.968868438Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=881.932µs 11:36:58 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.972507066Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.97391771Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.410464ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.97887529Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.980422057Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.545718ms 11:36:58 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.984351482Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.98590266Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.550298ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.9904663Z level=info msg="Executing migration" id="Add column paused in alert_definition" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.996127387Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.659657ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:17.999601842Z level=info msg="Executing migration" id="drop alert_definition table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.000639936Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.038204ms 11:36:58 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.004048069Z level=info msg="Executing migration" id="delete alert_definition_version table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.004128921Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=81.122µs 11:36:58 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.008862515Z level=info msg="Executing migration" id="recreate alert_definition_version table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.010301751Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.438696ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.014352678Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.015903816Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.550468ms 11:36:58 policy-db-migrator | > upgrade 0210-sequence.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.019958784Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.021520132Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.559828ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.026227135Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.026290657Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=63.972µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.030017238Z level=info msg="Executing migration" id="drop alert_definition_version table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.030875478Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=856.72µs 11:36:58 policy-db-migrator | > upgrade 0220-sequence.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.035718906Z level=info msg="Executing migration" id="create alert_instance table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.037287943Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.564847ms 11:36:58 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.041099276Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.042643993Z 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.543677ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.046759543Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.0483289Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.572477ms 11:36:58 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.05324465Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.062258247Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.014218ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.067116085Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.06813321Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.016954ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.072612528Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.073638133Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.025915ms 11:36:58 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.078616403Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.104987621Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=26.371848ms 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.108761673Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.132647141Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.885178ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.136233587Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.137303664Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.069207ms 11:36:58 policy-db-migrator | > upgrade 0120-toscatrigger.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.147917121Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.149613861Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.69614ms 11:36:58 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.160646768Z level=info msg="Executing migration" id="add current_reason column related to current_state" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.168047378Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.40015ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.178056039Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.183931362Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.875663ms 11:36:58 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.204748976Z level=info msg="Executing migration" id="create alert_rule table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.2065479Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.798673ms 11:36:58 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.219166494Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.220881056Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.713932ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.286081164Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.288173595Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=2.094831ms 11:36:58 policy-db-migrator | > upgrade 0140-toscaparameter.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.295082101Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.297115581Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.0271ms 11:36:58 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.302956532Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.303148507Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=191.945µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.308447505Z level=info msg="Executing migration" id="add column for to alert_rule" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.316130331Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.683536ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.322644568Z level=info msg="Executing migration" id="add column annotations to alert_rule" 11:36:58 policy-db-migrator | > upgrade 0150-toscaproperty.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.332719323Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=10.076275ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.337505928Z level=info msg="Executing migration" id="add column labels to alert_rule" 11:36:58 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.341854963Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=4.348085ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.345890061Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.348013292Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=2.125662ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.351845665Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 11:36:58 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.353676809Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.832204ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.359130461Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.36570949Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.575059ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.369445281Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.376134983Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.687112ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.380252103Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 11:36:58 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 11:36:58 policy-db-migrator | -------------- 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.382523627Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=2.276264ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.388134223Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 11:36:58 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.398581226Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.447743ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.406786814Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 11:36:58 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.413073676Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.282942ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.416886539Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.416978791Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=92.852µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.425125799Z level=info msg="Executing migration" id="create alert_rule_version table" 11:36:58 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.426983053Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.853304ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.432618699Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.434228889Z 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.60981ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.43924147Z 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:36:58 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.440572392Z 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.331162ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.448470703Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 11:36:58 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.448543275Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=72.912µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.453327221Z level=info msg="Executing migration" id="add column for to alert_rule_version" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.461125839Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.799008ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.464997353Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 11:36:58 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.471437949Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.440206ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.477530996Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.484094626Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.558909ms 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.488117653Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 11:36:58 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.494615479Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.498567ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.498303359Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.504762875Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.458986ms 11:36:58 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.510860183Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.510928024Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=68.231µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.515096906Z level=info msg="Executing migration" id=create_alert_configuration_table 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.515913035Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=813.969µs 11:36:58 policy-db-migrator | > upgrade 0100-upgrade.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.519586854Z level=info msg="Executing migration" id="Add column default in alert_configuration" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.52930832Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.721565ms 11:36:58 policy-db-migrator | select 'upgrade to 1100 completed' as msg 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.537440726Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.537489388Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=51.812µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.549256032Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 11:36:58 policy-db-migrator | msg 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.558808413Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.552911ms 11:36:58 policy-db-migrator | upgrade to 1100 completed 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.562419371Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.563418815Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=999.034µs 11:36:58 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.566805007Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.573336765Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.530959ms 11:36:58 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.579030973Z level=info msg="Executing migration" id=create_ngalert_configuration_table 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.579895854Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=863.641µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.583589853Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.584625348Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.035075ms 11:36:58 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.587931038Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.59462609Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.694172ms 11:36:58 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.600693106Z level=info msg="Executing migration" id="create provenance_type table" 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.601508377Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=815.101µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.606501277Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 11:36:58 policy-db-migrator | -------------- 11:36:58 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.607534343Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.032676ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.611033127Z level=info msg="Executing migration" id="create alert_image table" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.611869517Z level=info msg="Migration successfully executed" id="create alert_image table" duration=836µs 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.618025886Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 11:36:58 policy-db-migrator | > upgrade 0120-audit_sequence.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.619221215Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.194159ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.622810822Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.622928285Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=117.152µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.634611867Z level=info msg="Executing migration" id=create_alert_configuration_history_table 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.636214546Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.601789ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.64298223Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 11:36:58 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.644499647Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.517887ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.648057953Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.648489643Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.651478545Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 11:36:58 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.652029389Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=550.594µs 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.659738855Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 11:36:58 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.661379085Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.63489ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.665259719Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.674873772Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.614403ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.678323995Z level=info msg="Executing migration" id="create library_element table v1" 11:36:58 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.679519814Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.195179ms 11:36:58 policy-db-migrator | -------------- 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.685756675Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 11:36:58 policy-db-migrator | 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.686958224Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.202959ms 11:36:58 policy-db-migrator | policyadmin: OK: upgrade (1200) 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.690582142Z level=info msg="Executing migration" id="create library_element_connection table v1" 11:36:58 policy-db-migrator | name version 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.691987286Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.404115ms 11:36:58 policy-db-migrator | policyadmin 1200 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.695587073Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 11:36:58 policy-db-migrator | ID script operation from_version to_version tag success atTime 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.697296985Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.709432ms 11:36:58 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.703283499Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 11:36:58 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.704531669Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.2478ms 11:36:58 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.707781869Z level=info msg="Executing migration" id="increase max description length to 2048" 11:36:58 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.707807409Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=26.8µs 11:36:58 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:19 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.711463897Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 11:36:58 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.711773735Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=308.898µs 11:36:58 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.715540866Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 11:36:58 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.716040717Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=499.551µs 11:36:58 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.721547751Z level=info msg="Executing migration" id="create data_keys table" 11:36:58 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.72312956Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.576458ms 11:36:58 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.726989323Z level=info msg="Executing migration" id="create secrets table" 11:36:58 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.72851119Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.521128ms 11:36:58 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.732196499Z level=info msg="Executing migration" id="rename data_keys name column to id" 11:36:58 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.764989012Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=32.791563ms 11:36:58 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.770557777Z level=info msg="Executing migration" id="add name column into data_keys" 11:36:58 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.777151436Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.592509ms 11:36:58 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.781610335Z level=info msg="Executing migration" id="copy data_keys id column values into name" 11:36:58 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.781864011Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=253.206µs 11:36:58 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.785429127Z level=info msg="Executing migration" id="rename data_keys name column to label" 11:36:58 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.819880921Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=34.451914ms 11:36:58 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.823344195Z level=info msg="Executing migration" id="rename data_keys id column back to name" 11:36:58 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.85210607Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=28.751695ms 11:36:58 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.858006353Z level=info msg="Executing migration" id="create kv_store table v1" 11:36:58 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.858776421Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=769.928µs 11:36:58 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.862698077Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 11:36:58 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.864545731Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.847074ms 11:36:58 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.870471365Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 11:36:58 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.870883425Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=412.12µs 11:36:58 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.876734097Z level=info msg="Executing migration" id="create permission table" 11:36:58 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.877773151Z level=info msg="Migration successfully executed" id="create permission table" duration=1.038534ms 11:36:58 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.881623735Z level=info msg="Executing migration" id="add unique index permission.role_id" 11:36:58 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:20 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.883286055Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.66276ms 11:36:58 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.886885862Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 11:36:58 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.888268796Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.383364ms 11:36:58 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.893974954Z level=info msg="Executing migration" id="create role table" 11:36:58 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.894848204Z level=info msg="Migration successfully executed" id="create role table" duration=872.9µs 11:36:58 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.898383911Z level=info msg="Executing migration" id="add column display_name" 11:36:58 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.906097277Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.712966ms 11:36:58 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.909534781Z level=info msg="Executing migration" id="add column group_name" 11:36:58 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.917298558Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.759157ms 11:36:58 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.923536739Z level=info msg="Executing migration" id="add index role.org_id" 11:36:58 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.924671797Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.134967ms 11:36:58 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.928231952Z level=info msg="Executing migration" id="add unique index role_org_id_name" 11:36:58 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.92934657Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.114418ms 11:36:58 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.932631619Z level=info msg="Executing migration" id="add index role_org_id_uid" 11:36:58 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.933760536Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.128407ms 11:36:58 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.939907975Z level=info msg="Executing migration" id="create team role table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.941249388Z level=info msg="Migration successfully executed" id="create team role table" duration=1.340803ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.944742492Z level=info msg="Executing migration" id="add index team_role.org_id" 11:36:58 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.946429523Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.686551ms 11:36:58 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.955908512Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 11:36:58 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.957400529Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.490307ms 11:36:58 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.962292156Z level=info msg="Executing migration" id="add index team_role.team_id" 11:36:58 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.963034475Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=741.789µs 11:36:58 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.965535006Z level=info msg="Executing migration" id="create user role table" 11:36:58 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.966175281Z level=info msg="Migration successfully executed" id="create user role table" duration=639.755µs 11:36:58 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.968781624Z level=info msg="Executing migration" id="add index user_role.org_id" 11:36:58 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.969525092Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=742.798µs 11:36:58 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.974186775Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 11:36:58 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:21 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.974937483Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=750.648µs 11:36:58 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.986721158Z level=info msg="Executing migration" id="add index user_role.user_id" 11:36:58 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.98887602Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=2.153952ms 11:36:58 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.993915322Z level=info msg="Executing migration" id="create builtin role table" 11:36:58 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.995449169Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.533597ms 11:36:58 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:18.999457587Z level=info msg="Executing migration" id="add index builtin_role.role_id" 11:36:58 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.000656415Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.201449ms 11:36:58 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.003658858Z level=info msg="Executing migration" id="add index builtin_role.name" 11:36:58 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.004809006Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.149738ms 11:36:58 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.009448288Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 11:36:58 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.017848291Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.399773ms 11:36:58 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.021286284Z level=info msg="Executing migration" id="add index builtin_role.org_id" 11:36:58 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.022409052Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.122058ms 11:36:58 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.026128121Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 11:36:58 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.027225059Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.098057ms 11:36:58 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.032406743Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 11:36:58 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.033553961Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.150628ms 11:36:58 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.036848841Z level=info msg="Executing migration" id="add unique index role.uid" 11:36:58 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.038023049Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.173878ms 11:36:58 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.04096116Z level=info msg="Executing migration" id="create seed assignment table" 11:36:58 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.041854582Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=894.762µs 11:36:58 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.046573156Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 11:36:58 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.047743395Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.168899ms 11:36:58 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:22 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.0508793Z level=info msg="Executing migration" id="add column hidden to role table" 11:36:58 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.059204002Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.324732ms 11:36:58 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.062088172Z level=info msg="Executing migration" id="permission kind migration" 11:36:58 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.067856141Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.767169ms 11:36:58 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.072469153Z level=info msg="Executing migration" id="permission attribute migration" 11:36:58 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.080447536Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.977893ms 11:36:58 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.083673134Z level=info msg="Executing migration" id="permission identifier migration" 11:36:58 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.091424391Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.747967ms 11:36:58 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.094556168Z level=info msg="Executing migration" id="add permission identifier index" 11:36:58 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.095756746Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.200598ms 11:36:58 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.100554413Z level=info msg="Executing migration" id="add permission action scope role_id index" 11:36:58 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.101731831Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.177018ms 11:36:58 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.104983579Z level=info msg="Executing migration" id="remove permission role_id action scope index" 11:36:58 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2903241135190800u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.106567678Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.584219ms 11:36:58 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.109891318Z level=info msg="Executing migration" id="create query_history table v1" 11:36:58 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.111336134Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.444246ms 11:36:58 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.116381785Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 11:36:58 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.117554654Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.172489ms 11:36:58 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:23 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.120847964Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 11:36:58 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.120913495Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=66.781µs 11:36:58 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.123948459Z level=info msg="Executing migration" id="rbac disabled migrator" 11:36:58 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.12400405Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=56.942µs 11:36:58 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.12895206Z level=info msg="Executing migration" id="teams permissions migration" 11:36:58 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.129699518Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=747.198µs 11:36:58 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.1331325Z level=info msg="Executing migration" id="dashboard permissions" 11:36:58 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.133723086Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=591.186µs 11:36:58 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2903241135190900u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.136845431Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 11:36:58 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.137558418Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=710.547µs 11:36:58 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.140699424Z level=info msg="Executing migration" id="drop managed folder create actions" 11:36:58 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.141027212Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=327.538µs 11:36:58 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.14590927Z level=info msg="Executing migration" id="alerting notification permissions" 11:36:58 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.146478074Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=568.504µs 11:36:58 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.150354847Z level=info msg="Executing migration" id="create query_history_star table v1" 11:36:58 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.151746851Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.390834ms 11:36:58 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.155462731Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 11:36:58 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2903241135191000u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.157036269Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.573918ms 11:36:58 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2903241135191100u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.16121764Z level=info msg="Executing migration" id="add column org_id in query_history_star" 11:36:58 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2903241135191200u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.169204333Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.986233ms 11:36:58 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2903241135191200u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.172606316Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 11:36:58 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2903241135191200u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.172684807Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=76.551µs 11:36:58 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2903241135191200u 1 2024-03-29 11:35:24 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.17605875Z level=info msg="Executing migration" id="create correlation table v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.177222798Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.163268ms 11:36:58 policy-db-migrator | policyadmin: OK @ 1200 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.183302985Z level=info msg="Executing migration" id="add index correlations.uid" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.184460153Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.158418ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.188033819Z level=info msg="Executing migration" id="add index correlations.source_uid" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.189221348Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.186949ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.192539579Z level=info msg="Executing migration" id="add correlation config column" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.20083407Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.294421ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.205505052Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.206577019Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.071556ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.210040982Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.211116838Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.075156ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.214644373Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.236538483Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.89261ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.241504053Z level=info msg="Executing migration" id="create correlation v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.242370124Z level=info msg="Migration successfully executed" id="create correlation v2" duration=866.871µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.246002692Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.247074018Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.071316ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.250914471Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.252135111Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.22017ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.259082258Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.260221086Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.139038ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.264056459Z level=info msg="Executing migration" id="copy correlation v1 to v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.264472109Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=418.75µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.268023695Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.269226004Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.201559ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.274532513Z level=info msg="Executing migration" id="add provisioning column" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.282606658Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.073725ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.285830926Z level=info msg="Executing migration" id="create entity_events table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.286689737Z level=info msg="Migration successfully executed" id="create entity_events table" duration=859.52µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.290669553Z level=info msg="Executing migration" id="create dashboard public config v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.291677597Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.007014ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.295255854Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.295733575Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.299121938Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.299828535Z 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:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.303739959Z level=info msg="Executing migration" id="Drop old dashboard public config table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.304790515Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.051206ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.308758041Z level=info msg="Executing migration" id="recreate dashboard public config v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.309772855Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.013964ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.313188788Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.314273924Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.084456ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.318671741Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.319798208Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.126017ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.323264431Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.324282807Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.018146ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.327478634Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.328500538Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.021174ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.340539559Z level=info msg="Executing migration" id="Drop public config table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.341758699Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.21744ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.345858828Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.347576Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.716442ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.352154611Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.353251507Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.100156ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.35666368Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.357812528Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.147958ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.361357484Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.362433599Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.074875ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.367630125Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.39135209Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.721685ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.394313061Z level=info msg="Executing migration" id="add annotations_enabled column" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.40215593Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.841959ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.405374869Z level=info msg="Executing migration" id="add time_selection_enabled column" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.411279632Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=5.904323ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.415558585Z level=info msg="Executing migration" id="delete orphaned public dashboards" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.415816721Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=258.386µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.419378398Z level=info msg="Executing migration" id="add share column" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.427696439Z level=info msg="Migration successfully executed" id="add share column" duration=8.31625ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.43102256Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.431231465Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=210.066µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.434450632Z level=info msg="Executing migration" id="create file table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.435378674Z level=info msg="Migration successfully executed" id="create file table" duration=927.572µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.439601487Z level=info msg="Executing migration" id="file table idx: path natural pk" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.440814406Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.211169ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.444272189Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.445995282Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.722832ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.449871525Z level=info msg="Executing migration" id="create file_meta table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.450655705Z level=info msg="Migration successfully executed" id="create file_meta table" duration=781.61µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.45582788Z level=info msg="Executing migration" id="file table idx: path key" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.456910106Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.081826ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.462261865Z level=info msg="Executing migration" id="set path collation in file table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.462326307Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=65.002µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.465476593Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.465539935Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=63.261µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.468858695Z level=info msg="Executing migration" id="managed permissions migration" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.469731786Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=872.821µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.47401682Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.474329777Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=313.257µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.477591006Z level=info msg="Executing migration" id="RBAC action name migrator" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.478846457Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.254951ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.48227812Z level=info msg="Executing migration" id="Add UID column to playlist" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.49097883Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.69915ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.495441498Z level=info msg="Executing migration" id="Update uid column values in playlist" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.495554571Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=113.113µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.498612255Z level=info msg="Executing migration" id="Add index for uid in playlist" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.499476266Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=863.271µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.50418772Z level=info msg="Executing migration" id="update group index for alert rules" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.504765134Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=578.244µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.509752165Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.510067212Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=315.417µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.516777964Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.517785989Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=1.012405ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.524064131Z level=info msg="Executing migration" id="add action column to seed_assignment" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.53520224Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.134689ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.53850278Z level=info msg="Executing migration" id="add scope column to seed_assignment" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.545083529Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.580489ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.548129443Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.548953043Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=823.36µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.554840336Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.629492872Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=74.656397ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.632449114Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.633298324Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=847.71µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.636511462Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.637347632Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=832.57µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.642313952Z level=info msg="Executing migration" id="add primary key to seed_assigment" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.672298668Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=29.985806ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.675961806Z level=info msg="Executing migration" id="add origin column to seed_assignment" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.682260628Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.298282ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.69552054Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.696062872Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=544.203µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.701982886Z level=info msg="Executing migration" id="prevent seeding OnCall access" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.702231133Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=247.825µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.706029994Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.706355102Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=325.288µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.70999075Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.710189484Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=198.665µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.713583597Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.713812253Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=227.446µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.719266565Z level=info msg="Executing migration" id="create folder table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.72072978Z level=info msg="Migration successfully executed" id="create folder table" duration=1.463084ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.724791098Z level=info msg="Executing migration" id="Add index for parent_uid" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.726797576Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.005758ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.730530667Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.731710765Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.177748ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.737555897Z level=info msg="Executing migration" id="Update folder title length" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.737607048Z level=info msg="Migration successfully executed" id="Update folder title length" duration=52.331µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.741454782Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.743253455Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.795732ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.746703748Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.749056505Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.350737ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.75297415Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.755231274Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.260794ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.759772604Z level=info msg="Executing migration" id="Sync dashboard and folder table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.76085881Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=1.089716ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.765559804Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.766175609Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=615.415µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.769804638Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.771056847Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.252459ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.774216704Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.775744481Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.524817ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.784485983Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.786311457Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.824254ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.791074432Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.793118811Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=2.043939ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.798724937Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.799910645Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.186268ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.805269055Z level=info msg="Executing migration" id="create anon_device table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.807148811Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.881356ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.810629255Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.812304366Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.675651ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.818525896Z level=info msg="Executing migration" id="add index anon_device.updated_at" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.820715869Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.189883ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.828813355Z level=info msg="Executing migration" id="create signing_key table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.829895661Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.082096ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.836914262Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.838703694Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.789593ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.842495517Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.843726506Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.230979ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.852068348Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.85256256Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=496.142µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.856158706Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.867657936Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.482229ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.87201087Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.872551603Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=541.103µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.880864584Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.882767361Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.900957ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.886538242Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.887593398Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.055806ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.891757408Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.892838075Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.078227ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.898644795Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.899867864Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.222319ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.90298622Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.904826215Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.838485ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.910053921Z level=info msg="Executing migration" id="create sso_setting table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.91124846Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.195259ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.918381303Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.919451028Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.068305ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.923311421Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.923783564Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=472.753µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.927425141Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.927525884Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=101.053µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.932982386Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.941954513Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=8.970227ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.9451416Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.954782514Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.640294ms 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.958038932Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.958269768Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=230.716µs 11:36:58 grafana | logger=migrator t=2024-03-29T11:35:19.96415909Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.407561935s 11:36:58 grafana | logger=sqlstore t=2024-03-29T11:35:19.977404851Z level=info msg="Created default admin" user=admin 11:36:58 grafana | logger=sqlstore t=2024-03-29T11:35:19.977685928Z level=info msg="Created default organization" 11:36:58 grafana | logger=secrets t=2024-03-29T11:35:19.984531063Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 11:36:58 grafana | logger=plugin.store t=2024-03-29T11:35:20.004482276Z level=info msg="Loading plugins..." 11:36:58 grafana | logger=local.finder t=2024-03-29T11:35:20.045755895Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 11:36:58 grafana | logger=plugin.store t=2024-03-29T11:35:20.045787675Z level=info msg="Plugins loaded" count=55 duration=41.306519ms 11:36:58 grafana | logger=query_data t=2024-03-29T11:35:20.053587054Z level=info msg="Query Service initialization" 11:36:58 grafana | logger=live.push_http t=2024-03-29T11:35:20.059879906Z level=info msg="Live Push Gateway initialization" 11:36:58 grafana | logger=ngalert.migration t=2024-03-29T11:35:20.064096719Z level=info msg=Starting 11:36:58 grafana | logger=ngalert.migration t=2024-03-29T11:35:20.064526129Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 11:36:58 grafana | logger=ngalert.migration orgID=1 t=2024-03-29T11:35:20.06498315Z level=info msg="Migrating alerts for organisation" 11:36:58 grafana | logger=ngalert.migration orgID=1 t=2024-03-29T11:35:20.065629595Z level=info msg="Alerts found to migrate" alerts=0 11:36:58 grafana | logger=ngalert.migration t=2024-03-29T11:35:20.067392608Z level=info msg="Completed alerting migration" 11:36:58 grafana | logger=ngalert.state.manager t=2024-03-29T11:35:20.10551386Z level=info msg="Running in alternative execution of Error/NoData mode" 11:36:58 grafana | logger=infra.usagestats.collector t=2024-03-29T11:35:20.107617611Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 11:36:58 grafana | logger=provisioning.datasources t=2024-03-29T11:35:20.109530598Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 11:36:58 grafana | logger=provisioning.alerting t=2024-03-29T11:35:20.123464495Z level=info msg="starting to provision alerting" 11:36:58 grafana | logger=provisioning.alerting t=2024-03-29T11:35:20.123486786Z level=info msg="finished to provision alerting" 11:36:58 grafana | logger=grafanaStorageLogger t=2024-03-29T11:35:20.124777237Z level=info msg="Storage starting" 11:36:58 grafana | logger=http.server t=2024-03-29T11:35:20.128419155Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 11:36:58 grafana | logger=ngalert.state.manager t=2024-03-29T11:35:20.128674722Z level=info msg="Warming state cache for startup" 11:36:58 grafana | logger=ngalert.multiorg.alertmanager t=2024-03-29T11:35:20.136371227Z level=info msg="Starting MultiOrg Alertmanager" 11:36:58 grafana | logger=sqlstore.transactions t=2024-03-29T11:35:20.136442209Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:36:58 grafana | logger=provisioning.dashboard t=2024-03-29T11:35:20.176072709Z level=info msg="starting to provision dashboards" 11:36:58 grafana | logger=plugins.update.checker t=2024-03-29T11:35:20.215425951Z level=info msg="Update check succeeded" duration=91.662429ms 11:36:58 grafana | logger=grafana.update.checker t=2024-03-29T11:35:20.216993548Z level=info msg="Update check succeeded" duration=91.701778ms 11:36:58 grafana | logger=ngalert.state.manager t=2024-03-29T11:35:20.248505851Z level=info msg="State cache has been initialized" states=0 duration=119.825449ms 11:36:58 grafana | logger=ngalert.scheduler t=2024-03-29T11:35:20.248695666Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 11:36:58 grafana | logger=ticker t=2024-03-29T11:35:20.24884933Z level=info msg=starting first_tick=2024-03-29T11:35:30Z 11:36:58 grafana | logger=sqlstore.transactions t=2024-03-29T11:35:20.250341925Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:36:58 grafana | logger=sqlstore.transactions t=2024-03-29T11:35:20.365606034Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:36:58 grafana | logger=provisioning.dashboard t=2024-03-29T11:35:20.52037976Z level=info msg="finished to provision dashboards" 11:36:58 grafana | logger=grafana-apiserver t=2024-03-29T11:35:20.642833063Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 11:36:58 grafana | logger=grafana-apiserver t=2024-03-29T11:35:20.643545621Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 11:36:58 grafana | logger=infra.usagestats t=2024-03-29T11:36:00.134356039Z level=info msg="Usage stats are ready to report" 11:36:58 ++ echo 'Tearing down containers...' 11:36:58 Tearing down containers... 11:36:58 ++ docker-compose down -v --remove-orphans 11:36:58 Stopping grafana ... 11:36:58 Stopping policy-api ... 11:36:58 Stopping mariadb ... 11:36:58 Stopping prometheus ... 11:36:59 Stopping grafana ... done 11:36:59 Stopping prometheus ... done 11:36:59 Stopping mariadb ... done 11:37:09 Stopping policy-api ... done 11:37:09 Removing grafana ... 11:37:09 Removing policy-api ... 11:37:09 Removing policy-db-migrator ... 11:37:09 Removing mariadb ... 11:37:09 Removing prometheus ... 11:37:09 Removing policy-api ... done 11:37:09 Removing grafana ... done 11:37:09 Removing policy-db-migrator ... done 11:37:09 Removing mariadb ... done 11:37:09 Removing prometheus ... done 11:37:09 Removing network compose_default 11:37:09 ++ cd /w/workspace/policy-api-london-project-csit-api 11:37:09 + load_set 11:37:09 + _setopts=hxB 11:37:09 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:37:09 ++ tr : ' ' 11:37:09 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:09 + set +o braceexpand 11:37:09 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:09 + set +o hashall 11:37:09 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:09 + set +o interactive-comments 11:37:09 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:09 + set +o xtrace 11:37:09 ++ echo hxB 11:37:09 ++ sed 's/./& /g' 11:37:09 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:09 + set +h 11:37:09 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:09 + set +x 11:37:09 + [[ -n /tmp/tmp.vatOR5OlEV ]] 11:37:09 + rsync -av /tmp/tmp.vatOR5OlEV/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:37:09 sending incremental file list 11:37:09 ./ 11:37:09 log.html 11:37:09 output.xml 11:37:09 report.html 11:37:09 testplan.txt 11:37:09 11:37:09 sent 1,347,854 bytes received 95 bytes 2,695,898.00 bytes/sec 11:37:09 total size is 1,347,204 speedup is 1.00 11:37:09 + rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:37:09 + exit 0 11:37:09 $ ssh-agent -k 11:37:09 unset SSH_AUTH_SOCK; 11:37:09 unset SSH_AGENT_PID; 11:37:09 echo Agent pid 2116 killed; 11:37:09 [ssh-agent] Stopped. 11:37:09 Robot results publisher started... 11:37:09 INFO: Checking test criticality is deprecated and will be dropped in a future release! 11:37:09 -Parsing output xml: 11:37:09 Done! 11:37:09 WARNING! Could not find file: **/log.html 11:37:10 WARNING! Could not find file: **/report.html 11:37:10 -Copying log files to build dir: 11:37:10 Done! 11:37:10 -Assigning results to build: 11:37:10 Done! 11:37:10 -Checking thresholds: 11:37:10 Done! 11:37:10 Done publishing Robot results. 11:37:10 [PostBuildScript] - [INFO] Executing post build scripts. 11:37:10 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12289516328991066242.sh 11:37:10 ---> sysstat.sh 11:37:10 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13195075718650501337.sh 11:37:10 ---> package-listing.sh 11:37:10 ++ facter osfamily 11:37:10 ++ tr '[:upper:]' '[:lower:]' 11:37:10 + OS_FAMILY=debian 11:37:10 + workspace=/w/workspace/policy-api-london-project-csit-api 11:37:10 + START_PACKAGES=/tmp/packages_start.txt 11:37:10 + END_PACKAGES=/tmp/packages_end.txt 11:37:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:37:10 + PACKAGES=/tmp/packages_start.txt 11:37:10 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:37:10 + PACKAGES=/tmp/packages_end.txt 11:37:10 + case "${OS_FAMILY}" in 11:37:10 + dpkg -l 11:37:10 + grep '^ii' 11:37:10 + '[' -f /tmp/packages_start.txt ']' 11:37:10 + '[' -f /tmp/packages_end.txt ']' 11:37:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:37:10 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:37:10 + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ 11:37:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ 11:37:10 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5540371391527155973.sh 11:37:10 ---> capture-instance-metadata.sh 11:37:10 Setup pyenv: 11:37:11 system 11:37:11 3.8.13 11:37:11 3.9.13 11:37:11 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:11 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MH5H from file:/tmp/.os_lf_venv 11:37:12 lf-activate-venv(): INFO: Installing: lftools 11:37:22 lf-activate-venv(): INFO: Adding /tmp/venv-MH5H/bin to PATH 11:37:22 INFO: Running in OpenStack, capturing instance metadata 11:37:22 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4864285641478948711.sh 11:37:22 provisioning config files... 11:37:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config15255479869746263648tmp 11:37:22 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:37:22 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:37:22 [EnvInject] - Injecting environment variables from a build step. 11:37:22 [EnvInject] - Injecting as environment variables the properties content 11:37:22 SERVER_ID=logs 11:37:22 11:37:22 [EnvInject] - Variables injected successfully. 11:37:22 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8365481181878555229.sh 11:37:22 ---> create-netrc.sh 11:37:22 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8248393979446419.sh 11:37:22 ---> python-tools-install.sh 11:37:22 Setup pyenv: 11:37:22 system 11:37:22 3.8.13 11:37:22 3.9.13 11:37:22 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:23 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MH5H from file:/tmp/.os_lf_venv 11:37:24 lf-activate-venv(): INFO: Installing: lftools 11:37:32 lf-activate-venv(): INFO: Adding /tmp/venv-MH5H/bin to PATH 11:37:32 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6644004071821222306.sh 11:37:32 ---> sudo-logs.sh 11:37:32 Archiving 'sudo' log.. 11:37:32 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10172755877643433204.sh 11:37:32 ---> job-cost.sh 11:37:32 Setup pyenv: 11:37:32 system 11:37:32 3.8.13 11:37:32 3.9.13 11:37:32 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:33 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MH5H from file:/tmp/.os_lf_venv 11:37:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:37:39 lf-activate-venv(): INFO: Adding /tmp/venv-MH5H/bin to PATH 11:37:39 INFO: No Stack... 11:37:39 INFO: Retrieving Pricing Info for: v3-standard-8 11:37:39 INFO: Archiving Costs 11:37:39 [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins6868237072409202487.sh 11:37:39 ---> logs-deploy.sh 11:37:39 Setup pyenv: 11:37:39 system 11:37:39 3.8.13 11:37:39 3.9.13 11:37:39 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MH5H from file:/tmp/.os_lf_venv 11:37:41 lf-activate-venv(): INFO: Installing: lftools 11:37:49 lf-activate-venv(): INFO: Adding /tmp/venv-MH5H/bin to PATH 11:37:49 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/315 11:37:49 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:37:50 Archives upload complete. 11:37:51 INFO: archiving logs to Nexus 11:37:51 ---> uname -a: 11:37:51 Linux prd-ubuntu1804-docker-8c-8g-19078 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:37:51 11:37:51 11:37:51 ---> lscpu: 11:37:51 Architecture: x86_64 11:37:51 CPU op-mode(s): 32-bit, 64-bit 11:37:51 Byte Order: Little Endian 11:37:51 CPU(s): 8 11:37:51 On-line CPU(s) list: 0-7 11:37:51 Thread(s) per core: 1 11:37:51 Core(s) per socket: 1 11:37:51 Socket(s): 8 11:37:51 NUMA node(s): 1 11:37:51 Vendor ID: AuthenticAMD 11:37:51 CPU family: 23 11:37:51 Model: 49 11:37:51 Model name: AMD EPYC-Rome Processor 11:37:51 Stepping: 0 11:37:51 CPU MHz: 2799.998 11:37:51 BogoMIPS: 5599.99 11:37:51 Virtualization: AMD-V 11:37:51 Hypervisor vendor: KVM 11:37:51 Virtualization type: full 11:37:51 L1d cache: 32K 11:37:51 L1i cache: 32K 11:37:51 L2 cache: 512K 11:37:51 L3 cache: 16384K 11:37:51 NUMA node0 CPU(s): 0-7 11:37:51 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:37:51 11:37:51 11:37:51 ---> nproc: 11:37:51 8 11:37:51 11:37:51 11:37:51 ---> df -h: 11:37:51 Filesystem Size Used Avail Use% Mounted on 11:37:51 udev 16G 0 16G 0% /dev 11:37:51 tmpfs 3.2G 708K 3.2G 1% /run 11:37:51 /dev/vda1 155G 12G 144G 8% / 11:37:51 tmpfs 16G 0 16G 0% /dev/shm 11:37:51 tmpfs 5.0M 0 5.0M 0% /run/lock 11:37:51 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:37:51 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:37:51 tmpfs 3.2G 0 3.2G 0% /run/user/1001 11:37:51 11:37:51 11:37:51 ---> free -m: 11:37:51 total used free shared buff/cache available 11:37:51 Mem: 32167 822 27454 0 3890 30888 11:37:51 Swap: 1023 0 1023 11:37:51 11:37:51 11:37:52 ---> ip addr: 11:37:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:37:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:37:52 inet 127.0.0.1/8 scope host lo 11:37:52 valid_lft forever preferred_lft forever 11:37:52 inet6 ::1/128 scope host 11:37:52 valid_lft forever preferred_lft forever 11:37:52 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:37:52 link/ether fa:16:3e:c3:6c:ac brd ff:ff:ff:ff:ff:ff 11:37:52 inet 10.30.106.221/23 brd 10.30.107.255 scope global dynamic ens3 11:37:52 valid_lft 86073sec preferred_lft 86073sec 11:37:52 inet6 fe80::f816:3eff:fec3:6cac/64 scope link 11:37:52 valid_lft forever preferred_lft forever 11:37:52 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 11:37:52 link/ether 02:42:79:c5:cb:b7 brd ff:ff:ff:ff:ff:ff 11:37:52 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:37:52 valid_lft forever preferred_lft forever 11:37:52 11:37:52 11:37:52 ---> sar -b -r -n DEV: 11:37:52 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-19078) 03/29/24 _x86_64_ (8 CPU) 11:37:52 11:37:52 11:32:27 LINUX RESTART (8 CPU) 11:37:52 11:37:52 11:33:01 tps rtps wtps bread/s bwrtn/s 11:37:52 11:34:01 115.77 37.79 77.98 1739.24 28772.82 11:37:52 11:35:01 159.16 23.18 135.98 2794.47 36690.95 11:37:52 11:36:01 353.89 12.86 341.03 800.80 79117.70 11:37:52 11:37:01 38.08 0.00 38.08 0.00 22894.57 11:37:52 Average: 166.72 18.46 148.26 1333.68 41867.37 11:37:52 11:37:52 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:37:52 11:34:01 30118688 31714124 2820532 8.56 70624 1835360 1392852 4.10 861080 1670300 173124 11:37:52 11:35:01 28302704 31659368 4636516 14.08 109064 3499544 1548476 4.56 999000 3237320 1426656 11:37:52 11:36:01 26947008 30529460 5992212 18.19 127156 3659296 4603708 13.55 2215508 3328216 84 11:37:52 11:37:01 27098960 30703412 5840260 17.73 127572 3686084 3043176 8.95 2066056 3339636 76 11:37:52 Average: 28116840 31151591 4822380 14.64 108604 3170071 2647053 7.79 1535411 2893868 399985 11:37:52 11:37:52 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:37:52 11:34:01 ens3 107.61 72.17 1012.78 15.27 0.00 0.00 0.00 0.00 11:37:52 11:34:01 lo 1.67 1.67 0.18 0.18 0.00 0.00 0.00 0.00 11:37:52 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:52 11:35:01 ens3 320.60 200.27 9270.74 18.84 0.00 0.00 0.00 0.00 11:37:52 11:35:01 lo 9.40 9.40 0.87 0.87 0.00 0.00 0.00 0.00 11:37:52 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:52 11:35:01 br-a577055d3e51 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:52 11:36:01 ens3 7.87 7.17 1.96 2.52 0.00 0.00 0.00 0.00 11:37:52 11:36:01 vethf65eec0 0.13 0.32 0.01 0.27 0.00 0.00 0.00 0.00 11:37:52 11:36:01 veth2f7c8b9 119.70 149.31 119.69 44.71 0.00 0.00 0.00 0.01 11:37:52 11:36:01 lo 7.35 7.35 8.14 8.14 0.00 0.00 0.00 0.00 11:37:52 11:37:01 ens3 13.98 14.86 7.84 7.88 0.00 0.00 0.00 0.00 11:37:52 11:37:01 lo 11.06 11.06 0.84 0.84 0.00 0.00 0.00 0.00 11:37:52 11:37:01 veth6b2bed8 116.40 96.53 47.02 119.19 0.00 0.00 0.00 0.01 11:37:52 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:52 Average: ens3 112.51 73.62 2573.14 11.13 0.00 0.00 0.00 0.00 11:37:52 Average: lo 7.37 7.37 2.51 2.51 0.00 0.00 0.00 0.00 11:37:52 Average: veth6b2bed8 29.10 24.13 11.75 29.79 0.00 0.00 0.00 0.00 11:37:52 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:52 11:37:52 11:37:52 ---> sar -P ALL: 11:37:52 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-19078) 03/29/24 _x86_64_ (8 CPU) 11:37:52 11:37:52 11:32:27 LINUX RESTART (8 CPU) 11:37:52 11:37:52 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:37:52 11:34:01 all 10.87 0.00 0.88 1.50 0.03 86.72 11:37:52 11:34:01 0 3.37 0.00 0.92 5.52 0.02 90.17 11:37:52 11:34:01 1 6.74 0.00 0.40 4.09 0.02 88.76 11:37:52 11:34:01 2 32.53 0.00 1.98 1.10 0.05 64.34 11:37:52 11:34:01 3 22.57 0.00 1.24 0.68 0.07 75.44 11:37:52 11:34:01 4 13.54 0.00 1.00 0.20 0.05 85.21 11:37:52 11:34:01 5 2.29 0.00 0.43 0.02 0.02 97.24 11:37:52 11:34:01 6 4.95 0.00 0.63 0.35 0.03 94.03 11:37:52 11:34:01 7 0.95 0.00 0.40 0.03 0.03 98.58 11:37:52 11:35:01 all 12.34 0.00 2.89 1.46 0.06 83.25 11:37:52 11:35:01 0 5.86 0.00 2.97 2.40 0.07 88.70 11:37:52 11:35:01 1 4.51 0.00 1.61 5.60 0.03 88.25 11:37:52 11:35:01 2 10.09 0.00 3.59 0.12 0.03 86.17 11:37:52 11:35:01 3 40.55 0.00 3.63 2.14 0.10 53.58 11:37:52 11:35:01 4 12.68 0.00 3.24 0.37 0.08 83.62 11:37:52 11:35:01 5 7.26 0.00 2.33 0.15 0.03 90.23 11:37:52 11:35:01 6 8.09 0.00 2.96 0.17 0.07 88.72 11:37:52 11:35:01 7 9.74 0.00 2.81 0.72 0.07 86.66 11:37:52 11:36:01 all 18.58 0.00 2.66 3.34 0.06 75.35 11:37:52 11:36:01 0 22.13 0.00 3.07 1.42 0.07 73.32 11:37:52 11:36:01 1 12.70 0.00 3.08 16.33 0.08 67.80 11:37:52 11:36:01 2 18.26 0.00 2.06 2.35 0.07 77.26 11:37:52 11:36:01 3 22.28 0.00 3.20 0.99 0.07 73.47 11:37:52 11:36:01 4 21.55 0.00 2.91 4.09 0.07 71.39 11:37:52 11:36:01 5 13.30 0.00 1.81 0.28 0.07 84.55 11:37:52 11:36:01 6 12.78 0.00 2.11 0.50 0.05 84.55 11:37:52 11:36:01 7 25.65 0.00 3.05 0.80 0.07 70.43 11:37:52 11:37:01 all 0.98 0.00 0.28 1.09 0.03 97.63 11:37:52 11:37:01 0 0.63 0.00 0.30 0.08 0.00 98.98 11:37:52 11:37:01 1 0.25 0.00 0.20 7.18 0.03 92.34 11:37:52 11:37:01 2 1.70 0.00 0.28 0.05 0.02 97.95 11:37:52 11:37:01 3 0.78 0.00 0.37 0.38 0.03 98.43 11:37:52 11:37:01 4 0.63 0.00 0.28 0.10 0.05 98.93 11:37:52 11:37:01 5 2.43 0.00 0.26 0.62 0.03 96.64 11:37:52 11:37:01 6 0.53 0.00 0.30 0.27 0.03 98.87 11:37:52 11:37:01 7 0.83 0.00 0.20 0.03 0.00 98.93 11:37:52 Average: all 10.68 0.00 1.67 1.85 0.05 85.76 11:37:52 Average: 0 7.99 0.00 1.81 2.36 0.04 87.81 11:37:52 Average: 1 6.04 0.00 1.32 8.29 0.04 84.30 11:37:52 Average: 2 15.65 0.00 1.98 0.90 0.04 81.43 11:37:52 Average: 3 21.51 0.00 2.10 1.05 0.07 75.27 11:37:52 Average: 4 12.08 0.00 1.85 1.18 0.06 84.82 11:37:52 Average: 5 6.31 0.00 1.20 0.27 0.04 92.18 11:37:52 Average: 6 6.58 0.00 1.50 0.32 0.05 91.56 11:37:52 Average: 7 9.27 0.00 1.61 0.40 0.04 88.68 11:37:52 11:37:52 11:37:52