11:33:06 Started by timer 11:33:06 Running as SYSTEM 11:33:06 [EnvInject] - Loading node environment variables. 11:33:06 Building remotely on prd-ubuntu1804-docker-8c-8g-14296 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-project-csit-api 11:33:06 [ssh-agent] Looking for ssh-agent implementation... 11:33:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:33:06 $ ssh-agent 11:33:06 SSH_AUTH_SOCK=/tmp/ssh-wEQTcYQaArZ0/agent.2069 11:33:06 SSH_AGENT_PID=2071 11:33:06 [ssh-agent] Started. 11:33:06 Running ssh-add (command line suppressed) 11:33:06 Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_14334758222473243352.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_14334758222473243352.key) 11:33:06 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 11:33:06 The recommended git tool is: NONE 11:33:08 using credential onap-jenkins-ssh 11:33:08 Wiping out workspace first. 11:33:08 Cloning the remote Git repository 11:33:08 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 11:33:08 > git init /w/workspace/policy-api-london-project-csit-api # timeout=10 11:33:08 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 11:33:08 > git --version # timeout=10 11:33:08 > git --version # 'git version 2.17.1' 11:33:08 using GIT_SSH to set credentials Gerrit user 11:33:08 Verifying host key using manually-configured host key entries 11:33:08 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 11:33:09 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 11:33:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:33:09 Avoid second fetch 11:33:09 > git rev-parse refs/remotes/origin/london^{commit} # timeout=10 11:33:09 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) 11:33:09 > git config core.sparsecheckout # timeout=10 11:33:09 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 11:33:09 Commit message: "Make update to allow local image to be used in Nordix" 11:33:09 > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=10 11:33:09 provisioning config files... 11:33:09 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:33:09 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:33:09 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16296172047159921599.sh 11:33:09 ---> python-tools-install.sh 11:33:09 Setup pyenv: 11:33:09 * system (set by /opt/pyenv/version) 11:33:09 * 3.8.13 (set by /opt/pyenv/version) 11:33:09 * 3.9.13 (set by /opt/pyenv/version) 11:33:10 * 3.10.6 (set by /opt/pyenv/version) 11:33:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PxPL 11:33:14 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:33:17 lf-activate-venv(): INFO: Installing: lftools 11:33:53 lf-activate-venv(): INFO: Adding /tmp/venv-PxPL/bin to PATH 11:33:53 Generating Requirements File 11:34:22 Python 3.10.6 11:34:23 pip 24.0 from /tmp/venv-PxPL/lib/python3.10/site-packages/pip (python 3.10) 11:34:23 appdirs==1.4.4 11:34:23 argcomplete==3.2.3 11:34:23 aspy.yaml==1.3.0 11:34:23 attrs==23.2.0 11:34:23 autopage==0.5.2 11:34:23 beautifulsoup4==4.12.3 11:34:23 boto3==1.34.65 11:34:23 botocore==1.34.65 11:34:23 bs4==0.0.2 11:34:23 cachetools==5.3.3 11:34:23 certifi==2024.2.2 11:34:23 cffi==1.16.0 11:34:23 cfgv==3.4.0 11:34:23 chardet==5.2.0 11:34:23 charset-normalizer==3.3.2 11:34:23 click==8.1.7 11:34:23 cliff==4.6.0 11:34:23 cmd2==2.4.3 11:34:23 cryptography==3.3.2 11:34:23 debtcollector==3.0.0 11:34:23 decorator==5.1.1 11:34:23 defusedxml==0.7.1 11:34:23 Deprecated==1.2.14 11:34:23 distlib==0.3.8 11:34:23 dnspython==2.6.1 11:34:23 docker==4.2.2 11:34:23 dogpile.cache==1.3.2 11:34:23 email_validator==2.1.1 11:34:23 filelock==3.13.1 11:34:23 future==1.0.0 11:34:23 gitdb==4.0.11 11:34:23 GitPython==3.1.42 11:34:23 google-auth==2.28.2 11:34:23 httplib2==0.22.0 11:34:23 identify==2.5.35 11:34:23 idna==3.6 11:34:23 importlib-resources==1.5.0 11:34:23 iso8601==2.1.0 11:34:23 Jinja2==3.1.3 11:34:23 jmespath==1.0.1 11:34:23 jsonpatch==1.33 11:34:23 jsonpointer==2.4 11:34:23 jsonschema==4.21.1 11:34:23 jsonschema-specifications==2023.12.1 11:34:23 keystoneauth1==5.6.0 11:34:23 kubernetes==29.0.0 11:34:23 lftools==0.37.10 11:34:23 lxml==5.1.0 11:34:23 MarkupSafe==2.1.5 11:34:23 msgpack==1.0.8 11:34:23 multi_key_dict==2.0.3 11:34:23 munch==4.0.0 11:34:23 netaddr==1.2.1 11:34:23 netifaces==0.11.0 11:34:23 niet==1.4.2 11:34:23 nodeenv==1.8.0 11:34:23 oauth2client==4.1.3 11:34:23 oauthlib==3.2.2 11:34:23 openstacksdk==3.0.0 11:34:23 os-client-config==2.1.0 11:34:23 os-service-types==1.7.0 11:34:23 osc-lib==3.0.1 11:34:23 oslo.config==9.4.0 11:34:23 oslo.context==5.5.0 11:34:23 oslo.i18n==6.3.0 11:34:23 oslo.log==5.5.0 11:34:23 oslo.serialization==5.4.0 11:34:23 oslo.utils==7.1.0 11:34:23 packaging==24.0 11:34:23 pbr==6.0.0 11:34:23 platformdirs==4.2.0 11:34:23 prettytable==3.10.0 11:34:23 pyasn1==0.5.1 11:34:23 pyasn1-modules==0.3.0 11:34:23 pycparser==2.21 11:34:23 pygerrit2==2.0.15 11:34:23 PyGithub==2.2.0 11:34:23 pyinotify==0.9.6 11:34:23 PyJWT==2.8.0 11:34:23 PyNaCl==1.5.0 11:34:23 pyparsing==2.4.7 11:34:23 pyperclip==1.8.2 11:34:23 pyrsistent==0.20.0 11:34:23 python-cinderclient==9.5.0 11:34:23 python-dateutil==2.9.0.post0 11:34:23 python-heatclient==3.5.0 11:34:23 python-jenkins==1.8.2 11:34:23 python-keystoneclient==5.4.0 11:34:23 python-magnumclient==4.4.0 11:34:23 python-novaclient==18.6.0 11:34:23 python-openstackclient==6.6.0 11:34:23 python-swiftclient==4.5.0 11:34:23 PyYAML==6.0.1 11:34:23 referencing==0.34.0 11:34:23 requests==2.31.0 11:34:23 requests-oauthlib==1.4.0 11:34:23 requestsexceptions==1.4.0 11:34:23 rfc3986==2.0.0 11:34:23 rpds-py==0.18.0 11:34:23 rsa==4.9 11:34:23 ruamel.yaml==0.18.6 11:34:23 ruamel.yaml.clib==0.2.8 11:34:23 s3transfer==0.10.1 11:34:23 simplejson==3.19.2 11:34:23 six==1.16.0 11:34:23 smmap==5.0.1 11:34:23 soupsieve==2.5 11:34:23 stevedore==5.2.0 11:34:23 tabulate==0.9.0 11:34:23 toml==0.10.2 11:34:23 tomlkit==0.12.4 11:34:23 tqdm==4.66.2 11:34:23 typing_extensions==4.10.0 11:34:23 tzdata==2024.1 11:34:23 urllib3==1.26.18 11:34:23 virtualenv==20.25.1 11:34:23 wcwidth==0.2.13 11:34:23 websocket-client==1.7.0 11:34:23 wrapt==1.16.0 11:34:23 xdg==6.0.0 11:34:23 xmltodict==0.13.0 11:34:23 yq==3.2.3 11:34:23 [EnvInject] - Injecting environment variables from a build step. 11:34:23 [EnvInject] - Injecting as environment variables the properties content 11:34:23 SET_JDK_VERSION=openjdk17 11:34:23 GIT_URL="git://cloud.onap.org/mirror" 11:34:23 11:34:23 [EnvInject] - Variables injected successfully. 11:34:23 [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins10158613664119838490.sh 11:34:23 ---> update-java-alternatives.sh 11:34:23 ---> Updating Java version 11:34:23 ---> Ubuntu/Debian system detected 11:34:24 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:34:24 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:34:24 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:24 openjdk version "17.0.4" 2022-07-19 11:34:24 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:34:24 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:34:24 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:34:24 [EnvInject] - Injecting environment variables from a build step. 11:34:24 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:34:24 [EnvInject] - Variables injected successfully. 11:34:24 [policy-api-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins4789134745232379991.sh 11:34:24 + /w/workspace/policy-api-london-project-csit-api/csit/run-project-csit.sh api 11:34:24 + set +u 11:34:24 + save_set 11:34:24 + RUN_CSIT_SAVE_SET=ehxB 11:34:24 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 11:34:24 + '[' 1 -eq 0 ']' 11:34:24 + '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:24 + 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:24 + 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:24 + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:34:24 + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts 11:34:24 + export ROBOT_VARIABLES= 11:34:24 + ROBOT_VARIABLES= 11:34:24 + export PROJECT=api 11:34:24 + PROJECT=api 11:34:24 + cd /w/workspace/policy-api-london-project-csit-api 11:34:24 + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:34:24 + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:34:24 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:34:24 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 11:34:24 + relax_set 11:34:24 + set +e 11:34:24 + set +o pipefail 11:34:24 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 11:34:24 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:24 +++ mktemp -d 11:34:24 ++ ROBOT_VENV=/tmp/tmp.1pS2pRWzOl 11:34:24 ++ echo ROBOT_VENV=/tmp/tmp.1pS2pRWzOl 11:34:24 +++ python3 --version 11:34:24 ++ echo 'Python version is: Python 3.6.9' 11:34:24 Python version is: Python 3.6.9 11:34:24 ++ python3 -m venv --clear /tmp/tmp.1pS2pRWzOl 11:34:25 ++ source /tmp/tmp.1pS2pRWzOl/bin/activate 11:34:25 +++ deactivate nondestructive 11:34:25 +++ '[' -n '' ']' 11:34:25 +++ '[' -n '' ']' 11:34:25 +++ '[' -n /bin/bash -o -n '' ']' 11:34:25 +++ hash -r 11:34:25 +++ '[' -n '' ']' 11:34:25 +++ unset VIRTUAL_ENV 11:34:25 +++ '[' '!' nondestructive = nondestructive ']' 11:34:25 +++ VIRTUAL_ENV=/tmp/tmp.1pS2pRWzOl 11:34:25 +++ export VIRTUAL_ENV 11:34:25 +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin 11:34:25 +++ PATH=/tmp/tmp.1pS2pRWzOl/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:25 +++ export PATH 11:34:25 +++ '[' -n '' ']' 11:34:25 +++ '[' -z '' ']' 11:34:25 +++ _OLD_VIRTUAL_PS1= 11:34:25 +++ '[' 'x(tmp.1pS2pRWzOl) ' '!=' x ']' 11:34:25 +++ PS1='(tmp.1pS2pRWzOl) ' 11:34:25 +++ export PS1 11:34:25 +++ '[' -n /bin/bash -o -n '' ']' 11:34:25 +++ hash -r 11:34:25 ++ set -exu 11:34:25 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 11:34:29 ++ echo 'Installing Python Requirements' 11:34:29 Installing Python Requirements 11:34:29 ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt 11:34:48 ++ python3 -m pip -qq freeze 11:34:48 bcrypt==4.0.1 11:34:48 beautifulsoup4==4.12.3 11:34:48 bitarray==2.9.2 11:34:48 certifi==2024.2.2 11:34:48 cffi==1.15.1 11:34:48 charset-normalizer==2.0.12 11:34:48 cryptography==40.0.2 11:34:48 decorator==5.1.1 11:34:48 elasticsearch==7.17.9 11:34:48 elasticsearch-dsl==7.4.1 11:34:48 enum34==1.1.10 11:34:48 idna==3.6 11:34:48 importlib-resources==5.4.0 11:34:48 ipaddr==2.2.0 11:34:48 isodate==0.6.1 11:34:48 jmespath==0.10.0 11:34:48 jsonpatch==1.32 11:34:48 jsonpath-rw==1.4.0 11:34:48 jsonpointer==2.3 11:34:48 lxml==5.1.0 11:34:48 netaddr==0.8.0 11:34:48 netifaces==0.11.0 11:34:48 odltools==0.1.28 11:34:48 paramiko==3.4.0 11:34:48 pkg_resources==0.0.0 11:34:48 ply==3.11 11:34:48 pyang==2.6.0 11:34:48 pyangbind==0.8.1 11:34:48 pycparser==2.21 11:34:48 pyhocon==0.3.60 11:34:48 PyNaCl==1.5.0 11:34:48 pyparsing==3.1.2 11:34:48 python-dateutil==2.9.0.post0 11:34:48 regex==2023.8.8 11:34:48 requests==2.27.1 11:34:48 robotframework==6.1.1 11:34:48 robotframework-httplibrary==0.4.2 11:34:48 robotframework-pythonlibcore==3.0.0 11:34:48 robotframework-requests==0.9.4 11:34:48 robotframework-selenium2library==3.0.0 11:34:48 robotframework-seleniumlibrary==5.1.3 11:34:48 robotframework-sshlibrary==3.8.0 11:34:48 scapy==2.5.0 11:34:48 scp==0.14.5 11:34:48 selenium==3.141.0 11:34:48 six==1.16.0 11:34:48 soupsieve==2.3.2.post1 11:34:48 urllib3==1.26.18 11:34:48 waitress==2.0.0 11:34:48 WebOb==1.8.7 11:34:48 WebTest==3.0.0 11:34:48 zipp==3.6.0 11:34:48 ++ mkdir -p /tmp/tmp.1pS2pRWzOl/src/onap 11:34:48 ++ rm -rf /tmp/tmp.1pS2pRWzOl/src/onap/testsuite 11:34:48 ++ 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:54 ++ echo 'Uninstall docker-py and reinstall docker.' 11:34:54 Uninstall docker-py and reinstall docker. 11:34:54 ++ python3 -m pip uninstall -y -qq docker 11:34:54 ++ python3 -m pip install -U -qq docker 11:34:55 ++ python3 -m pip -qq freeze 11:34:56 bcrypt==4.0.1 11:34:56 beautifulsoup4==4.12.3 11:34:56 bitarray==2.9.2 11:34:56 certifi==2024.2.2 11:34:56 cffi==1.15.1 11:34:56 charset-normalizer==2.0.12 11:34:56 cryptography==40.0.2 11:34:56 decorator==5.1.1 11:34:56 deepdiff==5.7.0 11:34:56 dnspython==2.2.1 11:34:56 docker==5.0.3 11:34:56 elasticsearch==7.17.9 11:34:56 elasticsearch-dsl==7.4.1 11:34:56 enum34==1.1.10 11:34:56 future==1.0.0 11:34:56 idna==3.6 11:34:56 importlib-resources==5.4.0 11:34:56 ipaddr==2.2.0 11:34:56 isodate==0.6.1 11:34:56 Jinja2==3.0.3 11:34:56 jmespath==0.10.0 11:34:56 jsonpatch==1.32 11:34:56 jsonpath-rw==1.4.0 11:34:56 jsonpointer==2.3 11:34:56 kafka-python==2.0.2 11:34:56 lxml==5.1.0 11:34:56 MarkupSafe==2.0.1 11:34:56 more-itertools==5.0.0 11:34:56 netaddr==0.8.0 11:34:56 netifaces==0.11.0 11:34:56 odltools==0.1.28 11:34:56 ordered-set==4.0.2 11:34:56 paramiko==3.4.0 11:34:56 pbr==6.0.0 11:34:56 pkg_resources==0.0.0 11:34:56 ply==3.11 11:34:56 protobuf==3.19.6 11:34:56 pyang==2.6.0 11:34:56 pyangbind==0.8.1 11:34:56 pycparser==2.21 11:34:56 pyhocon==0.3.60 11:34:56 PyNaCl==1.5.0 11:34:56 pyparsing==3.1.2 11:34:56 python-dateutil==2.9.0.post0 11:34:56 PyYAML==6.0.1 11:34:56 regex==2023.8.8 11:34:56 requests==2.27.1 11:34:56 robotframework==6.1.1 11:34:56 robotframework-httplibrary==0.4.2 11:34:56 robotframework-onap==0.6.0.dev105 11:34:56 robotframework-pythonlibcore==3.0.0 11:34:56 robotframework-requests==0.9.4 11:34:56 robotframework-selenium2library==3.0.0 11:34:56 robotframework-seleniumlibrary==5.1.3 11:34:56 robotframework-sshlibrary==3.8.0 11:34:56 robotlibcore-temp==1.0.2 11:34:56 scapy==2.5.0 11:34:56 scp==0.14.5 11:34:56 selenium==3.141.0 11:34:56 six==1.16.0 11:34:56 soupsieve==2.3.2.post1 11:34:56 urllib3==1.26.18 11:34:56 waitress==2.0.0 11:34:56 WebOb==1.8.7 11:34:56 websocket-client==1.3.1 11:34:56 WebTest==3.0.0 11:34:56 zipp==3.6.0 11:34:56 ++ uname 11:34:56 ++ grep -q Linux 11:34:56 ++ sudo apt-get -y -qq install libxml2-utils 11:34:56 + load_set 11:34:56 + _setopts=ehuxB 11:34:56 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 11:34:56 ++ tr : ' ' 11:34:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:56 + set +o braceexpand 11:34:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:56 + set +o hashall 11:34:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:56 + set +o interactive-comments 11:34:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:56 + set +o nounset 11:34:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:56 + set +o xtrace 11:34:56 ++ echo ehuxB 11:34:56 ++ sed 's/./& /g' 11:34:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:56 + set +e 11:34:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:56 + set +h 11:34:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:56 + set +u 11:34:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:56 + set +x 11:34:56 + source_safely /tmp/tmp.1pS2pRWzOl/bin/activate 11:34:56 + '[' -z /tmp/tmp.1pS2pRWzOl/bin/activate ']' 11:34:56 + relax_set 11:34:56 + set +e 11:34:56 + set +o pipefail 11:34:56 + . /tmp/tmp.1pS2pRWzOl/bin/activate 11:34:56 ++ deactivate nondestructive 11:34:56 ++ '[' -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:56 ++ 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:56 ++ export PATH 11:34:56 ++ unset _OLD_VIRTUAL_PATH 11:34:56 ++ '[' -n '' ']' 11:34:56 ++ '[' -n /bin/bash -o -n '' ']' 11:34:56 ++ hash -r 11:34:56 ++ '[' -n '' ']' 11:34:56 ++ unset VIRTUAL_ENV 11:34:56 ++ '[' '!' nondestructive = nondestructive ']' 11:34:56 ++ VIRTUAL_ENV=/tmp/tmp.1pS2pRWzOl 11:34:56 ++ export VIRTUAL_ENV 11:34:56 ++ _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:56 ++ PATH=/tmp/tmp.1pS2pRWzOl/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:56 ++ export PATH 11:34:56 ++ '[' -n '' ']' 11:34:56 ++ '[' -z '' ']' 11:34:56 ++ _OLD_VIRTUAL_PS1='(tmp.1pS2pRWzOl) ' 11:34:56 ++ '[' 'x(tmp.1pS2pRWzOl) ' '!=' x ']' 11:34:56 ++ PS1='(tmp.1pS2pRWzOl) (tmp.1pS2pRWzOl) ' 11:34:56 ++ export PS1 11:34:56 ++ '[' -n /bin/bash -o -n '' ']' 11:34:56 ++ hash -r 11:34:56 + load_set 11:34:56 + _setopts=hxB 11:34:56 ++ tr : ' ' 11:34:56 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:34:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:56 + set +o braceexpand 11:34:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:56 + set +o hashall 11:34:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:56 + set +o interactive-comments 11:34:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:34:56 + set +o xtrace 11:34:56 ++ echo hxB 11:34:56 ++ sed 's/./& /g' 11:34:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:56 + set +h 11:34:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:34:56 + set +x 11:34:56 + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:34:56 + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests 11:34:56 + export TEST_OPTIONS= 11:34:56 + TEST_OPTIONS= 11:34:56 ++ mktemp -d 11:34:56 + WORKDIR=/tmp/tmp.amAU1KACYx 11:34:56 + cd /tmp/tmp.amAU1KACYx 11:34:56 + docker login -u docker -p docker nexus3.onap.org:10001 11:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:56 Configure a credential helper to remove this warning. See 11:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:56 11:34:56 Login Succeeded 11:34:56 + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:56 + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:34:56 + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' 11:34:56 Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:56 + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:56 + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' 11:34:56 + relax_set 11:34:56 + set +e 11:34:56 + set +o pipefail 11:34:56 + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh 11:34:56 ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh 11:34:56 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:56 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview 11:34:56 +++ GERRIT_BRANCH=london 11:34:56 +++ echo GERRIT_BRANCH=london 11:34:56 GERRIT_BRANCH=london 11:34:56 +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:34:56 +++ mkdir /w/workspace/policy-api-london-project-csit-api/models 11:34:56 +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models 11:34:56 Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... 11:34:57 +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:34:57 +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies 11:34:57 +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:34:57 +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates 11:34:57 +++ 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:57 +++ 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:57 ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana 11:34:57 +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:34:57 +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:34:57 +++ grafana=false 11:34:57 +++ gui=false 11:34:57 +++ [[ 2 -gt 0 ]] 11:34:57 +++ key=api 11:34:57 +++ case $key in 11:34:57 +++ echo api 11:34:57 api 11:34:57 +++ component=api 11:34:57 +++ shift 11:34:57 +++ [[ 1 -gt 0 ]] 11:34:57 +++ key=--grafana 11:34:57 +++ case $key in 11:34:57 +++ grafana=true 11:34:57 +++ shift 11:34:57 +++ [[ 0 -gt 0 ]] 11:34:57 +++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:34:57 +++ echo 'Configuring docker compose...' 11:34:57 Configuring docker compose... 11:34:57 +++ source export-ports.sh 11:34:57 +++ source get-versions.sh 11:35:00 +++ '[' -z api ']' 11:35:00 +++ '[' -n api ']' 11:35:00 +++ '[' api == logs ']' 11:35:00 +++ '[' true = true ']' 11:35:00 +++ echo 'Starting api application with Grafana' 11:35:00 Starting api application with Grafana 11:35:00 +++ docker-compose up -d api grafana 11:35:01 Creating network "compose_default" with the default driver 11:35:01 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 11:35:01 10.10.2: Pulling from mariadb 11:35:06 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 11:35:06 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 11:35:07 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 11:35:07 2.6.2: Pulling from onap/policy-db-migrator 11:35:10 Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 11:35:10 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 11:35:10 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 11:35:10 2.8.2: Pulling from onap/policy-api 11:35:12 Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d 11:35:12 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 11:35:12 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 11:35:12 latest: Pulling from prom/prometheus 11:35:16 Digest: sha256:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e 11:35:16 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 11:35:16 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 11:35:16 latest: Pulling from grafana/grafana 11:35:21 Digest: sha256:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 11:35:21 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 11:35:21 Creating mariadb ... 11:35:21 Creating prometheus ... 11:35:35 Creating mariadb ... done 11:35:35 Creating policy-db-migrator ... 11:35:36 Creating policy-db-migrator ... done 11:35:36 Creating policy-api ... 11:35:37 Creating policy-api ... done 11:35:37 Creating prometheus ... done 11:35:37 Creating grafana ... 11:35:38 Creating grafana ... done 11:35:38 +++ echo 'Prometheus server: http://localhost:30259' 11:35:38 Prometheus server: http://localhost:30259 11:35:38 +++ echo 'Grafana server: http://localhost:30269' 11:35:38 Grafana server: http://localhost:30269 11:35:38 +++ cd /w/workspace/policy-api-london-project-csit-api 11:35:38 ++ sleep 10 11:35:48 ++ unset http_proxy https_proxy 11:35:48 ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 11:35:48 Waiting for REST to come up on localhost port 30002... 11:35:48 NAMES STATUS 11:35:48 grafana Up 10 seconds 11:35:48 policy-api Up 11 seconds 11:35:48 prometheus Up 10 seconds 11:35:48 mariadb Up 12 seconds 11:35:53 NAMES STATUS 11:35:53 grafana Up 15 seconds 11:35:53 policy-api Up 16 seconds 11:35:53 prometheus Up 15 seconds 11:35:53 mariadb Up 17 seconds 11:35:58 NAMES STATUS 11:35:58 grafana Up 20 seconds 11:35:58 policy-api Up 21 seconds 11:35:58 prometheus Up 21 seconds 11:35:58 mariadb Up 23 seconds 11:36:03 NAMES STATUS 11:36:03 grafana Up 25 seconds 11:36:03 policy-api Up 26 seconds 11:36:03 prometheus Up 26 seconds 11:36:03 mariadb Up 28 seconds 11:36:03 ++ export 'SUITES=api-test.robot 11:36:03 api-slas.robot' 11:36:03 ++ SUITES='api-test.robot 11:36:03 api-slas.robot' 11:36:03 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:36:03 -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:36:03 + load_set 11:36:03 + _setopts=hxB 11:36:03 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:36:03 ++ tr : ' ' 11:36:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:03 + set +o braceexpand 11:36:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:03 + set +o hashall 11:36:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:03 + set +o interactive-comments 11:36:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:36:03 + set +o xtrace 11:36:03 ++ echo hxB 11:36:03 ++ sed 's/./& /g' 11:36:03 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:03 + set +h 11:36:03 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:36:03 + set +x 11:36:03 + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 11:36:03 + docker_stats 11:36:03 ++ uname -s 11:36:03 + '[' Linux == Darwin ']' 11:36:03 + sh -c 'top -bn1 | head -3' 11:36:03 top - 11:36:03 up 3 min, 0 users, load average: 1.71, 0.80, 0.32 11:36:03 Tasks: 180 total, 1 running, 101 sleeping, 0 stopped, 0 zombie 11:36:03 %Cpu(s): 11.0 us, 2.1 sy, 0.0 ni, 82.0 id, 4.8 wa, 0.0 hi, 0.1 si, 0.1 st 11:36:03 + echo 11:36:03 11:36:03 + sh -c 'free -h' 11:36:03 total used free shared buff/cache available 11:36:03 Mem: 31G 1.9G 25G 1.0M 3.8G 29G 11:36:03 Swap: 1.0G 0B 1.0G 11:36:03 + echo 11:36:03 11:36:03 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:36:03 NAMES STATUS 11:36:03 grafana Up 25 seconds 11:36:03 policy-api Up 26 seconds 11:36:03 prometheus Up 26 seconds 11:36:03 mariadb Up 28 seconds 11:36:03 + echo 11:36:03 + docker stats --no-stream 11:36:03 11:36:06 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:36:06 15b0656e776c grafana 0.03% 55.23MiB / 31.41GiB 0.17% 18.2kB / 3.18kB 0B / 24.5MB 15 11:36:06 c7c1694dd6ec policy-api 0.10% 915.5MiB / 31.41GiB 2.85% 1.04MB / 739kB 0B / 0B 51 11:36:06 e2e4e5ee95bd prometheus 0.00% 18.42MiB / 31.41GiB 0.06% 782B / 0B 0B / 0B 12 11:36:06 0cc69adde89c mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.1MB / 68.2MB 27 11:36:06 + echo 11:36:06 11:36:06 + cd /tmp/tmp.amAU1KACYx 11:36:06 + echo 'Reading the testplan:' 11:36:06 Reading the testplan: 11:36:06 + echo 'api-test.robot 11:36:06 api-slas.robot' 11:36:06 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 11:36:06 + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' 11:36:06 + cat testplan.txt 11:36:06 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot 11:36:06 /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot 11:36:06 ++ xargs 11:36:06 + 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:36:06 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:36:06 -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:36:06 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 11:36:06 -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:36:06 + 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:36:06 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:36:06 + relax_set 11:36:06 + set +e 11:36:06 + set +o pipefail 11:36:06 + 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:36:06 ============================================================================== 11:36:06 api 11:36:06 ============================================================================== 11:36:06 api.Api-Test 11:36:06 ============================================================================== 11:36:07 Healthcheck :: Verify policy api health check | PASS | 11:36:07 ------------------------------------------------------------------------------ 11:36:07 Statistics :: Verify policy api statistics | PASS | 11:36:07 ------------------------------------------------------------------------------ 11:36:09 RetrievePolicyTypes :: Retrieve all policy types | PASS | 11:36:09 ------------------------------------------------------------------------------ 11:36:09 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 11:36:09 ------------------------------------------------------------------------------ 11:36:09 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 11:36:09 ------------------------------------------------------------------------------ 11:36:09 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 11:36:09 ------------------------------------------------------------------------------ 11:36:10 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 11:36:10 ------------------------------------------------------------------------------ 11:36:10 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 11:36:10 ------------------------------------------------------------------------------ 11:36:10 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 11:36:10 ------------------------------------------------------------------------------ 11:36:11 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 11:36:11 ------------------------------------------------------------------------------ 11:36:11 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 11:36:11 ------------------------------------------------------------------------------ 11:36:11 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 11:36:11 ------------------------------------------------------------------------------ 11:36:12 RetrieveAllPolicies :: Retrieve all policies | PASS | 11:36:12 ------------------------------------------------------------------------------ 11:36:12 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 11:36:12 ------------------------------------------------------------------------------ 11:36:12 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 11:36:12 ------------------------------------------------------------------------------ 11:36:12 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 11:36:12 ------------------------------------------------------------------------------ 11:36:12 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 11:36:12 ------------------------------------------------------------------------------ 11:36:13 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 11:36:13 ------------------------------------------------------------------------------ 11:36:13 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 11:36:13 ------------------------------------------------------------------------------ 11:36:13 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 11:36:13 ------------------------------------------------------------------------------ 11:36:13 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 11:36:13 ------------------------------------------------------------------------------ 11:36:14 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 11:36:14 ------------------------------------------------------------------------------ 11:36:14 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 11:36:14 ------------------------------------------------------------------------------ 11:36:14 api.Api-Test | PASS | 11:36:14 23 tests, 23 passed, 0 failed 11:36:14 ============================================================================== 11:36:14 api.Api-Slas 11:36:14 ============================================================================== 11:37:14 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 11:37:14 ------------------------------------------------------------------------------ 11:37:14 api.Api-Slas | PASS | 11:37:14 10 tests, 10 passed, 0 failed 11:37:14 ============================================================================== 11:37:14 api | PASS | 11:37:14 33 tests, 33 passed, 0 failed 11:37:14 ============================================================================== 11:37:14 Output: /tmp/tmp.amAU1KACYx/output.xml 11:37:14 Log: /tmp/tmp.amAU1KACYx/log.html 11:37:14 Report: /tmp/tmp.amAU1KACYx/report.html 11:37:14 + RESULT=0 11:37:14 + load_set 11:37:14 + _setopts=hxB 11:37:14 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:37:14 ++ tr : ' ' 11:37:14 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:14 + set +o braceexpand 11:37:14 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:14 + set +o hashall 11:37:14 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:14 + set +o interactive-comments 11:37:14 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:14 + set +o xtrace 11:37:14 ++ echo hxB 11:37:14 ++ sed 's/./& /g' 11:37:14 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:14 + set +h 11:37:14 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:14 + set +x 11:37:14 + echo 'RESULT: 0' 11:37:14 RESULT: 0 11:37:14 + exit 0 11:37:14 + on_exit 11:37:14 + rc=0 11:37:14 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] 11:37:14 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:37:14 NAMES STATUS 11:37:14 grafana Up About a minute 11:37:14 policy-api Up About a minute 11:37:14 prometheus Up About a minute 11:37:14 mariadb Up About a minute 11:37:14 + docker_stats 11:37:14 ++ uname -s 11:37:14 + '[' Linux == Darwin ']' 11:37:14 + sh -c 'top -bn1 | head -3' 11:37:14 top - 11:37:14 up 4 min, 0 users, load average: 0.59, 0.66, 0.30 11:37:14 Tasks: 178 total, 1 running, 99 sleeping, 0 stopped, 0 zombie 11:37:14 %Cpu(s): 9.3 us, 1.7 sy, 0.0 ni, 85.3 id, 3.7 wa, 0.0 hi, 0.0 si, 0.0 st 11:37:14 + echo 11:37:14 11:37:14 + sh -c 'free -h' 11:37:14 total used free shared buff/cache available 11:37:14 Mem: 31G 1.9G 25G 1.0M 3.9G 29G 11:37:14 Swap: 1.0G 0B 1.0G 11:37:14 + echo 11:37:14 11:37:14 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 11:37:14 NAMES STATUS 11:37:14 grafana Up About a minute 11:37:14 policy-api Up About a minute 11:37:14 prometheus Up About a minute 11:37:14 mariadb Up About a minute 11:37:14 + echo 11:37:14 11:37:14 + docker stats --no-stream 11:37:17 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 11:37:17 15b0656e776c grafana 0.02% 55.52MiB / 31.41GiB 0.17% 21.2kB / 4.41kB 0B / 24.6MB 15 11:37:17 c7c1694dd6ec policy-api 0.08% 949.6MiB / 31.41GiB 2.95% 7.32MB / 2.87MB 0B / 0B 52 11:37:17 e2e4e5ee95bd prometheus 0.00% 23.83MiB / 31.41GiB 0.07% 37.4kB / 6.97kB 0B / 0B 12 11:37:17 0cc69adde89c mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11.1MB / 68.4MB 18 11:37:17 + echo 11:37:17 11:37:17 + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:37:17 + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' 11:37:17 + relax_set 11:37:17 + set +e 11:37:17 + set +o pipefail 11:37:17 + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh 11:37:17 ++ echo 'Shut down started!' 11:37:17 Shut down started! 11:37:17 ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' 11:37:17 ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose 11:37:17 ++ cd /w/workspace/policy-api-london-project-csit-api/compose 11:37:17 ++ source export-ports.sh 11:37:17 ++ source get-versions.sh 11:37:19 ++ echo 'Collecting logs from docker compose containers...' 11:37:19 Collecting logs from docker compose containers... 11:37:19 ++ docker-compose logs 11:37:20 ++ cat docker_compose.log 11:37:20 Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519021098Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-19T11:35:38Z 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.51929802Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.51931509Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.51932383Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.51933544Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519451851Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519456081Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519459201Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519462781Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519465701Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519468311Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519471461Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519474681Z level=info msg=Target target=[all] 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519484231Z level=info msg="Path Home" path=/usr/share/grafana 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519487131Z level=info msg="Path Data" path=/var/lib/grafana 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519491091Z level=info msg="Path Logs" path=/var/log/grafana 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519493871Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519496921Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 11:37:20 grafana | logger=settings t=2024-03-19T11:35:38.519500511Z level=info msg="App mode production" 11:37:20 grafana | logger=sqlstore t=2024-03-19T11:35:38.519784252Z level=info msg="Connecting to DB" dbtype=sqlite3 11:37:20 grafana | logger=sqlstore t=2024-03-19T11:35:38.519807333Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.520488376Z level=info msg="Starting DB migrations" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.521499032Z level=info msg="Executing migration" id="create migration_log table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.522457997Z level=info msg="Migration successfully executed" id="create migration_log table" duration=957.145µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.527067903Z level=info msg="Executing migration" id="create user table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.527732877Z level=info msg="Migration successfully executed" id="create user table" duration=664.624µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.531633789Z level=info msg="Executing migration" id="add unique index user.login" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.532697475Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.063616ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.536839578Z level=info msg="Executing migration" id="add unique index user.email" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.537693313Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=851.225µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.542669491Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.543503495Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=833.744µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.547289797Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.548063681Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=769.134µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.55154684Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.553730693Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.183523ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.558044807Z level=info msg="Executing migration" id="create user table v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.558880001Z level=info msg="Migration successfully executed" id="create user table v2" duration=831.984µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.5622697Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.563043145Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=773.125µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.566547234Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.567949452Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.401048ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.573202182Z level=info msg="Executing migration" id="copy data_source v1 to v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.573637874Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=435.392µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.576984423Z level=info msg="Executing migration" id="Drop old table user_v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.577648467Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=661.034µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.580793614Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.582350153Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.555709ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.586040704Z level=info msg="Executing migration" id="Update user table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.586110894Z level=info msg="Migration successfully executed" id="Update user table charset" duration=71.59µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.590416878Z level=info msg="Executing migration" id="Add last_seen_at column to user" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.591635585Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.213587ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.594902393Z level=info msg="Executing migration" id="Add missing user data" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.595265745Z level=info msg="Migration successfully executed" id="Add missing user data" duration=357.002µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.598512514Z level=info msg="Executing migration" id="Add is_disabled column to user" 11:37:20 mariadb | 2024-03-19 11:35:35+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:37:20 mariadb | 2024-03-19 11:35:35+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 11:37:20 mariadb | 2024-03-19 11:35:35+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 11:37:20 mariadb | 2024-03-19 11:35:35+00:00 [Note] [Entrypoint]: Initializing database files 11:37:20 mariadb | 2024-03-19 11:35:35 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:37:20 mariadb | 2024-03-19 11:35:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:37:20 mariadb | 2024-03-19 11:35:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:37:20 mariadb | 11:37:20 mariadb | 11:37:20 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 11:37:20 mariadb | To do so, start the server, then issue the following command: 11:37:20 mariadb | 11:37:20 mariadb | '/usr/bin/mysql_secure_installation' 11:37:20 mariadb | 11:37:20 mariadb | which will also give you the option of removing the test 11:37:20 mariadb | databases and anonymous user created by default. This is 11:37:20 mariadb | strongly recommended for production servers. 11:37:20 mariadb | 11:37:20 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 11:37:20 mariadb | 11:37:20 mariadb | Please report any problems at https://mariadb.org/jira 11:37:20 mariadb | 11:37:20 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 11:37:20 mariadb | 11:37:20 mariadb | Consider joining MariaDB's strong and vibrant community: 11:37:20 mariadb | https://mariadb.org/get-involved/ 11:37:20 mariadb | 11:37:20 mariadb | 2024-03-19 11:35:37+00:00 [Note] [Entrypoint]: Database files initialized 11:37:20 mariadb | 2024-03-19 11:35:37+00:00 [Note] [Entrypoint]: Starting temporary server 11:37:20 mariadb | 2024-03-19 11:35:37+00:00 [Note] [Entrypoint]: Waiting for server startup 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: Number of transaction pools: 1 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: Completed initialization of buffer pool 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: 128 rollback segments are active. 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] InnoDB: log sequence number 45452; transaction id 14 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] Plugin 'FEEDBACK' is disabled. 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 11:37:20 mariadb | 2024-03-19 11:35:37 0 [Note] mariadbd: ready for connections. 11:37:20 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 11:37:20 mariadb | 2024-03-19 11:35:38+00:00 [Note] [Entrypoint]: Temporary server started. 11:37:20 mariadb | 2024-03-19 11:35:39+00:00 [Note] [Entrypoint]: Creating user policy_user 11:37:20 mariadb | 2024-03-19 11:35:39+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 11:37:20 mariadb | 11:37:20 mariadb | 2024-03-19 11:35:39+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 11:37:20 mariadb | 11:37:20 mariadb | 2024-03-19 11:35:39+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 11:37:20 mariadb | #!/bin/bash -xv 11:37:20 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 11:37:20 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 11:37:20 mariadb | # 11:37:20 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 11:37:20 mariadb | # you may not use this file except in compliance with the License. 11:37:20 mariadb | # You may obtain a copy of the License at 11:37:20 mariadb | # 11:37:20 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 11:37:20 mariadb | # 11:37:20 mariadb | # Unless required by applicable law or agreed to in writing, software 11:37:20 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 11:37:20 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11:37:20 mariadb | # See the License for the specific language governing permissions and 11:37:20 mariadb | # limitations under the License. 11:37:20 mariadb | 11:37:20 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:20 mariadb | do 11:37:20 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 11:37:20 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 11:37:20 mariadb | done 11:37:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 11:37:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 11:37:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 11:37:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 11:37:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 11:37:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:20 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 11:37:20 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 11:37:20 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.599800431Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.288807ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.60317203Z level=info msg="Executing migration" id="Add index user.login/user.email" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.604099665Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=927.175µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.60860479Z level=info msg="Executing migration" id="Add is_service_account column to user" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.610096888Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.494478ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.61402399Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.621308011Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.284231ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.624393779Z level=info msg="Executing migration" id="Add uid column to user" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.625513105Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.118486ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.629369066Z level=info msg="Executing migration" id="Update uid column values for users" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.629636808Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=267.312µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.632568904Z level=info msg="Executing migration" id="Add unique index user_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.633732171Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.162027ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.637573422Z level=info msg="Executing migration" id="create temp user table v1-7" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.639205362Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.63139ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.644061809Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.645005854Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=941.145µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.648601144Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.649480599Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=878.985µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.653053819Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.653781393Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=730.934µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.657089492Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.657876656Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=786.604µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.662413822Z level=info msg="Executing migration" id="Update temp_user table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.662439722Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.11µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.66576352Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.671287521Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=5.517641ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.674997322Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.676056718Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.061956ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.680972106Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.681999501Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.026565ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.68537736Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.686056274Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=679.724µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.691632075Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.694782603Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.149798ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.69784727Z level=info msg="Executing migration" id="create temp_user v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.698698115Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=850.245µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.701618201Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.702374825Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=756.394µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.705293722Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 11:37:20 mariadb | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.706051706Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=757.564µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.710830573Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.711580007Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=749.174µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.714682464Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.715416109Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=733.325µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.718340834Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.718739156Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=397.792µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.723489033Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.724055316Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=565.793µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.726683861Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.727084123Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=399.532µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.729228355Z level=info msg="Executing migration" id="create star table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.729904169Z level=info msg="Migration successfully executed" id="create star table" duration=672.794µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.732954866Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.733873731Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=917.735µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.738930479Z level=info msg="Executing migration" id="create org table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.739748524Z level=info msg="Migration successfully executed" id="create org table v1" duration=815.695µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.74261959Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.743350554Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=730.224µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.746075039Z level=info msg="Executing migration" id="create org_user table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.746748663Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=673.184µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.749923471Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.750685115Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=761.254µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.754982899Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.755721633Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=737.994µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.759115652Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.759914627Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=801.265µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.762599472Z level=info msg="Executing migration" id="Update org table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.762689112Z level=info msg="Migration successfully executed" id="Update org table charset" duration=89.74µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.764756654Z level=info msg="Executing migration" id="Update org_user table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.764835674Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=78.59µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.769210919Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.76946115Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=249.821µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.772136595Z level=info msg="Executing migration" id="create dashboard table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.77292469Z level=info msg="Migration successfully executed" id="create dashboard table" duration=787.775µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.775842046Z level=info msg="Executing migration" id="add index dashboard.account_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.776659941Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=817.965µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.779353246Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.78015921Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=805.584µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.784783266Z level=info msg="Executing migration" id="create dashboard_tag table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.78545561Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=671.794µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.788428147Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.789244191Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=815.704µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.792026837Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.793128813Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.102086ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.79788426Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.803203159Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=5.318539ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.807138611Z level=info msg="Executing migration" id="create dashboard v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.807894576Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=755.945µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.810609331Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.811346905Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=734.594µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.81572899Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.816531314Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=801.744µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.820339665Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.820820198Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=481.383µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.823531303Z level=info msg="Executing migration" id="drop table dashboard_v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.824410788Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=878.775µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.83008686Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.830238831Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=151.731µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.833019566Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.834952067Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.929281ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.837625972Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.839329932Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.70531ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.843949158Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.845732458Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.78286ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.848573204Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.849400148Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=826.964µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.852251434Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.854049324Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.79711ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.858225728Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.859067282Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=841.774µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.861138134Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.861877888Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=739.594µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.864809735Z level=info msg="Executing migration" id="Update dashboard table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.864936405Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=126.53µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.869828823Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.869912793Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=85.13µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.87299117Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.874868421Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.876431ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.877522236Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.879352936Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.83026ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.883811131Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.885725622Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.913941ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.888585348Z level=info msg="Executing migration" id="Add column uid in dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.890465148Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.87925ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.893587216Z level=info msg="Executing migration" id="Update uid column values in dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.893871877Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=284.341µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.896598573Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.897404317Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=805.604µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.901975743Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.902736787Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=760.774µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.905708574Z level=info msg="Executing migration" id="Update dashboard title length" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.905792154Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=80.31µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.908840201Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.909651766Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=810.915µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.914511213Z level=info msg="Executing migration" id="create dashboard_provisioning" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.915230077Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=718.114µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.918056843Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.92294576Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=4.887467ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.925614225Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.926348689Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=733.954µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.931243127Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.932082581Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=839.214µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.935235739Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.936071754Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=835.415µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.93900293Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.939359782Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=356.382µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.943821197Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.94440031Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=578.563µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.947401757Z level=info msg="Executing migration" id="Add check_sum column" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.949498379Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.096052ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.9531925Z level=info msg="Executing migration" id="Add index for dashboard_title" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.953968164Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=775.194µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.958967982Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.959246994Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=278.632µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.962261141Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 11:37:20 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 11:37:20 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 11:37:20 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 11:37:20 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 11:37:20 mariadb | 11:37:20 mariadb | 2024-03-19 11:35:40+00:00 [Note] [Entrypoint]: Stopping temporary server 11:37:20 mariadb | 2024-03-19 11:35:40 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 11:37:20 mariadb | 2024-03-19 11:35:40 0 [Note] InnoDB: FTS optimize thread exiting. 11:37:20 mariadb | 2024-03-19 11:35:40 0 [Note] InnoDB: Starting shutdown... 11:37:20 mariadb | 2024-03-19 11:35:40 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 11:37:20 mariadb | 2024-03-19 11:35:40 0 [Note] InnoDB: Buffer pool(s) dump completed at 240319 11:35:40 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Shutdown completed; log sequence number 331211; transaction id 298 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] mariadbd: Shutdown complete 11:37:20 mariadb | 11:37:20 mariadb | 2024-03-19 11:35:41+00:00 [Note] [Entrypoint]: Temporary server stopped 11:37:20 mariadb | 11:37:20 mariadb | 2024-03-19 11:35:41+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 11:37:20 mariadb | 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Number of transaction pools: 1 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Completed initialization of buffer pool 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: 128 rollback segments are active. 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: log sequence number 331211; transaction id 299 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] Plugin 'FEEDBACK' is disabled. 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] Server socket created on IP: '0.0.0.0'. 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] Server socket created on IP: '::'. 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] mariadbd: ready for connections. 11:37:20 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 11:37:20 mariadb | 2024-03-19 11:35:41 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 11:37:20 mariadb | 2024-03-19 11:35:41 0 [Note] InnoDB: Buffer pool(s) load completed at 240319 11:35:41 11:37:20 mariadb | 2024-03-19 11:35:41 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.962505992Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=244.821µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.964832175Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.96568587Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=853.275µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.968849467Z level=info msg="Executing migration" id="Add isPublic for dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.97105697Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.206653ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.975935307Z level=info msg="Executing migration" id="create data_source table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.976913463Z level=info msg="Migration successfully executed" id="create data_source table" duration=974.126µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.980459473Z level=info msg="Executing migration" id="add index data_source.account_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.981409708Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=950.016µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.983849301Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.984761087Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=912.046µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.989642224Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.990283888Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=643.134µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.992781542Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.993402865Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=621.003µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:38.99790232Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.002200834Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=4.298174ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.004905459Z level=info msg="Executing migration" id="create data_source table v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.005939215Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.033446ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.00871635Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.009434094Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=717.514µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.014236371Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.014931124Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=693.083µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.017637549Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.018112472Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=472.773µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.021210569Z level=info msg="Executing migration" id="Add column with_credentials" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.022914548Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=1.703309ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.027574894Z level=info msg="Executing migration" id="Add secure json data column" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.029362444Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=1.7873ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.032164539Z level=info msg="Executing migration" id="Update data_source table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.032253939Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=88.7µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.034882494Z level=info msg="Executing migration" id="Update initial version to 1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.035134475Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=249.711µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.037163316Z level=info msg="Executing migration" id="Add read_only data column" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.038892586Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=1.72885ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.044302776Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.044553137Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=248.062µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.047356972Z level=info msg="Executing migration" id="Update json_data with nulls" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.047582213Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=224.801µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.050141858Z level=info msg="Executing migration" id="Add uid column" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.051858637Z level=info msg="Migration successfully executed" id="Add uid column" duration=1.718059ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.056370932Z level=info msg="Executing migration" id="Update uid value" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.056635873Z level=info msg="Migration successfully executed" id="Update uid value" duration=264.541µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.059505519Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.060218233Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=712.704µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.063681972Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.064374256Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=691.664µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.067378712Z level=info msg="Executing migration" id="create api_key table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.06890193Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.522158ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.073788567Z level=info msg="Executing migration" id="add index api_key.account_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.075261355Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.472188ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.078451653Z level=info msg="Executing migration" id="add index api_key.key" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.079391758Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=940.035µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.082397124Z level=info msg="Executing migration" id="add index api_key.account_id_name" 11:37:20 policy-db-migrator | Waiting for mariadb port 3306... 11:37:20 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:20 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:20 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:20 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:20 policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused 11:37:20 policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! 11:37:20 policy-db-migrator | 314 blocks 11:37:20 policy-db-migrator | Preparing upgrade release version: 0800 11:37:20 policy-db-migrator | Preparing upgrade release version: 0900 11:37:20 policy-db-migrator | Preparing upgrade release version: 1000 11:37:20 policy-db-migrator | Preparing upgrade release version: 1100 11:37:20 policy-db-migrator | Preparing upgrade release version: 1200 11:37:20 policy-db-migrator | Done 11:37:20 policy-db-migrator | name version 11:37:20 policy-db-migrator | policyadmin 0 11:37:20 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 11:37:20 policy-db-migrator | upgrade: 0 -> 1200 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.083518271Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.122797ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.087487552Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.088437438Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=950.006µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.091676805Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.09254799Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=871.235µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.096405071Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.097319286Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=914.205µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.100326753Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.111244563Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.90854ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.115091674Z level=info msg="Executing migration" id="create api_key table v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.115779597Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=686.193µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.119533718Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.120190602Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=656.524µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.123371189Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.124469225Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.101766ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.128578938Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.129460802Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=882.444µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.132804861Z level=info msg="Executing migration" id="copy api_key v1 to v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.133263173Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=457.712µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.136612182Z level=info msg="Executing migration" id="Drop old table api_key_v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.137319716Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=706.834µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.140475413Z level=info msg="Executing migration" id="Update api_key table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.140768024Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=292.271µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.144782776Z level=info msg="Executing migration" id="Add expires to api_key table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.14906208Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.278234ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.152042066Z level=info msg="Executing migration" id="Add service account foreign key" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.155032593Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.992567ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.15815929Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.158429101Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=269.371µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.162564304Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.166225074Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.65722ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.169594553Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.173278673Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.68386ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.177432936Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.17824697Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=811.034µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.182207252Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.182841525Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=633.313µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.185272839Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.186155363Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=881.644µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.189504072Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.190330306Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=826.104µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.194462809Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.195968887Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.505268ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.199493447Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.200340011Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=846.315µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.203513089Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.20375855Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=244.611µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.207821012Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.207976593Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=155.641µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.211525442Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.216090068Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.563885ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.219580897Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.222891355Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.311188ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.226965547Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.227180668Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=217.161µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.411792661Z level=info msg="Executing migration" id="create quota table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.413774092Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.983231ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.419646234Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 11:37:20 policy-api | Waiting for mariadb port 3306... 11:37:20 policy-api | mariadb (172.17.0.3:3306) open 11:37:20 policy-api | Waiting for policy-db-migrator port 6824... 11:37:20 policy-api | policy-db-migrator (172.17.0.4:6824) open 11:37:20 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 11:37:20 policy-api | 11:37:20 policy-api | . ____ _ __ _ _ 11:37:20 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:37:20 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:37:20 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:37:20 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 11:37:20 policy-api | =========|_|==============|___/=/_/_/_/ 11:37:20 policy-api | :: Spring Boot :: (v2.7.8) 11:37:20 policy-api | 11:37:20 policy-api | [2024-03-19T11:35:48.776+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 29 (/app/api.jar started by policy in /opt/app/policy/api/bin) 11:37:20 policy-api | [2024-03-19T11:35:48.779+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 11:37:20 policy-api | [2024-03-19T11:35:50.248+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:37:20 policy-api | [2024-03-19T11:35:50.339+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 80 ms. Found 6 JPA repository interfaces. 11:37:20 policy-api | [2024-03-19T11:35:51.531+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 11:37:20 policy-api | [2024-03-19T11:35:51.550+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 11:37:20 policy-api | [2024-03-19T11:35:51.551+00:00|INFO|StandardService|main] Starting service [Tomcat] 11:37:20 policy-api | [2024-03-19T11:35:51.552+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] 11:37:20 policy-api | [2024-03-19T11:35:51.663+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 11:37:20 policy-api | [2024-03-19T11:35:51.663+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2801 ms 11:37:20 policy-api | [2024-03-19T11:35:52.211+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 11:37:20 policy-api | [2024-03-19T11:35:52.293+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final 11:37:20 policy-api | [2024-03-19T11:35:52.636+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 11:37:20 policy-api | [2024-03-19T11:35:52.785+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 11:37:20 policy-api | [2024-03-19T11:35:52.887+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 11:37:20 prometheus | ts=2024-03-19T11:35:37.555Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d 11:37:20 prometheus | ts=2024-03-19T11:35:37.555Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" 11:37:20 prometheus | ts=2024-03-19T11:35:37.555Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" 11:37:20 prometheus | ts=2024-03-19T11:35:37.555Z caller=main.go:614 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:37:20 prometheus | ts=2024-03-19T11:35:37.555Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" 11:37:20 prometheus | ts=2024-03-19T11:35:37.555Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" 11:37:20 prometheus | ts=2024-03-19T11:35:37.561Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 11:37:20 prometheus | ts=2024-03-19T11:35:37.561Z caller=main.go:1118 level=info msg="Starting TSDB ..." 11:37:20 prometheus | ts=2024-03-19T11:35:37.563Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 11:37:20 prometheus | ts=2024-03-19T11:35:37.563Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 11:37:20 prometheus | ts=2024-03-19T11:35:37.565Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 11:37:20 prometheus | ts=2024-03-19T11:35:37.565Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.83µs 11:37:20 prometheus | ts=2024-03-19T11:35:37.565Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" 11:37:20 prometheus | ts=2024-03-19T11:35:37.566Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 11:37:20 prometheus | ts=2024-03-19T11:35:37.566Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=61.99µs wal_replay_duration=748.174µs wbl_replay_duration=250ns total_replay_duration=963.385µs 11:37:20 prometheus | ts=2024-03-19T11:35:37.570Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC 11:37:20 prometheus | ts=2024-03-19T11:35:37.570Z caller=main.go:1142 level=info msg="TSDB started" 11:37:20 prometheus | ts=2024-03-19T11:35:37.570Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 11:37:20 prometheus | ts=2024-03-19T11:35:37.571Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=984.635µs db_storage=1.15µs remote_storage=2.06µs web_handler=580ns query_engine=1.06µs scrape=295.052µs scrape_sd=124.73µs notify=33.541µs notify_sd=11.24µs rules=1.4µs tracing=4.7µs 11:37:20 prometheus | ts=2024-03-19T11:35:37.571Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." 11:37:20 prometheus | ts=2024-03-19T11:35:37.571Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.421318173Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.673209ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.426689602Z level=info msg="Executing migration" id="Update quota table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.426831793Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=142.611µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.431459419Z level=info msg="Executing migration" id="create plugin_setting table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.432501694Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.042736ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.435828392Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.436905788Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.077006ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.440096076Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.443325394Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.228708ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.44636637Z level=info msg="Executing migration" id="Update plugin_setting table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.446512621Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=144.551µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.450846045Z level=info msg="Executing migration" id="create session table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.451924601Z level=info msg="Migration successfully executed" id="create session table" duration=1.078636ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.455567351Z level=info msg="Executing migration" id="Drop old table playlist table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.455929463Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=365.032µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.459499322Z level=info msg="Executing migration" id="Drop old table playlist_item table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.459804714Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=305.832µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.464375659Z level=info msg="Executing migration" id="create playlist table v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.465679536Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.304597ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.469074555Z level=info msg="Executing migration" id="create playlist item table v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.4700167Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=941.215µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.473025746Z level=info msg="Executing migration" id="Update playlist table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.473173137Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=143.641µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.478219945Z level=info msg="Executing migration" id="Update playlist_item table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.478366996Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=146.531µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.481616054Z level=info msg="Executing migration" id="Add playlist column created_at" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.486589651Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.971057ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.490292351Z level=info msg="Executing migration" id="Add playlist column updated_at" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.49371649Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.423899ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.496975008Z level=info msg="Executing migration" id="drop preferences table v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.497194169Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=216.481µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.501487433Z level=info msg="Executing migration" id="drop preferences table v3" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.501701044Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=213.321µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.504971902Z level=info msg="Executing migration" id="create preferences table v3" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.506144628Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.171256ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.509411726Z level=info msg="Executing migration" id="Update preferences table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.509625697Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=214.721µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.513074096Z level=info msg="Executing migration" id="Add column team_id in preferences" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.518287095Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.211939ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.522560708Z level=info msg="Executing migration" id="Update team_id column values in preferences" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.52283584Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=274.832µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.525362503Z level=info msg="Executing migration" id="Add column week_start in preferences" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.529236035Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.872932ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.532816944Z level=info msg="Executing migration" id="Add column preferences.json_data" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.536248863Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.426169ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.540505736Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 11:37:20 policy-api | [2024-03-19T11:35:52.912+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect 11:37:20 policy-api | [2024-03-19T11:35:54.459+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 11:37:20 policy-api | [2024-03-19T11:35:54.475+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 11:37:20 policy-api | [2024-03-19T11:35:55.667+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:37:20 policy-api | [2024-03-19T11:35:56.345+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:37:20 policy-api | [2024-03-19T11:35:57.376+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@644a12be, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7e34570, org.springframework.security.web.context.SecurityContextPersistenceFilter@68a0a4ae, org.springframework.security.web.header.HeaderWriterFilter@66abb7d4, org.springframework.security.web.authentication.logout.LogoutFilter@1638fa8b, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@15d6f0e1, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2692910f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4f6938cb, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@274010fe, org.springframework.security.web.session.SessionManagementFilter@2411cf8b, org.springframework.security.web.access.ExceptionTranslationFilter@416dd4d8, org.springframework.security.web.access.intercept.AuthorizationFilter@13b666b4] 11:37:20 policy-api | [2024-03-19T11:35:57.554+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:37:20 policy-api | [2024-03-19T11:36:00.277+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 11:37:20 policy-api | [2024-03-19T11:36:00.310+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 11:37:20 policy-api | [2024-03-19T11:36:00.338+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 11:37:20 policy-api | [2024-03-19T11:36:00.355+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.418 seconds (JVM running for 13.068) 11:37:20 policy-api | [2024-03-19T11:36:06.835+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' 11:37:20 policy-api | [2024-03-19T11:36:06.835+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' 11:37:20 policy-api | [2024-03-19T11:36:06.836+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 1 ms 11:37:20 policy-api | [2024-03-19T11:36:09.161+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: 11:37:20 policy-api | [] 11:37:20 policy-api | [2024-03-19T11:36:09.289+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 11:37:20 policy-api | [2024-03-19T11:36:09.557+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes 11:37:20 policy-api | [2024-03-19T11:36:10.764+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 11:37:20 policy-api | [2024-03-19T11:36:12.755+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 11:37:20 policy-api | [2024-03-19T11:36:13.190+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 11:37:20 policy-api | [2024-03-19T11:36:13.444+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 11:37:20 policy-api | [2024-03-19T11:36:13.706+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 11:37:20 policy-api | [2024-03-19T11:36:13.947+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 11:37:20 policy-api | [2024-03-19T11:36:14.162+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.540736558Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=230.602µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.544028316Z level=info msg="Executing migration" id="Add preferences index org_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.545938026Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.91307ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.549877328Z level=info msg="Executing migration" id="Add preferences index user_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.550899303Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.022075ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.647339362Z level=info msg="Executing migration" id="create alert table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.649491684Z level=info msg="Migration successfully executed" id="create alert table v1" duration=2.155042ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.653133114Z level=info msg="Executing migration" id="add index alert org_id & id " 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.65421789Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.085576ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.658744845Z level=info msg="Executing migration" id="add index alert state" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.65973969Z level=info msg="Migration successfully executed" id="add index alert state" duration=994.805µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.662919538Z level=info msg="Executing migration" id="add index alert dashboard_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.663888173Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=968.735µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.667099391Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.667933765Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=833.904µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.671387824Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.67240082Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.011636ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.676365661Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.677356387Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=992.926µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.680453464Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.690581109Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=10.124545ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.725082049Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.726398036Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.307857ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.732141647Z 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.733058502Z 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=916.685µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.840604352Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.841514267Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=914.275µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.846499684Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.847675701Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.176677ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.854070376Z level=info msg="Executing migration" id="create alert_notification table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.855168472Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.100616ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.859636166Z level=info msg="Executing migration" id="Add column is_default" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.863134916Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.50091ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.867415909Z level=info msg="Executing migration" id="Add column frequency" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.870856758Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.440689ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.875419143Z level=info msg="Executing migration" id="Add column send_reminder" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.878883982Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.464559ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.884339472Z level=info msg="Executing migration" id="Add column disable_resolve_message" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.888198193Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.862061ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.894021505Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.895614084Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.593819ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.902064009Z level=info msg="Executing migration" id="Update alert table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.90220251Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=138.341µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.906777705Z level=info msg="Executing migration" id="Update alert_notification table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.906918406Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=140.331µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.911950503Z level=info msg="Executing migration" id="create notification_journal table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.912962009Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.010976ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.917652575Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.919270573Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.599768ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.923564887Z level=info msg="Executing migration" id="drop alert_notification_journal" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.924366421Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=798.784µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.927340758Z level=info msg="Executing migration" id="create alert_notification_state table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.928173722Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=832.434µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.932578946Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.933500752Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=921.505µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.93684722Z level=info msg="Executing migration" id="Add for to alert table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.940411329Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.563449ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.944350531Z level=info msg="Executing migration" id="Add column uid in alert_notification" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.948122242Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.770811ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.952678347Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.95325994Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=584.673µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.957143921Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.958267377Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.127706ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.961294804Z level=info msg="Executing migration" id="Remove unique index org_id_name" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.96235161Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.056786ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.965954209Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.969560329Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.60492ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.972430515Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.972600496Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=169.291µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.976320426Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.977254771Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=934.585µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.981302684Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.982245779Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=943.135µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.98620144Z level=info msg="Executing migration" id="Drop old annotation table v4" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.986393832Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=191.812µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.988671294Z level=info msg="Executing migration" id="create annotation table v5" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.989633289Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=961.485µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.9933277Z level=info msg="Executing migration" id="add index annotation 0 v3" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.994201074Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=873.504µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.997434112Z level=info msg="Executing migration" id="add index annotation 1 v3" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:39.998321467Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=886.785µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.001525695Z level=info msg="Executing migration" id="add index annotation 2 v3" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.002401359Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=875.064µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.0054277Z level=info msg="Executing migration" id="add index annotation 3 v3" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.006396843Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=968.913µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.010268958Z level=info msg="Executing migration" id="add index annotation 4 v3" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.011253778Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=984.29µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.014440188Z level=info msg="Executing migration" id="Update annotation table charset" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.014566509Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=124.891µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.019327674Z level=info msg="Executing migration" id="Add column region_id to annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.02314349Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.815186ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.02745062Z level=info msg="Executing migration" id="Drop category_id index" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.028994075Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.547175ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.033249635Z level=info msg="Executing migration" id="Add column tags to annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.037539935Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.29042ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.041510603Z level=info msg="Executing migration" id="Create annotation_tag table v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.042217019Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=704.186µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.045220818Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.046119896Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=898.818µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.050044573Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.051340075Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.295652ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.054676037Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.067862531Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.186924ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.072159541Z level=info msg="Executing migration" id="Create annotation_tag table v3" 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.072721247Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=562.056µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.076559553Z 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.077224229Z 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=664.406µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.080281288Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.080737792Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=456.934µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.083855492Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.0847209Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=864.978µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.090128151Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.090314362Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=186.471µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.095280259Z level=info msg="Executing migration" id="Add created time to annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.102073433Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.791874ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.106294403Z level=info msg="Executing migration" id="Add updated time to annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.11126285Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.966217ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.116763441Z level=info msg="Executing migration" id="Add index for created in annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.117745351Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=985.04µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.123647596Z level=info msg="Executing migration" id="Add index for updated in annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.125024239Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.376453ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.129776144Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.130022806Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=246.012µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.134936603Z level=info msg="Executing migration" id="Add epoch_end column" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.139243503Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.30614ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.144369581Z level=info msg="Executing migration" id="Add index for epoch_end" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.145480902Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.110801ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.149620541Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.149896003Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=274.882µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.154452806Z level=info msg="Executing migration" id="Move region to single row" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.155042062Z level=info msg="Migration successfully executed" id="Move region to single row" duration=586.716µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.161350441Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.162643664Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.295923ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.166388819Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.16762413Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.235201ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.175419814Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.176887278Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.466694ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.182928045Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.184272827Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.344112ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.191362064Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.193238962Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.880798ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.198053917Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.200012885Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.956888ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.20584242Z level=info msg="Executing migration" id="Increase tags column to length 4096" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.205907441Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=65.681µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.209135561Z level=info msg="Executing migration" id="create test_data table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.209871668Z level=info msg="Migration successfully executed" id="create test_data table" duration=735.827µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.216994195Z level=info msg="Executing migration" id="create dashboard_version table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.217753413Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=759.458µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.227348713Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.228456533Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.11246ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.231679394Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.232538292Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=858.438µs 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0450-pdpgroup.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0470-pdp.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.238312736Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.238505518Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=192.902µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.243649966Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.2440547Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=409.084µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.247714145Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.247772815Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=59.37µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.256473767Z level=info msg="Executing migration" id="create team table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.257416796Z level=info msg="Migration successfully executed" id="create team table" duration=946.549µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.2641908Z level=info msg="Executing migration" id="add index team.org_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.265211789Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.023069ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.269348688Z level=info msg="Executing migration" id="add unique index team_org_id_name" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.270406358Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.05721ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.277783368Z level=info msg="Executing migration" id="Add column uid in team" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.283717384Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.934526ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.287481879Z level=info msg="Executing migration" id="Update uid column values in team" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.287986894Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=505.075µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.292177673Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.293194923Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.01665ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.298075269Z level=info msg="Executing migration" id="create team member table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.299440822Z level=info msg="Migration successfully executed" id="create team member table" duration=1.367603ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.309712649Z level=info msg="Executing migration" id="add index team_member.org_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.311199873Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.487074ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.316926276Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.318085047Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.159031ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.324085844Z level=info msg="Executing migration" id="add index team_member.team_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.325512827Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.426763ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.328805588Z level=info msg="Executing migration" id="Add column email to team table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.33530706Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.501992ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.339391278Z level=info msg="Executing migration" id="Add column external to team_member table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.344398975Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.006957ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.350578653Z level=info msg="Executing migration" id="Add column permission to team_member table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.355421089Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.841856ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.360921391Z level=info msg="Executing migration" id="create dashboard acl table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.36188607Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=964.429µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.366580564Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.367554183Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=975.479µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.373910013Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.374938153Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.02787ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.381879578Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.383290581Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.410033ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.389912854Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.391335217Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.423173ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.397324614Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.398807588Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.482414ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.403407111Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.40437828Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=970.639µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.411685379Z level=info msg="Executing migration" id="add index dashboard_permission" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.41285327Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.164791ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.424717532Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.425173686Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=456.224µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.431871829Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.432195052Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=322.823µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.43618899Z level=info msg="Executing migration" id="create tag table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.437017557Z level=info msg="Migration successfully executed" id="create tag table" duration=828.497µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.440581021Z level=info msg="Executing migration" id="add index tag.key_value" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.44151682Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=935.769µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.446973811Z level=info msg="Executing migration" id="create login attempt table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.447723568Z level=info msg="Migration successfully executed" id="create login attempt table" duration=749.407µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.454672574Z level=info msg="Executing migration" id="add index login_attempt.username" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.457102837Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=2.435083ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.461552948Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.462584148Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.03152ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.471602243Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.489926966Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.325413ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.494181306Z level=info msg="Executing migration" id="create login_attempt v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.494851202Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=669.806µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.50519712Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.506708154Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.512745ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.512221626Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.512947873Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=725.486µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.518058581Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.518895919Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=837.127µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.524482291Z level=info msg="Executing migration" id="create user auth table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.52537778Z level=info msg="Migration successfully executed" id="create user auth table" duration=892.749µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.528301847Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.529417178Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.115001ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.535935739Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.536208682Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=277.523µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.539498883Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.544597711Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.097778ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.552568546Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.557460302Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.891126ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.56366066Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.571322682Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=7.665482ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.576521361Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.580486149Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=3.965328ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.584433196Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.585273724Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=841.088µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.590266641Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.599992102Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=9.724511ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.605837137Z level=info msg="Executing migration" id="create server_lock table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.606778216Z level=info msg="Migration successfully executed" id="create server_lock table" duration=940.599µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.61462402Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.61568611Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.06258ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.621383924Z level=info msg="Executing migration" id="create user auth token table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.622389803Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.005249ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.628799084Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.630988924Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=2.199251ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.639424654Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.640698506Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.273772ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.649325727Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.650477208Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.151351ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.655088971Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.660784925Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.695484ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.669440516Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0570-toscadatatype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0630-toscanodetype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.67092508Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.487994ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.674591325Z level=info msg="Executing migration" id="create cache_data table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.675587474Z level=info msg="Migration successfully executed" id="create cache_data table" duration=995.399µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.679722883Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.680839754Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.117281ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.684049244Z level=info msg="Executing migration" id="create short_url table v1" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.685078324Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.02918ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.689882179Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.69105534Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.175141ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.698985965Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.699180706Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=195.562µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.704497256Z level=info msg="Executing migration" id="delete alert_definition table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.704818169Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=325.283µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.710786126Z level=info msg="Executing migration" id="recreate alert_definition table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.712091198Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.305142ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.71762013Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.71869222Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.07595ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.723382354Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.724574125Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.191291ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.729901176Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.730049287Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=150.141µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.732976725Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.733922814Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=946.048µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.736831141Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.73778485Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=951.829µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.742820437Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.743830487Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.01017ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.746565323Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.747596272Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.030869ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.750436289Z level=info msg="Executing migration" id="Add column paused in alert_definition" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.756126533Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.689794ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.761291771Z level=info msg="Executing migration" id="drop alert_definition table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.76218454Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=892.249µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.765031466Z level=info msg="Executing migration" id="delete alert_definition_version table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.765194188Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=162.342µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.770471338Z level=info msg="Executing migration" id="recreate alert_definition_version table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.771404837Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=934.728µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.773497246Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.774515946Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.01833ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.777364493Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.778396352Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.031659ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.783674672Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0660-toscaparameter.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.783825583Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=150.581µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.7866707Z level=info msg="Executing migration" id="drop alert_definition_version table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.787542488Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=871.288µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.790084992Z level=info msg="Executing migration" id="create alert_instance table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.791011621Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=926.019µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.795679535Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.796712125Z 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.03387ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.79940401Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.800379999Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=975.499µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.803064995Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.808497056Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.431601ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.813053409Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.813940227Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=886.678µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.816725903Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.817611502Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=885.549µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.822653789Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.849923226Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.268567ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.852968105Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.883406541Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=30.438426ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.886307049Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.887136326Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=829.147µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.892047333Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.892928411Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=881.538µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.895917929Z level=info msg="Executing migration" id="add current_reason column related to current_state" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.903840554Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.923625ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.907198345Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.913336903Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.137698ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.920215308Z level=info msg="Executing migration" id="create alert_rule table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.92144871Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.233712ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.924957973Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.925916012Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=958.219µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.942146754Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.943162604Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.01399ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.955604101Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.956717362Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.112731ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.96392109Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.964050461Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=131.342µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.971789564Z level=info msg="Executing migration" id="add column for to alert_rule" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.977599758Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.811664ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.988479541Z level=info msg="Executing migration" id="add column annotations to alert_rule" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:40.994130524Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.648523ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.025724682Z level=info msg="Executing migration" id="add column labels to alert_rule" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.035038594Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.317802ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.038669705Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.03960419Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=934.486µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.046398118Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.047421784Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.023256ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.050799902Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.056410154Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.609612ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.0593211Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.067881068Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=8.561448ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.07364216Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.074421745Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=779.265µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.077771914Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0670-toscapolicies.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0690-toscapolicy.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0730-toscaproperty.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0770-toscarequirement.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.083378585Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.606391ms 11:37:20 policy-db-migrator | > upgrade 0780-toscarequirements.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.086296871Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.096220027Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.920976ms 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.100208999Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.10034999Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=145.071µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.104877575Z level=info msg="Executing migration" id="create alert_rule_version table" 11:37:20 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.106170583Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.296208ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.109488321Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.110916839Z 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.429738ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.11465921Z 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:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.116057088Z 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.399978ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.122599495Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 11:37:20 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.122789906Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=193.751µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.155903711Z level=info msg="Executing migration" id="add column for to alert_rule_version" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.160737748Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=4.829637ms 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.164288598Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.171415458Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.12371ms 11:37:20 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.176412186Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.182756502Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.344916ms 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.187125396Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.194103345Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.977559ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.199660787Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.206474585Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.813709ms 11:37:20 policy-db-migrator | > upgrade 0820-toscatrigger.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.212299237Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.212460128Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=160.201µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.215459365Z level=info msg="Executing migration" id=create_alert_configuration_table 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.21641725Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=957.045µs 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.22000574Z level=info msg="Executing migration" id="Add column default in alert_configuration" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.229873076Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.867916ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.237608429Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.23774192Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=134.221µs 11:37:20 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.240675076Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.246847411Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.169325ms 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.251547387Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.252521323Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=971.586µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.255519779Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.261851225Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.327776ms 11:37:20 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.2681844Z level=info msg="Executing migration" id=create_ngalert_configuration_table 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.269393627Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.209657ms 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.273573781Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.274728667Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.154406ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.278634649Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.285546998Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.923479ms 11:37:20 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.290452895Z level=info msg="Executing migration" id="create provenance_type table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.291218899Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=766.134µs 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.294031095Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.295018811Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=989.926µs 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.297941547Z level=info msg="Executing migration" id="create alert_image table" 11:37:20 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.298727842Z level=info msg="Migration successfully executed" id="create alert_image table" duration=785.735µs 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.302646974Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.303616169Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=969.275µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.306883007Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.307031138Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=148.721µs 11:37:20 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.310354417Z level=info msg="Executing migration" id=create_alert_configuration_history_table 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.311464043Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.106896ms 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.315541016Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.316477421Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=938.795µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.319640349Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.320088061Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 11:37:20 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.323339379Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.323761782Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=422.293µs 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.327542233Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.328504508Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=962.125µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.331625586Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.337998592Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.372526ms 11:37:20 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.341037729Z level=info msg="Executing migration" id="create library_element table v1" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.342014694Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=975.115µs 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.346123467Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.347115273Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=991.556µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.350347141Z level=info msg="Executing migration" id="create library_element_connection table v1" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.351156945Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=809.354µs 11:37:20 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.354599605Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.35558442Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=984.535µs 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.359497202Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.360442907Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=945.155µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.363862986Z level=info msg="Executing migration" id="increase max description length to 2048" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.363932547Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=71.341µs 11:37:20 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.367179045Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.367435737Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=256.431µs 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.371886431Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.372498715Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=612.404µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.376103145Z level=info msg="Executing migration" id="create data_keys table" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.377541623Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.438218ms 11:37:20 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.380714051Z level=info msg="Executing migration" id="create secrets table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.381926738Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.212097ms 11:37:20 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.385207866Z level=info msg="Executing migration" id="rename data_keys name column to id" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.419617089Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=34.407083ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.425702883Z level=info msg="Executing migration" id="add name column into data_keys" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.431670826Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.967433ms 11:37:20 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.434997835Z level=info msg="Executing migration" id="copy data_keys id column values into name" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.435221696Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=223.721µs 11:37:20 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.438358954Z level=info msg="Executing migration" id="rename data_keys name column to label" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.468754294Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=30.3928ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.475356671Z level=info msg="Executing migration" id="rename data_keys id column back to name" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.508320196Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=32.961245ms 11:37:20 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.511603584Z level=info msg="Executing migration" id="create kv_store table v1" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.512299258Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=696.304µs 11:37:20 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.515590077Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.516472172Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=882.205µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.523246089Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.523684942Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=438.653µs 11:37:20 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.527193572Z level=info msg="Executing migration" id="create permission table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.52875569Z level=info msg="Migration successfully executed" id="create permission table" duration=1.561438ms 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.532534742Z level=info msg="Executing migration" id="add unique index permission.role_id" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.534862825Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.326803ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.538393664Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.539758212Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.363998ms 11:37:20 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.544171087Z level=info msg="Executing migration" id="create role table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.545632255Z level=info msg="Migration successfully executed" id="create role table" duration=1.459868ms 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.549310446Z level=info msg="Executing migration" id="add column display_name" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.558906789Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.586013ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.562364849Z level=info msg="Executing migration" id="add column group_name" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.569394528Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.026599ms 11:37:20 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.572956698Z level=info msg="Executing migration" id="add index role.org_id" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.573984684Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.028396ms 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.578486079Z level=info msg="Executing migration" id="add unique index role_org_id_name" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.579559055Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.073006ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.583003264Z level=info msg="Executing migration" id="add index role_org_id_uid" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.58403568Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.032406ms 11:37:20 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.587220148Z level=info msg="Executing migration" id="create team role table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.588155733Z level=info msg="Migration successfully executed" id="create team role table" duration=932.695µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.591956454Z level=info msg="Executing migration" id="add index team_role.org_id" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.593061941Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.119807ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.596167148Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.597297344Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.129976ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.601206186Z level=info msg="Executing migration" id="add index team_role.team_id" 11:37:20 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.602112361Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=898.725µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.62325204Z level=info msg="Executing migration" id="create user role table" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.624332856Z level=info msg="Migration successfully executed" id="create user role table" duration=1.082146ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.627877886Z level=info msg="Executing migration" id="add index user_role.org_id" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.628886951Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.006875ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.633106455Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 11:37:20 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.63405093Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=944.355µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.637303909Z level=info msg="Executing migration" id="add index user_role.user_id" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.638583246Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.278337ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.641808814Z level=info msg="Executing migration" id="create builtin role table" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.642649948Z level=info msg="Migration successfully executed" id="create builtin role table" duration=842.804µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.651041776Z level=info msg="Executing migration" id="add index builtin_role.role_id" 11:37:20 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.653189498Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.152863ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.658645398Z level=info msg="Executing migration" id="add index builtin_role.name" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.659562923Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=919.225µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.662949652Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.672378595Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.426823ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.675372482Z level=info msg="Executing migration" id="add index builtin_role.org_id" 11:37:20 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.677133832Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.75945ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.682640403Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.683835449Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.194726ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.689843653Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.690968799Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.125656ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.695609585Z level=info msg="Executing migration" id="add unique index role.uid" 11:37:20 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.696728771Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.119026ms 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.70000527Z level=info msg="Executing migration" id="create seed assignment table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.700752504Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=746.984µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.70356673Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.704670476Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.102836ms 11:37:20 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.709295352Z level=info msg="Executing migration" id="add column hidden to role table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.718753925Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.456913ms 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.722256335Z level=info msg="Executing migration" id="permission kind migration" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.734410043Z level=info msg="Migration successfully executed" id="permission kind migration" duration=12.154889ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.73750398Z level=info msg="Executing migration" id="permission attribute migration" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.744054797Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=6.550287ms 11:37:20 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.749097905Z level=info msg="Executing migration" id="permission identifier migration" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.757654573Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.555988ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.760279368Z level=info msg="Executing migration" id="add permission identifier index" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.761588655Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.309077ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.765008624Z level=info msg="Executing migration" id="add permission action scope role_id index" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.766614593Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.605179ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.770793366Z level=info msg="Executing migration" id="remove permission role_id action scope index" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.771941513Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.148157ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.77506951Z level=info msg="Executing migration" id="create query_history table v1" 11:37:20 policy-db-migrator | > upgrade 0100-pdp.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.776090816Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.020696ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.781014074Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 11:37:20 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.78219589Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.181446ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.790565727Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.790766758Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=172.201µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.795357444Z level=info msg="Executing migration" id="rbac disabled migrator" 11:37:20 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.795415994Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=60.29µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.798509712Z level=info msg="Executing migration" id="teams permissions migration" 11:37:20 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.799078085Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=567.683µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.801482498Z level=info msg="Executing migration" id="dashboard permissions" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.802133562Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=651.994µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.807823824Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 11:37:20 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.808576458Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=754.304µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.811959637Z level=info msg="Executing migration" id="drop managed folder create actions" 11:37:20 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.812246319Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=285.872µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.815165945Z level=info msg="Executing migration" id="alerting notification permissions" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.816143171Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=972.845µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.8196737Z level=info msg="Executing migration" id="create query_history_star table v1" 11:37:20 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.82140389Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.72936ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.829302624Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.830972974Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.66897ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.83563516Z level=info msg="Executing migration" id="add column org_id in query_history_star" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.846247169Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.609409ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.850826355Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 11:37:20 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.850895085Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=69.5µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.855496141Z level=info msg="Executing migration" id="create correlation table v1" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.857216821Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.71797ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.863269325Z level=info msg="Executing migration" id="add index correlations.uid" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.865228766Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.958881ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.868850466Z level=info msg="Executing migration" id="add index correlations.source_uid" 11:37:20 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.870078703Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.224027ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.874394197Z level=info msg="Executing migration" id="add correlation config column" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.883541678Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.146581ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.887291259Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 11:37:20 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.88929157Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.969341ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.89461695Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 11:37:20 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.895844797Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.227457ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.902223903Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.929154494Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=26.930291ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.937896883Z level=info msg="Executing migration" id="create correlation v2" 11:37:20 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.938993129Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.095226ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.943326873Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 11:37:20 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.94455759Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.230487ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.948425692Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.94987913Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.455718ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.953349689Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 11:37:20 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.954720007Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.370378ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.959211652Z level=info msg="Executing migration" id="copy correlation v1 to v2" 11:37:20 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.959633934Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=423.452µs 11:37:20 policy-db-migrator | JOIN pdpstatistics b 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.964965414Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 11:37:20 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.966156531Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.190747ms 11:37:20 policy-db-migrator | SET a.id = b.id 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.971156569Z level=info msg="Executing migration" id="add provisioning column" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.980483131Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.330832ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.985956202Z level=info msg="Executing migration" id="create entity_events table" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.986890367Z level=info msg="Migration successfully executed" id="create entity_events table" duration=933.765µs 11:37:20 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.990177556Z level=info msg="Executing migration" id="create dashboard public config v1" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.992002366Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.82383ms 11:37:20 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.997241725Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:41.99818691Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.003743872Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.004324285Z 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:37:20 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.007727514Z level=info msg="Executing migration" id="Drop old dashboard public config table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.0087644Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.032396ms 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.012030248Z level=info msg="Executing migration" id="recreate dashboard public config v1" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.013611357Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.580909ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.018232783Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.01958706Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.353657ms 11:37:20 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.022951299Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.024217516Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.266177ms 11:37:20 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.027719256Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.029056053Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.334607ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.033006096Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.034288043Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.281637ms 11:37:20 policy-db-migrator | > upgrade 0210-sequence.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.041222592Z level=info msg="Executing migration" id="Drop public config table" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.042413278Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.190406ms 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.047063394Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.048389062Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.325168ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.051881801Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.053170109Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.287788ms 11:37:20 policy-db-migrator | > upgrade 0220-sequence.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.056813459Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.058217817Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.403838ms 11:37:20 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.06596201Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.068180633Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=2.223433ms 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.074984791Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 11:37:20 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.103609291Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=28.62208ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.109079862Z level=info msg="Executing migration" id="add annotations_enabled column" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.118080562Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.99979ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.124055356Z level=info msg="Executing migration" id="add time_selection_enabled column" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.133844131Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.791465ms 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.140513758Z level=info msg="Executing migration" id="delete orphaned public dashboards" 11:37:20 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.140782719Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=266.471µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.144251269Z level=info msg="Executing migration" id="add share column" 11:37:20 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:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.153112719Z level=info msg="Migration successfully executed" id="add share column" duration=8.856269ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.156386737Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.156565768Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=179.021µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.161490285Z level=info msg="Executing migration" id="create file table" 11:37:20 policy-db-migrator | > upgrade 0120-toscatrigger.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.162558221Z level=info msg="Migration successfully executed" id="create file table" duration=1.068416ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.16951277Z level=info msg="Executing migration" id="file table idx: path natural pk" 11:37:20 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.170833158Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.320218ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.175009231Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.176006327Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=996.986µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.180334211Z level=info msg="Executing migration" id="create file_meta table" 11:37:20 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.181142366Z level=info msg="Migration successfully executed" id="create file_meta table" duration=808.245µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.184540115Z level=info msg="Executing migration" id="file table idx: path key" 11:37:20 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.185638131Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.098016ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.189885995Z level=info msg="Executing migration" id="set path collation in file table" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.189949915Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=64.69µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.19450432Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 11:37:20 policy-db-migrator | > upgrade 0140-toscaparameter.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.194570271Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=66.091µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.199670989Z level=info msg="Executing migration" id="managed permissions migration" 11:37:20 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.200162112Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=492.933µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.205490372Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.205683233Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=191.231µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.20862066Z level=info msg="Executing migration" id="RBAC action name migrator" 11:37:20 policy-db-migrator | > upgrade 0150-toscaproperty.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.209850916Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.229326ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.21406653Z level=info msg="Executing migration" id="Add UID column to playlist" 11:37:20 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.222608178Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.540998ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.226253998Z level=info msg="Executing migration" id="Update uid column values in playlist" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.226409269Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=157.361µs 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.230023789Z level=info msg="Executing migration" id="Add index for uid in playlist" 11:37:20 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.231337417Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.313178ms 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.238603588Z level=info msg="Executing migration" id="update group index for alert rules" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.23908672Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=483.993µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.243298724Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.243500415Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=201.391µs 11:37:20 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.246667353Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.247114025Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=446.842µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.251445509Z level=info msg="Executing migration" id="add action column to seed_assignment" 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.260787292Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.341243ms 11:37:20 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.265257877Z level=info msg="Executing migration" id="add scope column to seed_assignment" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.273942275Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.683428ms 11:37:20 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.276894912Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 11:37:20 policy-db-migrator | -------------- 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.277859637Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=964.495µs 11:37:20 policy-db-migrator | 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.281352947Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0100-upgrade.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | select 'upgrade to 1100 completed' as msg 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | msg 11:37:20 policy-db-migrator | upgrade to 1100 completed 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0120-audit_sequence.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 11:37:20 policy-db-migrator | -------------- 11:37:20 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:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 11:37:20 policy-db-migrator | -------------- 11:37:20 policy-db-migrator | 11:37:20 policy-db-migrator | policyadmin: OK: upgrade (1200) 11:37:20 policy-db-migrator | name version 11:37:20 policy-db-migrator | policyadmin 1200 11:37:20 policy-db-migrator | ID script operation from_version to_version tag success atTime 11:37:20 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:41 11:37:20 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:41 11:37:20 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:41 11:37:20 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:41 11:37:20 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:41 11:37:20 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:41 11:37:20 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:41 11:37:20 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:41 11:37:20 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:41 11:37:20 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.372305326Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=90.946529ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.377445204Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.37851013Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.065546ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.384631995Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.385756101Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.123936ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.390002955Z level=info msg="Executing migration" id="add primary key to seed_assigment" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.41767005Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=27.663805ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.4230335Z level=info msg="Executing migration" id="add origin column to seed_assignment" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.431583608Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=8.550398ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.435771911Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.436051243Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=279.692µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.440534478Z level=info msg="Executing migration" id="prevent seeding OnCall access" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.440751739Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=217.731µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.443839956Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.444033297Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=189.961µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.447425406Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.447835049Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=407.083µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.457643294Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.457845875Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=202.501µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.463116394Z level=info msg="Executing migration" id="create folder table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.464019089Z level=info msg="Migration successfully executed" id="create folder table" duration=902.725µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.46763Z level=info msg="Executing migration" id="Add index for parent_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.468924067Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.293777ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.472374626Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.473494183Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.116737ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.478673722Z level=info msg="Executing migration" id="Update folder title length" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.478703422Z level=info msg="Migration successfully executed" id="Update folder title length" duration=31.67µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.481272626Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.482376522Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.101356ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.48561556Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.486688756Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.072676ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.492239098Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.493602985Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.363407ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.500246732Z level=info msg="Executing migration" id="Sync dashboard and folder table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.500712125Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=463.693µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.503932283Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.504159404Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=226.921µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.508344858Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.509982227Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.645099ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.513705238Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.515188116Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.482708ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.519706881Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.520976819Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.269498ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.525204712Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.526330149Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.125407ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.531218136Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.532253272Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.035096ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.537466891Z level=info msg="Executing migration" id="create anon_device table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.538394716Z level=info msg="Migration successfully executed" id="create anon_device table" duration=928.205µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.542759961Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.545025343Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.265992ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.549062146Z level=info msg="Executing migration" id="add index anon_device.updated_at" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.550376203Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.318317ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.554444876Z level=info msg="Executing migration" id="create signing_key table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.555506122Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.062676ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.558549239Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.559650645Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.101166ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.565369247Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.566828125Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.458978ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.573594573Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.573936995Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=344.912µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.577194654Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.586732727Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.534453ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.589822834Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.590610229Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=788.635µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.594929503Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.596766443Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.83601ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.599922111Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.601253938Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.341987ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.608305298Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.609202273Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=896.455µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.617867451Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.619962683Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.096522ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.62302606Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.624212147Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.185647ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.627498595Z level=info msg="Executing migration" id="create sso_setting table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.628746132Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.204807ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.633880251Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.634799266Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=919.965µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.638056905Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.638322096Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=265.811µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.64260082Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.642704191Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=104.471µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.64968134Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.664730514Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=15.042334ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.669032188Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.679846509Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=10.808651ms 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.686089604Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.686562376Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=473.812µs 11:37:20 grafana | logger=migrator t=2024-03-19T11:35:42.690315927Z level=info msg="migrations completed" performed=547 skipped=0 duration=4.168879405s 11:37:20 grafana | logger=sqlstore t=2024-03-19T11:35:42.703430481Z level=info msg="Created default admin" user=admin 11:37:20 grafana | logger=sqlstore t=2024-03-19T11:35:42.703683092Z level=info msg="Created default organization" 11:37:20 grafana | logger=secrets t=2024-03-19T11:35:42.709196073Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 11:37:20 grafana | logger=plugin.store t=2024-03-19T11:35:42.733091317Z level=info msg="Loading plugins..." 11:37:20 grafana | logger=local.finder t=2024-03-19T11:35:42.780513943Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 11:37:20 grafana | logger=plugin.store t=2024-03-19T11:35:42.780555443Z level=info msg="Plugins loaded" count=55 duration=47.464946ms 11:37:20 grafana | logger=query_data t=2024-03-19T11:35:42.783253728Z level=info msg="Query Service initialization" 11:37:20 grafana | logger=live.push_http t=2024-03-19T11:35:42.792755961Z level=info msg="Live Push Gateway initialization" 11:37:20 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:42 11:37:20 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 grafana | logger=ngalert.migration t=2024-03-19T11:35:42.797786189Z level=info msg=Starting 11:37:20 grafana | logger=ngalert.migration t=2024-03-19T11:35:42.798351623Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 11:37:20 grafana | logger=ngalert.migration orgID=1 t=2024-03-19T11:35:42.798908486Z level=info msg="Migrating alerts for organisation" 11:37:20 grafana | logger=ngalert.migration orgID=1 t=2024-03-19T11:35:42.7996753Z level=info msg="Alerts found to migrate" alerts=0 11:37:20 grafana | logger=ngalert.migration t=2024-03-19T11:35:42.801746752Z level=info msg="Completed alerting migration" 11:37:20 grafana | logger=ngalert.state.manager t=2024-03-19T11:35:42.833229458Z level=info msg="Running in alternative execution of Error/NoData mode" 11:37:20 grafana | logger=infra.usagestats.collector t=2024-03-19T11:35:42.834965228Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 11:37:20 grafana | logger=provisioning.datasources t=2024-03-19T11:35:42.836932689Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 11:37:20 grafana | logger=provisioning.alerting t=2024-03-19T11:35:42.851671291Z level=info msg="starting to provision alerting" 11:37:20 grafana | logger=provisioning.alerting t=2024-03-19T11:35:42.851687641Z level=info msg="finished to provision alerting" 11:37:20 grafana | logger=grafanaStorageLogger t=2024-03-19T11:35:42.852160634Z level=info msg="Storage starting" 11:37:20 grafana | logger=ngalert.state.manager t=2024-03-19T11:35:42.853301361Z level=info msg="Warming state cache for startup" 11:37:20 grafana | logger=http.server t=2024-03-19T11:35:42.855651924Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 11:37:20 grafana | logger=ngalert.multiorg.alertmanager t=2024-03-19T11:35:42.855759784Z level=info msg="Starting MultiOrg Alertmanager" 11:37:20 grafana | logger=sqlstore.transactions t=2024-03-19T11:35:42.865176797Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:37:20 grafana | logger=provisioning.dashboard t=2024-03-19T11:35:42.931098916Z level=info msg="starting to provision dashboards" 11:37:20 grafana | logger=ngalert.state.manager t=2024-03-19T11:35:42.935985454Z level=info msg="State cache has been initialized" states=0 duration=82.681043ms 11:37:20 grafana | logger=ngalert.scheduler t=2024-03-19T11:35:42.936058164Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 11:37:20 grafana | logger=ticker t=2024-03-19T11:35:42.936166355Z level=info msg=starting first_tick=2024-03-19T11:35:50Z 11:37:20 grafana | logger=plugins.update.checker t=2024-03-19T11:35:42.954484017Z level=info msg="Update check succeeded" duration=102.624635ms 11:37:20 grafana | logger=grafana.update.checker t=2024-03-19T11:35:42.954632488Z level=info msg="Update check succeeded" duration=99.900419ms 11:37:20 grafana | logger=sqlstore.transactions t=2024-03-19T11:35:43.023525674Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 11:37:20 grafana | logger=sqlstore.transactions t=2024-03-19T11:35:43.034259414Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" 11:37:20 grafana | logger=sqlstore.transactions t=2024-03-19T11:35:43.045246916Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" 11:37:20 grafana | logger=sqlstore.transactions t=2024-03-19T11:35:43.055888696Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" 11:37:20 grafana | logger=sqlstore.transactions t=2024-03-19T11:35:43.120225926Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=4 code="database is locked" 11:37:20 grafana | logger=plugin.signature.key_retriever t=2024-03-19T11:35:43.12101407Z level=error msg="Error downloading plugin manifest keys" error="kv set: database is locked" 11:37:20 grafana | logger=provisioning.dashboard t=2024-03-19T11:35:43.14947284Z level=info msg="finished to provision dashboards" 11:37:20 grafana | logger=grafana-apiserver t=2024-03-19T11:35:43.435323431Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 11:37:20 grafana | logger=grafana-apiserver t=2024-03-19T11:35:43.436072036Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 11:37:20 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:43 11:37:20 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:44 11:37:20 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1903241135410800u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:45 11:37:20 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1903241135410900u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1903241135411000u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1903241135411000u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1903241135411000u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1903241135411000u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1903241135411000u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1903241135411000u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1903241135411000u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1903241135411000u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1903241135411000u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1903241135411100u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1903241135411200u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1903241135411200u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1903241135411200u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1903241135411200u 1 2024-03-19 11:35:46 11:37:20 policy-db-migrator | policyadmin: OK @ 1200 11:37:20 ++ echo 'Tearing down containers...' 11:37:20 Tearing down containers... 11:37:20 ++ docker-compose down -v --remove-orphans 11:37:21 Stopping grafana ... 11:37:21 Stopping policy-api ... 11:37:21 Stopping prometheus ... 11:37:21 Stopping mariadb ... 11:37:22 Stopping grafana ... done 11:37:22 Stopping prometheus ... done 11:37:22 Stopping mariadb ... done 11:37:31 Stopping policy-api ... done 11:37:32 Removing grafana ... 11:37:32 Removing policy-api ... 11:37:32 Removing policy-db-migrator ... 11:37:32 Removing prometheus ... 11:37:32 Removing mariadb ... 11:37:32 Removing prometheus ... done 11:37:32 Removing grafana ... done 11:37:32 Removing policy-db-migrator ... done 11:37:32 Removing policy-api ... done 11:37:32 Removing mariadb ... done 11:37:32 Removing network compose_default 11:37:32 ++ cd /w/workspace/policy-api-london-project-csit-api 11:37:32 + load_set 11:37:32 + _setopts=hxB 11:37:32 ++ echo braceexpand:hashall:interactive-comments:xtrace 11:37:32 ++ tr : ' ' 11:37:32 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:32 + set +o braceexpand 11:37:32 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:32 + set +o hashall 11:37:32 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:32 + set +o interactive-comments 11:37:32 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 11:37:32 + set +o xtrace 11:37:32 ++ echo hxB 11:37:32 ++ sed 's/./& /g' 11:37:32 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:32 + set +h 11:37:32 + for i in $(echo "$_setopts" | sed 's/./& /g') 11:37:32 + set +x 11:37:32 + [[ -n /tmp/tmp.amAU1KACYx ]] 11:37:32 + rsync -av /tmp/tmp.amAU1KACYx/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api 11:37:32 sending incremental file list 11:37:32 ./ 11:37:32 log.html 11:37:32 output.xml 11:37:32 report.html 11:37:32 testplan.txt 11:37:32 11:37:32 sent 1,347,247 bytes received 95 bytes 2,694,684.00 bytes/sec 11:37:32 total size is 1,346,597 speedup is 1.00 11:37:32 + rm -rf /w/workspace/policy-api-london-project-csit-api/models 11:37:32 + exit 0 11:37:32 $ ssh-agent -k 11:37:32 unset SSH_AUTH_SOCK; 11:37:32 unset SSH_AGENT_PID; 11:37:32 echo Agent pid 2071 killed; 11:37:32 [ssh-agent] Stopped. 11:37:32 Robot results publisher started... 11:37:32 INFO: Checking test criticality is deprecated and will be dropped in a future release! 11:37:32 -Parsing output xml: 11:37:32 Done! 11:37:32 WARNING! Could not find file: **/log.html 11:37:32 WARNING! Could not find file: **/report.html 11:37:32 -Copying log files to build dir: 11:37:33 Done! 11:37:33 -Assigning results to build: 11:37:33 Done! 11:37:33 -Checking thresholds: 11:37:33 Done! 11:37:33 Done publishing Robot results. 11:37:33 [PostBuildScript] - [INFO] Executing post build scripts. 11:37:33 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8643458674010330349.sh 11:37:33 ---> sysstat.sh 11:37:33 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3104584664507243318.sh 11:37:33 ---> package-listing.sh 11:37:33 ++ facter osfamily 11:37:33 ++ tr '[:upper:]' '[:lower:]' 11:37:33 + OS_FAMILY=debian 11:37:33 + workspace=/w/workspace/policy-api-london-project-csit-api 11:37:33 + START_PACKAGES=/tmp/packages_start.txt 11:37:33 + END_PACKAGES=/tmp/packages_end.txt 11:37:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:37:33 + PACKAGES=/tmp/packages_start.txt 11:37:33 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:37:33 + PACKAGES=/tmp/packages_end.txt 11:37:33 + case "${OS_FAMILY}" in 11:37:33 + dpkg -l 11:37:33 + grep '^ii' 11:37:33 + '[' -f /tmp/packages_start.txt ']' 11:37:33 + '[' -f /tmp/packages_end.txt ']' 11:37:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:37:33 + '[' /w/workspace/policy-api-london-project-csit-api ']' 11:37:33 + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ 11:37:33 + 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:33 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1387618276373805158.sh 11:37:33 ---> capture-instance-metadata.sh 11:37:33 Setup pyenv: 11:37:33 system 11:37:33 3.8.13 11:37:33 3.9.13 11:37:33 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-PxPL from file:/tmp/.os_lf_venv 11:37:35 lf-activate-venv(): INFO: Installing: lftools 11:37:45 lf-activate-venv(): INFO: Adding /tmp/venv-PxPL/bin to PATH 11:37:45 INFO: Running in OpenStack, capturing instance metadata 11:37:46 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5955070022420423164.sh 11:37:46 provisioning config files... 11:37:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config7901319756196833914tmp 11:37:46 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:37:46 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:37:46 [EnvInject] - Injecting environment variables from a build step. 11:37:46 [EnvInject] - Injecting as environment variables the properties content 11:37:46 SERVER_ID=logs 11:37:46 11:37:46 [EnvInject] - Variables injected successfully. 11:37:46 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1964638325983137202.sh 11:37:46 ---> create-netrc.sh 11:37:46 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16821148215720236540.sh 11:37:46 ---> python-tools-install.sh 11:37:46 Setup pyenv: 11:37:46 system 11:37:46 3.8.13 11:37:46 3.9.13 11:37:46 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:46 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-PxPL from file:/tmp/.os_lf_venv 11:37:48 lf-activate-venv(): INFO: Installing: lftools 11:37:56 lf-activate-venv(): INFO: Adding /tmp/venv-PxPL/bin to PATH 11:37:56 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14422705871037686209.sh 11:37:56 ---> sudo-logs.sh 11:37:56 Archiving 'sudo' log.. 11:37:56 [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2731417736180721965.sh 11:37:56 ---> job-cost.sh 11:37:56 Setup pyenv: 11:37:56 system 11:37:56 3.8.13 11:37:56 3.9.13 11:37:56 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:37:57 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-PxPL from file:/tmp/.os_lf_venv 11:37:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:38:03 lf-activate-venv(): INFO: Adding /tmp/venv-PxPL/bin to PATH 11:38:03 INFO: No Stack... 11:38:03 INFO: Retrieving Pricing Info for: v3-standard-8 11:38:03 INFO: Archiving Costs 11:38:03 [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins8697573045921798445.sh 11:38:03 ---> logs-deploy.sh 11:38:03 Setup pyenv: 11:38:03 system 11:38:03 3.8.13 11:38:03 3.9.13 11:38:03 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) 11:38:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-PxPL from file:/tmp/.os_lf_venv 11:38:05 lf-activate-venv(): INFO: Installing: lftools 11:38:13 lf-activate-venv(): INFO: Adding /tmp/venv-PxPL/bin to PATH 11:38:13 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/305 11:38:13 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:38:14 Archives upload complete. 11:38:15 INFO: archiving logs to Nexus 11:38:15 ---> uname -a: 11:38:15 Linux prd-ubuntu1804-docker-8c-8g-14296 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:38:15 11:38:15 11:38:15 ---> lscpu: 11:38:15 Architecture: x86_64 11:38:15 CPU op-mode(s): 32-bit, 64-bit 11:38:15 Byte Order: Little Endian 11:38:15 CPU(s): 8 11:38:15 On-line CPU(s) list: 0-7 11:38:15 Thread(s) per core: 1 11:38:15 Core(s) per socket: 1 11:38:15 Socket(s): 8 11:38:15 NUMA node(s): 1 11:38:15 Vendor ID: AuthenticAMD 11:38:15 CPU family: 23 11:38:15 Model: 49 11:38:15 Model name: AMD EPYC-Rome Processor 11:38:15 Stepping: 0 11:38:15 CPU MHz: 2800.000 11:38:15 BogoMIPS: 5600.00 11:38:15 Virtualization: AMD-V 11:38:15 Hypervisor vendor: KVM 11:38:15 Virtualization type: full 11:38:15 L1d cache: 32K 11:38:15 L1i cache: 32K 11:38:15 L2 cache: 512K 11:38:15 L3 cache: 16384K 11:38:15 NUMA node0 CPU(s): 0-7 11:38:15 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:38:15 11:38:15 11:38:15 ---> nproc: 11:38:15 8 11:38:15 11:38:15 11:38:15 ---> df -h: 11:38:15 Filesystem Size Used Avail Use% Mounted on 11:38:15 udev 16G 0 16G 0% /dev 11:38:15 tmpfs 3.2G 708K 3.2G 1% /run 11:38:15 /dev/vda1 155G 12G 144G 8% / 11:38:15 tmpfs 16G 0 16G 0% /dev/shm 11:38:15 tmpfs 5.0M 0 5.0M 0% /run/lock 11:38:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:38:15 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:38:15 tmpfs 3.2G 0 3.2G 0% /run/user/1001 11:38:15 11:38:15 11:38:15 ---> free -m: 11:38:15 total used free shared buff/cache available 11:38:15 Mem: 32167 841 27422 0 3902 30869 11:38:15 Swap: 1023 0 1023 11:38:15 11:38:15 11:38:15 ---> ip addr: 11:38:15 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:38:15 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:38:15 inet 127.0.0.1/8 scope host lo 11:38:15 valid_lft forever preferred_lft forever 11:38:15 inet6 ::1/128 scope host 11:38:15 valid_lft forever preferred_lft forever 11:38:15 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:38:15 link/ether fa:16:3e:95:74:5c brd ff:ff:ff:ff:ff:ff 11:38:15 inet 10.30.107.155/23 brd 10.30.107.255 scope global dynamic ens3 11:38:15 valid_lft 86048sec preferred_lft 86048sec 11:38:15 inet6 fe80::f816:3eff:fe95:745c/64 scope link 11:38:15 valid_lft forever preferred_lft forever 11:38:15 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 11:38:15 link/ether 02:42:9c:d2:53:8f brd ff:ff:ff:ff:ff:ff 11:38:15 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:38:15 valid_lft forever preferred_lft forever 11:38:15 11:38:15 11:38:15 ---> sar -b -r -n DEV: 11:38:15 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-14296) 03/19/24 _x86_64_ (8 CPU) 11:38:15 11:38:15 11:32:27 LINUX RESTART (8 CPU) 11:38:15 11:38:15 11:33:01 tps rtps wtps bread/s bwrtn/s 11:38:15 11:34:01 144.74 55.96 88.79 3273.83 63664.83 11:38:15 11:35:01 151.40 22.56 128.84 2699.50 67516.96 11:38:15 11:36:01 387.99 13.25 374.74 828.40 78976.07 11:38:15 11:37:01 4.63 0.53 4.10 43.33 93.70 11:38:15 11:38:01 51.56 1.40 50.16 116.91 3645.48 11:38:15 Average: 148.06 18.74 129.32 1392.56 42781.62 11:38:15 11:38:15 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:38:15 11:34:01 30147416 31711604 2791804 8.48 67280 1809208 1412256 4.16 857904 1646076 153320 11:38:15 11:35:01 29742828 31715220 3196392 9.70 89368 2176424 1404368 4.13 909012 1962260 156736 11:38:15 11:36:01 26931432 30547100 6007788 18.24 127000 3668640 4544516 13.37 2197688 3363236 424 11:38:15 11:37:01 26905360 30498268 6033860 18.32 127176 3670636 4516092 13.29 2248896 3337672 120 11:38:15 11:38:01 28087480 31614988 4851740 14.73 128684 3637764 1479712 4.35 1166108 3265636 1284 11:38:15 Average: 28362903 31217436 4576317 13.89 107902 2992534 2671389 7.86 1475922 2714976 62377 11:38:15 11:38:15 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:38:15 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:15 11:34:01 lo 1.47 1.47 0.16 0.16 0.00 0.00 0.00 0.00 11:38:15 11:34:01 ens3 355.31 236.42 1504.01 59.05 0.00 0.00 0.00 0.00 11:38:15 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:15 11:35:01 lo 4.67 4.67 0.44 0.44 0.00 0.00 0.00 0.00 11:38:15 11:35:01 ens3 68.28 53.17 856.09 9.61 0.00 0.00 0.00 0.00 11:38:15 11:36:01 vethac75841 49.88 60.99 19.67 16.42 0.00 0.00 0.00 0.00 11:38:15 11:36:01 veth464bdfa 23.73 21.71 12.01 16.85 0.00 0.00 0.00 0.00 11:38:15 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:15 11:36:01 veth474d32d 0.00 0.18 0.00 0.01 0.00 0.00 0.00 0.00 11:38:15 11:37:01 vethac75841 69.74 88.32 100.01 28.29 0.00 0.00 0.00 0.01 11:38:15 11:37:01 veth464bdfa 91.37 73.39 34.67 102.25 0.00 0.00 0.00 0.01 11:38:15 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:15 11:37:01 veth474d32d 0.17 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:38:15 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:15 11:38:01 lo 33.98 33.98 10.40 10.40 0.00 0.00 0.00 0.00 11:38:15 11:38:01 ens3 771.44 514.40 11074.54 109.20 0.00 0.00 0.00 0.00 11:38:15 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:15 Average: lo 6.04 6.04 2.02 2.02 0.00 0.00 0.00 0.00 11:38:15 Average: ens3 151.77 100.63 2201.04 21.52 0.00 0.00 0.00 0.00 11:38:15 11:38:15 11:38:15 ---> sar -P ALL: 11:38:15 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-14296) 03/19/24 _x86_64_ (8 CPU) 11:38:15 11:38:15 11:32:27 LINUX RESTART (8 CPU) 11:38:15 11:38:15 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:38:15 11:34:01 all 11.39 0.00 0.98 4.12 0.04 83.47 11:38:15 11:34:01 0 8.91 0.00 0.82 0.40 0.03 89.84 11:38:15 11:34:01 1 6.44 0.00 0.58 0.27 0.03 92.68 11:38:15 11:34:01 2 4.61 0.00 0.63 0.97 0.03 93.76 11:38:15 11:34:01 3 2.83 0.00 0.40 0.08 0.02 96.66 11:38:15 11:34:01 4 5.98 0.00 1.12 0.45 0.03 92.42 11:38:15 11:34:01 5 28.92 0.00 2.21 16.23 0.07 52.57 11:38:15 11:34:01 6 9.16 0.00 0.65 13.68 0.05 76.46 11:38:15 11:34:01 7 24.27 0.00 1.44 0.88 0.05 73.36 11:38:15 11:35:01 all 10.05 0.00 0.77 4.07 0.03 85.08 11:38:15 11:35:01 0 2.29 0.00 0.37 0.02 0.02 97.31 11:38:15 11:35:01 1 17.94 0.00 1.20 0.85 0.03 79.97 11:38:15 11:35:01 2 5.54 0.00 0.88 0.77 0.03 92.77 11:38:15 11:35:01 3 0.92 0.00 0.20 0.42 0.02 98.45 11:38:15 11:35:01 4 6.05 0.00 0.62 0.58 0.02 92.73 11:38:15 11:35:01 5 11.23 0.00 0.65 6.11 0.03 81.98 11:38:15 11:35:01 6 10.38 0.00 0.90 21.82 0.05 66.84 11:38:15 11:35:01 7 26.04 0.00 1.27 2.08 0.05 70.56 11:38:15 11:36:01 all 18.27 0.00 4.42 5.35 0.11 71.85 11:38:15 11:36:01 0 17.03 0.00 4.71 1.01 0.14 77.11 11:38:15 11:36:01 1 19.23 0.00 4.11 1.61 0.10 74.95 11:38:15 11:36:01 2 15.07 0.00 4.89 2.13 0.08 77.83 11:38:15 11:36:01 3 14.51 0.00 4.01 22.20 0.08 59.21 11:38:15 11:36:01 4 21.69 0.00 5.08 0.54 0.10 72.58 11:38:15 11:36:01 5 23.36 0.00 5.04 12.53 0.12 58.95 11:38:15 11:36:01 6 13.71 0.00 3.51 0.83 0.10 81.85 11:38:15 11:36:01 7 21.57 0.00 4.03 2.01 0.12 72.27 11:38:15 11:37:01 all 4.48 0.00 0.37 0.01 0.02 95.11 11:38:15 11:37:01 0 5.82 0.00 0.23 0.02 0.02 93.91 11:38:15 11:37:01 1 4.70 0.00 0.43 0.05 0.00 94.82 11:38:15 11:37:01 2 4.50 0.00 0.38 0.02 0.02 95.08 11:38:15 11:37:01 3 4.18 0.00 0.53 0.02 0.02 95.25 11:38:15 11:37:01 4 3.67 0.00 0.20 0.02 0.02 96.10 11:38:15 11:37:01 5 4.89 0.00 0.47 0.00 0.03 94.60 11:38:15 11:37:01 6 5.08 0.00 0.38 0.00 0.03 94.50 11:38:15 11:37:01 7 3.02 0.00 0.37 0.00 0.02 96.60 11:38:15 11:38:01 all 6.49 0.00 0.60 0.49 0.03 92.39 11:38:15 11:38:01 0 2.24 0.00 0.47 0.87 0.02 96.41 11:38:15 11:38:01 1 2.25 0.00 0.62 0.82 0.02 96.30 11:38:15 11:38:01 2 1.15 0.00 0.47 0.15 0.03 98.20 11:38:15 11:38:01 3 16.65 0.00 0.68 0.80 0.03 81.83 11:38:15 11:38:01 4 17.50 0.00 0.95 0.63 0.05 80.87 11:38:15 11:38:01 5 4.65 0.00 0.57 0.05 0.05 94.68 11:38:15 11:38:01 6 3.48 0.00 0.57 0.10 0.02 95.83 11:38:15 11:38:01 7 4.01 0.00 0.46 0.51 0.02 94.99 11:38:15 Average: all 10.12 0.00 1.42 2.80 0.04 85.61 11:38:15 Average: 0 7.23 0.00 1.31 0.46 0.04 90.95 11:38:15 Average: 1 10.10 0.00 1.39 0.72 0.04 87.76 11:38:15 Average: 2 6.15 0.00 1.44 0.80 0.04 91.56 11:38:15 Average: 3 7.80 0.00 1.16 4.66 0.03 86.34 11:38:15 Average: 4 10.96 0.00 1.59 0.44 0.04 86.96 11:38:15 Average: 5 14.59 0.00 1.78 6.97 0.06 76.59 11:38:15 Average: 6 8.35 0.00 1.20 7.29 0.05 83.12 11:38:15 Average: 7 15.75 0.00 1.51 1.10 0.05 81.60 11:38:15 11:38:15 11:38:15